PEP517 - can't build port
- Reply: Lexi Winter : "Re: PEP517 - can't build port"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 26 Feb 2024 01:37:29 UTC
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.