@@ -1,5 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/zopfli/json
-md5 7c8761eac18a9c6c16049192fc4fe119 zopfli-0.2.3.zip
-sha256 dbc9841bedd736041eb5e6982cd92da93bee145745f5422f3795f6f258cdc6ef zopfli-0.2.3.zip
+md5 2c42e8d5918059b84a42c0d53c5a6852 zopfli-0.2.3.post1.tar.gz
+sha256 96484dc0f48be1c5d7ae9f38ed1ce41e3675fd506b27c11a6607f14b49101e99 zopfli-0.2.3.post1.tar.gz
# Locally computed sha256 checksums
sha256 018b1cb87efdf7a04c2fcc13d57ed63f62149113fb207b27ea13430d64f13513 COPYING
@@ -4,18 +4,12 @@
#
################################################################################
-PYTHON_ZOPFLI_VERSION = 0.2.3
-PYTHON_ZOPFLI_SOURCE = zopfli-$(PYTHON_ZOPFLI_VERSION).zip
-PYTHON_ZOPFLI_SITE = https://files.pythonhosted.org/packages/92/d8/71230eb25ede499401a9a39ddf66fab4e4dab149bf75ed2ecea51a662d9e
+PYTHON_ZOPFLI_VERSION = 0.2.3.post1
+PYTHON_ZOPFLI_SOURCE = zopfli-$(PYTHON_ZOPFLI_VERSION).tar.gz
+PYTHON_ZOPFLI_SITE = https://files.pythonhosted.org/packages/5e/7c/a8f6696e694709e2abcbccd27d05ef761e9b6efae217e11d977471555b62
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))
Switch from zip archive to tar.gz archive. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> --- package/python-zopfli/python-zopfli.hash | 4 ++-- package/python-zopfli/python-zopfli.mk | 12 +++--------- 2 files changed, 5 insertions(+), 11 deletions(-)