[Bug 268893] Mk/Uses/python.mk: need a way to specify wheel name != PORTNAME
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268893] Mk/Uses/python.mk: need a way to specify wheel name != PORTNAME"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268893] Mk/Uses/python.mk: need a way to specify wheel name != PORTNAME"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268893] Mk/Uses/python.mk: need a way to specify wheel name != PORTNAME"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268893] Mk/Uses/python.mk: need a way to specify wheel name != PORTNAME"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268893] Mk/Uses/python.mk: need a way to specify wheel name != PORTNAME"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268893] Mk/Uses/python.mk: need a way to specify wheel name != PORTNAME"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268893] Mk/Uses/python.mk: need a way to specify wheel name != PORTNAME"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268893] Mk/Uses/python.mk: need a way to specify wheel name != PORTNAME"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268893] Mk/Uses/python.mk: need a way to specify wheel name != PORTNAME"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268893] Mk/Uses/python.mk: need a way to specify wheel name != PORTNAME"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268893] Mk/Uses/python.mk: need a way to specify wheel name != PORTNAME"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268893] Mk/Uses/python.mk: need a way to specify wheel name != PORTNAME"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268893] Mk/Uses/python.mk: need a way to specify wheel name != PORTNAME"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268893] Mk/Uses/python.mk: need a way to specify wheel name != PORTNAME"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268893] Mk/Uses/python.mk: need a way to specify wheel name != PORTNAME"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268893] Mk/Uses/python.mk: need a way to specify wheel name != PORTNAME"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268893] Mk/Uses/python.mk: need a way to specify wheel name != PORTNAME"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268893] Mk/Uses/python.mk: need a way to specify wheel name != PORTNAME"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268893] Mk/Uses/python.mk: need a way to specify wheel name != PORTNAME"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268893] Mk/Uses/python.mk: need a way to specify wheel name != PORTNAME"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268893] Mk/Uses/python.mk: need a way to specify wheel name != PORTNAME"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268893] Mk/Uses/python.mk: need a way to specify wheel name != PORTNAME"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268893] Mk/Uses/python.mk: need a way to specify wheel name != PORTNAME"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268893] Mk/Uses/python.mk: need a way to specify wheel name != PORTNAME"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268893] Mk/Uses/python.mk: need a way to specify wheel name != PORTNAME"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268893] Mk/Uses/python.mk: need a way to specify wheel name != PORTNAME"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268893] Mk/Uses/python.mk: need a way to specify wheel name != PORTNAME"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268893] Mk/Uses/python.mk: need a way to specify wheel name != PORTNAME"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268893] Mk/Uses/python.mk: need a way to specify wheel name != PORTNAME"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268893] Mk/Uses/python.mk: need a way to specify wheel name != PORTNAME"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268893] Mk/Uses/python.mk: need a way to specify wheel name != PORTNAME"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 11 Jan 2023 19:01:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268893 Bug ID: 268893 Summary: Mk/Uses/python.mk: need a way to specify wheel name != PORTNAME Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Ports Framework Assignee: portmgr@FreeBSD.org Reporter: amdmi3@FreeBSD.org CC: ports-bugs@FreeBSD.org I've decided to give pep517 support a try by converting one of my ports (devel/py-pytest-asyncio) which no longer provides setup.py. I've run into an installation problem, as the wheel name (pytest_asyncio) appears to be different from the module/port name (which is pytest-asyncio, as mentioned in setup.cfg), while the framework blindly uses PORTNAME. This happens: ``` ===> Building for py39-pytest-asyncio-0.20.3 ... Successfully built pytest_asyncio-0.20.3-py3-none-any.whl ... ===> Generating temporary packing list ... FileNotFoundError: [Errno 2] No such file or directory: '/work/usr/ports/devel/py-pytest-asyncio/work-py39/pytest-asyncio-0.20.3/dist/pytest-asyncio-0.20.3-*.whl' ``` I'm not sure where the name mangling happens, but our framework [does](https://github.com/freebsd/freebsd-ports/blob/a61f6ab3b67be72b81ab5b0099f08fd1f95e605e/Mk/Uses/python.mk#L655) name mangling for egg names, so I assume a similar thing is required here. See attached a patch that converts py-pytest-asyncio to pep517 and a patch that fixes the framework for it. The latter is likely incomplete (may need to use wheel name in more places and may need similar handling for the version). -- You are receiving this mail because: You are on the CC list for the bug.