Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jan 2023 08:56:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 255722] [meta] Mk/Uses/python.mk: PEP-517 (pyproject.toml) Support
Message-ID:  <bug-255722-21822-XijpeLquyL@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-255722-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-255722-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255722

--- Comment #36 from Nuno Teixeira <eduardo@FreeBSD.org> ---
Working on updating audio/py-gtts (https://github.com/pndurette/gTTS) with:

---
USE_PYTHON=3D     pep517 concurrent autoplist

[1] BUILD_DEPENDS=3D  ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FL=
AVOR}
\
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR}
---

[1] pyproject.toml:
---
[build-system]
requires =3D ["setuptools>=3D61", "wheel"]
build-backend =3D "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:
---
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase=
: stage          >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D=3D=3D env: DEVELOPER_MODE=3Dyes STRICT_DEPENDS=3Dyes USER=3Dnobod=
y UID=3D65534
GID=3D65534
=3D=3D=3D>  Staging for py39-gtts-2.3.0
=3D=3D=3D>   py39-gtts-2.3.0 depends on package: py39-click>0 - found
=3D=3D=3D>   py39-gtts-2.3.0 depends on package: py39-six>0 - found
=3D=3D=3D>   py39-gtts-2.3.0 depends on package: py39-requests>0 - found
=3D=3D=3D>   py39-gtts-2.3.0 depends on file: /usr/local/bin/python3.9 - fo=
und
=3D=3D=3D>   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 =3D 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-*.wh=
l'
---

Any clues?

--=20
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255722-21822-XijpeLquyL>