kumquat-buildroot/package/python-fonttools/python-fonttools.mk
James Hilliard 9bbcc554dd package/python-fonttools: bump to version 4.36.0
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-08-23 21:29:24 +02:00

23 lines
884 B
Makefile

################################################################################
#
# python-fonttools
#
################################################################################
PYTHON_FONTTOOLS_VERSION = 4.36.0
PYTHON_FONTTOOLS_SOURCE = fonttools-$(PYTHON_FONTTOOLS_VERSION).zip
PYTHON_FONTTOOLS_SITE = https://files.pythonhosted.org/packages/df/4b/ca51dbaf267decfcc7ca9300cdc703206c1c05f3e2beb5140a71817c2d7e
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))