package/python-fonttools: new package
Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
3f5f8abd41
commit
a2663af340
@ -1259,6 +1259,7 @@ F: package/python-cchardet/
|
||||
F: package/python-charset-normalizer/
|
||||
F: package/python-cssselect2/
|
||||
F: package/python-flatbuffers/
|
||||
F: package/python-fonttools/
|
||||
F: package/python-frozenlist/
|
||||
F: package/python-greenlet/
|
||||
F: package/python-janus/
|
||||
|
@ -1013,6 +1013,7 @@ menu "External python modules"
|
||||
source "package/python-flask-wtf/Config.in"
|
||||
source "package/python-flatbuffers/Config.in"
|
||||
source "package/python-flup/Config.in"
|
||||
source "package/python-fonttools/Config.in"
|
||||
source "package/python-frozenlist/Config.in"
|
||||
source "package/python-functools32/Config.in"
|
||||
source "package/python-future/Config.in"
|
||||
|
7
package/python-fonttools/Config.in
Normal file
7
package/python-fonttools/Config.in
Normal file
@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_PYTHON_FONTTOOLS
|
||||
bool "python-fonttools"
|
||||
depends on BR2_PACKAGE_PYTHON3
|
||||
help
|
||||
Tools to manipulate font files.
|
||||
|
||||
https://github.com/fonttools/fonttools
|
5
package/python-fonttools/python-fonttools.hash
Normal file
5
package/python-fonttools/python-fonttools.hash
Normal file
@ -0,0 +1,5 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/fonttools/json
|
||||
md5 fcf1425460855b5892c990027b5396c8 fonttools-4.28.2.zip
|
||||
sha256 dca694331af74c8ad47acc5171e57f6b78fac5692bf050f2ab572964577ac0dd fonttools-4.28.2.zip
|
||||
# Locally computed sha256 checksums
|
||||
sha256 6787208f83f659ccbc2223b2fde952ffa6f7e8aca62f1a8a2bf5bc51bb1b2383 LICENSE
|
22
package/python-fonttools/python-fonttools.mk
Normal file
22
package/python-fonttools/python-fonttools.mk
Normal file
@ -0,0 +1,22 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-fonttools
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_FONTTOOLS_VERSION = 4.28.2
|
||||
PYTHON_FONTTOOLS_SOURCE = fonttools-$(PYTHON_FONTTOOLS_VERSION).zip
|
||||
PYTHON_FONTTOOLS_SITE = https://files.pythonhosted.org/packages/3c/d5/f722e0d1aed0d547383913c6bc3c4ff35772952057b8e2b8fe3be8df4216
|
||||
PYTHON_FONTTOOLS_SETUP_TYPE = setuptools
|
||||
PYTHON_FONTTOOLS_LICENSE = MIT
|
||||
PYTHON_FONTTOOLS_LICENSE_FILES = LICENSE
|
||||
PYTHON_FONTTOOLS_DEPENDENCIES = host-python3-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))
|
Loading…
Reference in New Issue
Block a user