Files
rpi-buildroot/package/python-dnspython/python-dnspython.mk
James Hilliard bc0e7c275f package/python-dnspython: migrate to poetry core pep517 build backend
We need to migrate python-dnspython 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.

setuptools-scm is not mentioned in pyproject.toml (only in setup.cfg),
so not needed as a dependency when using poetry-core.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
2024-04-01 22:12:39 +02:00

18 lines
705 B
Makefile

################################################################################
#
# python-dnspython
#
################################################################################
PYTHON_DNSPYTHON_VERSION = 2.4.2
PYTHON_DNSPYTHON_SOURCE = dnspython-$(PYTHON_DNSPYTHON_VERSION).tar.gz
PYTHON_DNSPYTHON_SITE = https://files.pythonhosted.org/packages/65/2d/372a20e52a87b2ba0160997575809806111a72e18aa92738daccceb8d2b9
PYTHON_DNSPYTHON_LICENSE = ISC
PYTHON_DNSPYTHON_LICENSE_FILES = LICENSE
PYTHON_DNSPYTHON_SETUP_TYPE = pep517
PYTHON_DNSPYTHON_DEPENDENCIES = host-python-poetry-core
HOST_PYTHON_DNSPYTHON_DEPENDENCIES = host-python-poetry-core
$(eval $(python-package))
$(eval $(host-python-package))