We need to migrate python-terminaltables 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. Thus, specifying setuptools as the build backend is simply wrong. The current release of python-terminaltables still uses poetry rather than poetry-core as a build backend. poetry is much more heavyweight, it would need to pull in a large number of build dependencies. Therefore, include an upstream patch to switch from poetry to poetry-core. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> [Arnout: use a patch instead of sed] Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
16 lines
664 B
Makefile
16 lines
664 B
Makefile
################################################################################
|
|
#
|
|
# python-terminaltables
|
|
#
|
|
################################################################################
|
|
|
|
PYTHON_TERMINALTABLES_VERSION = 3.1.10
|
|
PYTHON_TERMINALTABLES_SOURCE = terminaltables-$(PYTHON_TERMINALTABLES_VERSION).tar.gz
|
|
PYTHON_TERMINALTABLES_SITE = https://files.pythonhosted.org/packages/f5/fc/0b73d782f5ab7feba8d007573a3773c58255f223c5940a7b7085f02153c3
|
|
PYTHON_TERMINALTABLES_SETUP_TYPE = pep517
|
|
PYTHON_TERMINALTABLES_LICENSE = MIT
|
|
PYTHON_TERMINALTABLES_LICENSE_FILES = LICENSE
|
|
PYTHON_TERMINALTABLES_DEPENDENCIES = host-python-poetry-core
|
|
|
|
$(eval $(python-package))
|