Hi.
I have following net/py-aiomqtt/Makefile so far:
--8<--
COMMENT = async MQTT Python client library
MODPY_DISTV = 2.3.0
DISTNAME = aiomqtt-${MODPY_DISTV}
PKGNAME = py-${DISTNAME}
CATEGORIES = net
# BSD
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_PYBUILD = poetry-core
MODPY_PI = Yes
.include <bsd.port.mk>
-->8--
however it fails with:
$ make build
===> Building for py3-aiomqtt-2.3.0
* Getting build dependencies for wheel...
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/pyproject_hooks/_impl.py", line 402, in _call_hook
raise BackendUnavailable(
pyproject_hooks._impl.BackendUnavailable: Cannot import 'poetry_dynamic_versioning.backend'
ERROR Backend 'poetry_dynamic_versioning.backend' is not available.
it looks above comes from pyproject.toml file:
# sed -ne '/build-system/,/^$/p' pyproject.toml
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0"]
build-backend = "poetry_dynamic_versioning.backend"
Does it mean I need to also have in Ports `poetry-dynamic-versioning`?
--
Regards,
Mikolaj
No comments:
Post a Comment