Date: Mon, 26 Feb 2024 01:37:29 +0000 From: Lexi Winter <lexi@le-fay.org> To: python@freebsd.org Subject: PEP517 - can't build port Message-ID: <ZdvrWW-LRgIA2EV8@ilythia.eden.le-fay.org>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
hi,
i'm trying to update a port (net/py-pychromecast), whose new release
uses PEP517.
this is my Makefile:
PORTNAME= PyChromecast
DISTVERSION= 14.0.0
CATEGORIES= net python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= lexi.freebsd@le-fay.org
COMMENT= Python module to talk to Google Chromecast
WWW= https://pypi.org/project/PyChromecast/
LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}protobuf>4.25.1:devel/py-protobuf@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}zeroconf>0.25.1:net/py-zeroconf@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}casttube>0.2.0:net/py-casttube@${PY_FLAVOR}
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist pep517
.include <bsd.port.mk>
this is the error i'm getting:
% make stage
===> Building for py311-PyChromecast-14.0.0
* Getting build dependencies for wheel...
/usr/local/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:104: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*.
warnings.warn(msg, _BetaConfiguration)
running egg_info
writing PyChromecast.egg-info/PKG-INFO
writing dependency_links to PyChromecast.egg-info/dependency_links.txt
writing requirements to PyChromecast.egg-info/requires.txt
writing top-level names to PyChromecast.egg-info/top_level.txt
reading manifest file 'PyChromecast.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.py[co]' found under directory '*'
adding license file 'LICENSE'
writing manifest file 'PyChromecast.egg-info/SOURCES.txt'
ERROR Missing dependencies:
setuptools~=65.6
wheel~=0.37.1
*** Error code 1
Stop.
make: stopped in /src/freebsd/ports/net-py-chromecast/net/py-pychromecast
i don't understand this error, since i've clearly specified the
dependencies in the Makefile. could someone please let me know what i
missed?
thanks, lexi.
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
iQGzBAABCAAdFiEEuwt6MaPcv/+Mo+ftDHqbqZ41x5kFAmXb61UACgkQDHqbqZ41
x5l6kgv9GjmOOs9H3DEN1RVzEQJ1bl8VW/HNP6dMc3bpVlPUg99C8zQ00CZZuhSz
9Zx+Tl56l9tg8++nVPx5zvkogIRFwUvcCbt+0bILpAxF0JMwUB7BuryzEuy3Q0L/
+mO8YCZJd7j2hbBnn81xkvxSH3L6P2fewXuh/VjIpOhfJvx7dRUchsI/ayvQ88fL
62jWU0jnZcWZvupjdgWhsQ/kJAHkUlU6aFy5Uj7QubplNSGL+kC5hZ2bRk8oUJbI
TUTT3xnZrp9VDc58QKDRTjx5xQ1KERvY0W+hoQQxnhTb0ed+ZljLQodXrXTOP5Yp
cW/udyNsQwPDR97IWiesS1lLSri4V76KwMBGnh72OQY8Efe5qRnPecbCtMQ3wfa5
tnpytpIwagJAFQfFuYP7jIoVU9WYVbhKzXkQP3pXYwwctGc2WRPzv+lOwPaltXDi
XA2qZ6Xswwv+xRi6GYyRQlI3mc56Fp3l/qDvj+jgS2liE0rj9UmXzzwHkhLonIT0
zbAHvT7a
=At9J
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZdvrWW-LRgIA2EV8>
