package/python-dbus-fast: migrate to poetry core pep517 build backend
We need to migrate python-dbus-fast to the pep517 poetry-core backend as setuptools is not supported when building with a pep517 frontend. This package currently builds using setuptools as we do not yet use setuptools with a pep517 build frontend. The package contains a setuptools fallback which only can be used when using setuptools without a pep517 frontend as the pep517 frontend will only use the build backend specified in the package pyproject.toml which is poetry-core and not setuptools. We do need to additinally keep a dependency on host-python-setuptools as that is specified as an additional build requirement. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
parent
0a71e241ba
commit
9307fca067
@ -7,10 +7,13 @@
|
||||
PYTHON_DBUS_FAST_VERSION = 2.12.0
|
||||
PYTHON_DBUS_FAST_SOURCE = dbus_fast-$(PYTHON_DBUS_FAST_VERSION).tar.gz
|
||||
PYTHON_DBUS_FAST_SITE = https://files.pythonhosted.org/packages/f5/8c/220fcbe4337b842d730d5752f207fc8efd3a02405c71c329e61218e947b8
|
||||
PYTHON_DBUS_FAST_SETUP_TYPE = setuptools
|
||||
PYTHON_DBUS_FAST_SETUP_TYPE = pep517
|
||||
PYTHON_DBUS_FAST_LICENSE = MIT
|
||||
PYTHON_DBUS_FAST_LICENSE_FILES = LICENSE
|
||||
PYTHON_DBUS_FAST_ENV = REQUIRE_CYTHON=1
|
||||
PYTHON_DBUS_FAST_DEPENDENCIES = host-python-cython
|
||||
PYTHON_DBUS_FAST_DEPENDENCIES = \
|
||||
host-python-cython \
|
||||
host-python-poetry-core \
|
||||
host-python-setuptools
|
||||
|
||||
$(eval $(python-package))
|
||||
|
Loading…
Reference in New Issue
Block a user