[Bug 274643] Mk/Uses/python.mk: Add PEP517_WHEEL_VERSION to allow custom wheel versions
Date: Sun, 22 Oct 2023 16:59:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274643 --- Comment #5 from Charlie Li <vishwin@freebsd.org> --- Some mismatches I've found after modifying USE_PYTHON=distutils to use the wheel setup of USE_PYTHON=pep517: * devel/py-game: PORTNAME=game but the Python package name is pygame * devel/py-dateutil: PORTNAME=dateutil but the Python package name is python-dateutil * security/py-openssl: PORTNAME=openssl but the Python package name is pyOpenSSL * devel/py-yaml: PORTNAME=yaml but the Python package name is PyYAML There was another port that used a snapshot reporting a different Python package version than specified in PORTVERSION/DISTVERSION, can't remember what it was but it may have since been updated. Regardless, this is a problem. Another game package exists on PyPI that has nothing to do with pygame, and due to little moderation on PyPI, the other cases are easily typosquatted. This is not to mention that wheels will fail to build when dependencies are not satisfied, which need to match the Python package names, however much we may disagree with them. -- You are receiving this mail because: You are on the CC list for the bug.