package/python-iso8601: migrate to poetry core pep517 build backend

We need to migrate python-iso8601 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.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
James Hilliard 2024-03-30 18:41:24 -06:00 committed by Arnout Vandecappelle
parent 964712550d
commit 9755f7a4aa

View File

@ -7,8 +7,9 @@
PYTHON_ISO8601_VERSION = 2.1.0
PYTHON_ISO8601_SOURCE = iso8601-$(PYTHON_ISO8601_VERSION).tar.gz
PYTHON_ISO8601_SITE = https://files.pythonhosted.org/packages/b9/f3/ef59cee614d5e0accf6fd0cbba025b93b272e626ca89fb70a3e9187c5d15
PYTHON_ISO8601_SETUP_TYPE = setuptools
PYTHON_ISO8601_SETUP_TYPE = pep517
PYTHON_ISO8601_LICENSE = MIT
PYTHON_ISO8601_LICENSE_FILES = LICENSE
PYTHON_ISO8601_DEPENDENCIES = host-python-poetry-core
$(eval $(python-package))