kumquat-buildroot/package/python-packaging/python-packaging.mk
Thomas Petazzoni 4f5ce3ad2c package/python-packaging: fix host variant
The host variant of python-packaging was added in commit
4cc445fd5f, but has two missing things:

- It's a python3 only package, so it should have
  HOST_PYTHON_PACKAGING_NEEDS_HOST_PYTHON = python3

- It depends on the pyparsing module, so it should have a dependency
  on it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-01-09 00:08:39 +01:00

18 lines
750 B
Makefile

################################################################################
#
# python-packaging
#
################################################################################
PYTHON_PACKAGING_VERSION = 21.0
PYTHON_PACKAGING_SOURCE = packaging-$(PYTHON_PACKAGING_VERSION).tar.gz
PYTHON_PACKAGING_SITE = https://files.pythonhosted.org/packages/df/86/aef78bab3afd461faecf9955a6501c4999933a48394e90f03cd512aad844
PYTHON_PACKAGING_SETUP_TYPE = setuptools
PYTHON_PACKAGING_LICENSE = Apache-2.0 or BSD-2-Clause
PYTHON_PACKAGING_LICENSE_FILES = LICENSE LICENSE.APACHE LICENSE.BSD
HOST_PYTHON_PACKAGING_NEEDS_HOST_PYTHON = python3
HOST_PYTHON_PACKAGING_DEPENDENCIES = host-python-pyparsing
$(eval $(python-package))
$(eval $(host-python-package))