kumquat-buildroot/package/python-fonttools/python-fonttools.mk
Peter Korsgaard 866b42ce49 package/python3-cython: drop host package
Now that host-python2 is gone, the custom python3 variant can be dropped.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2022-02-11 20:06:56 +01:00

23 lines
884 B
Makefile

################################################################################
#
# python-fonttools
#
################################################################################
PYTHON_FONTTOOLS_VERSION = 4.29.1
PYTHON_FONTTOOLS_SOURCE = fonttools-$(PYTHON_FONTTOOLS_VERSION).zip
PYTHON_FONTTOOLS_SITE = https://files.pythonhosted.org/packages/2d/4c/49ba863863502bb9fea19d8bd04a527da336b4a2698c8a0c7129e9cc2716
PYTHON_FONTTOOLS_SETUP_TYPE = setuptools
PYTHON_FONTTOOLS_LICENSE = MIT
PYTHON_FONTTOOLS_LICENSE_FILES = LICENSE
PYTHON_FONTTOOLS_DEPENDENCIES = host-python-cython
PYTHON_FONTTOOLS_ENV = FONTTOOLS_WITH_CYTHON=1
define PYTHON_FONTTOOLS_EXTRACT_CMDS
$(UNZIP) -d $(@D) $(PYTHON_FONTTOOLS_DL_DIR)/$(PYTHON_FONTTOOLS_SOURCE)
mv $(@D)/fonttools-$(PYTHON_FONTTOOLS_VERSION)/* $(@D)
$(RM) -r $(@D)/fonttools-$(PYTHON_FONTTOOLS_VERSION)
endef
$(eval $(python-package))