2021-11-27 12:37:32 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# python-fonttools
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2022-05-09 03:19:29 +02:00
|
|
|
PYTHON_FONTTOOLS_VERSION = 4.33.3
|
2021-11-27 12:37:32 +01:00
|
|
|
PYTHON_FONTTOOLS_SOURCE = fonttools-$(PYTHON_FONTTOOLS_VERSION).zip
|
2022-05-09 03:19:29 +02:00
|
|
|
PYTHON_FONTTOOLS_SITE = https://files.pythonhosted.org/packages/de/54/14376a4e5c1e7d2105a5be33ad5584b56e36753dc615506728a1489071cd
|
2021-11-27 12:37:32 +01:00
|
|
|
PYTHON_FONTTOOLS_SETUP_TYPE = setuptools
|
|
|
|
PYTHON_FONTTOOLS_LICENSE = MIT
|
|
|
|
PYTHON_FONTTOOLS_LICENSE_FILES = LICENSE
|
2022-02-10 23:40:44 +01:00
|
|
|
PYTHON_FONTTOOLS_DEPENDENCIES = host-python-cython
|
2021-11-27 12:37:32 +01:00
|
|
|
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))
|