package/python-zopfli: 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
a2663af340
commit
53972c8296
@ -1272,6 +1272,7 @@ F: package/python-sockjs/
|
|||||||
F: package/python-terminaltables/
|
F: package/python-terminaltables/
|
||||||
F: package/python-tinycss2/
|
F: package/python-tinycss2/
|
||||||
F: package/python-yarl/
|
F: package/python-yarl/
|
||||||
|
F: package/python-zopfli/
|
||||||
|
|
||||||
N: James Knight <james.knight@collins.com>
|
N: James Knight <james.knight@collins.com>
|
||||||
F: package/atkmm/
|
F: package/atkmm/
|
||||||
|
@ -1296,6 +1296,7 @@ menu "External python modules"
|
|||||||
source "package/python-zc-lockfile/Config.in"
|
source "package/python-zc-lockfile/Config.in"
|
||||||
source "package/python-zeroconf/Config.in"
|
source "package/python-zeroconf/Config.in"
|
||||||
source "package/python-zope-interface/Config.in"
|
source "package/python-zope-interface/Config.in"
|
||||||
|
source "package/python-zopfli/Config.in"
|
||||||
endmenu
|
endmenu
|
||||||
endif
|
endif
|
||||||
source "package/quickjs/Config.in"
|
source "package/quickjs/Config.in"
|
||||||
|
7
package/python-zopfli/Config.in
Normal file
7
package/python-zopfli/Config.in
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
config BR2_PACKAGE_PYTHON_ZOPFLI
|
||||||
|
bool "python-zopfli"
|
||||||
|
depends on BR2_PACKAGE_PYTHON3
|
||||||
|
help
|
||||||
|
Zopfli module for python.
|
||||||
|
|
||||||
|
https://github.com/fonttools/py-zopfli
|
5
package/python-zopfli/python-zopfli.hash
Normal file
5
package/python-zopfli/python-zopfli.hash
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# md5, sha256 from https://pypi.org/pypi/zopfli/json
|
||||||
|
md5 f66b6f4132533b9b0ab8b0af757237bf zopfli-0.1.9.zip
|
||||||
|
sha256 78de3cc08a8efaa8013d61528907d91ac4d6cc014ffd8a41cc10ee75e9e60d7b zopfli-0.1.9.zip
|
||||||
|
# Locally computed sha256 checksums
|
||||||
|
sha256 018b1cb87efdf7a04c2fcc13d57ed63f62149113fb207b27ea13430d64f13513 COPYING
|
21
package/python-zopfli/python-zopfli.mk
Normal file
21
package/python-zopfli/python-zopfli.mk
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
# python-zopfli
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
PYTHON_ZOPFLI_VERSION = 0.1.9
|
||||||
|
PYTHON_ZOPFLI_SOURCE = zopfli-$(PYTHON_ZOPFLI_VERSION).zip
|
||||||
|
PYTHON_ZOPFLI_SITE = https://files.pythonhosted.org/packages/10/7d/278fd896401b0ef76e06cd42c3ce1541572d83b1c713b6786795c60a1bbe
|
||||||
|
PYTHON_ZOPFLI_SETUP_TYPE = setuptools
|
||||||
|
PYTHON_ZOPFLI_LICENSE = Apache-2.0
|
||||||
|
PYTHON_ZOPFLI_LICENSE_FILES = COPYING
|
||||||
|
PYTHON_ZOPFLI_DEPENDENCIES = host-python-setuptools-scm
|
||||||
|
|
||||||
|
define PYTHON_ZOPFLI_EXTRACT_CMDS
|
||||||
|
$(UNZIP) -d $(@D) $(PYTHON_ZOPFLI_DL_DIR)/$(PYTHON_ZOPFLI_SOURCE)
|
||||||
|
mv $(@D)/zopfli-$(PYTHON_ZOPFLI_VERSION)/* $(@D)
|
||||||
|
$(RM) -r $(@D)/zopfli-$(PYTHON_ZOPFLI_VERSION)
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(python-package))
|
Loading…
Reference in New Issue
Block a user