[Bug 255722] [meta] Mk/Uses/python.mk: PEP-517 (pyproject.toml) Support
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 11 Jan 2023 08:56:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255722
--- Comment #36 from Nuno Teixeira <eduardo@FreeBSD.org> ---
Working on updating audio/py-gtts (https://github.com/pndurette/gTTS) with:
---
USE_PYTHON= pep517 concurrent autoplist
[1] BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
\
${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR}
---
[1] pyproject.toml:
---
[build-system]
requires = ["setuptools>=61", "wheel"]
build-backend = "setuptools.build_meta"
---
Builds fine:
---
(...)
adding 'gTTS-2.3.0.dist-info/RECORD'
removing build/bdist.freebsd-13.1-RELEASE-p5-amd64/wheel
Successfully built gTTS-2.3.0-py3-none-any.whl
---
And fails on stage:
---
=======================<phase: stage >============================
===== env: DEVELOPER_MODE=yes STRICT_DEPENDS=yes USER=nobody UID=65534
GID=65534
===> Staging for py39-gtts-2.3.0
===> py39-gtts-2.3.0 depends on package: py39-click>0 - found
===> py39-gtts-2.3.0 depends on package: py39-six>0 - found
===> py39-gtts-2.3.0 depends on package: py39-requests>0 - found
===> py39-gtts-2.3.0 depends on file: /usr/local/bin/python3.9 - found
===> Generating temporary packing list
Traceback (most recent call last):
File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/local/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.9/site-packages/installer/__main__.py", line 85,
in <module>
_main(sys.argv[1:], "python -m installer")
File "/usr/local/lib/python3.9/site-packages/installer/__main__.py", line 73,
in _main
with WheelFile.open(args.wheel) as source:
File "/usr/local/lib/python3.9/contextlib.py", line 119, in __enter__
return next(self.gen)
File "/usr/local/lib/python3.9/site-packages/installer/sources.py", line 122,
in open
with zipfile.ZipFile(path) as f:
File "/usr/local/lib/python3.9/zipfile.py", line 1248, in __init__
self.fp = io.open(file, filemode)
FileNotFoundError: [Errno 2] No such file or directory:
'/wrkdirs/usr/ports/audio/py-gtts/work-py39/gTTS-2.3.0/dist/gtts-2.3.0-*.whl'
---
Any clues?
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.