diff mbox series

[1/1] package/python-zopfli: bump to version 0.2.3.post1

Message ID 20241105192600.1589181-1-james.hilliard1@gmail.com
State Accepted
Headers show
Series [1/1] package/python-zopfli: bump to version 0.2.3.post1 | expand

Commit Message

James Hilliard Nov. 5, 2024, 7:26 p.m. UTC
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(-)

Comments

Thomas Petazzoni Nov. 7, 2024, 8:03 a.m. UTC | #1
On Tue,  5 Nov 2024 12:26:00 -0700
James Hilliard <james.hilliard1@gmail.com> wrote:

> 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(-)

Applied to master, thanks.

Thomas
diff mbox series

Patch

diff --git a/package/python-zopfli/python-zopfli.hash b/package/python-zopfli/python-zopfli.hash
index c397808029..0fd009879c 100644
--- a/package/python-zopfli/python-zopfli.hash
+++ b/package/python-zopfli/python-zopfli.hash
@@ -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
diff --git a/package/python-zopfli/python-zopfli.mk b/package/python-zopfli/python-zopfli.mk
index df76845a7f..47a27b1084 100644
--- a/package/python-zopfli/python-zopfli.mk
+++ b/package/python-zopfli/python-zopfli.mk
@@ -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))