[Buildroot] [PATCH 1/1] package/python-humanize: bump to version 3.11.0

Asaf Kahlon asafka7 at gmail.com
Mon Oct 4 17:13:41 UTC 2021


* The package doesn't support python2 anymore.
* Take also sha256 from pypi.
* License was updated with a year bump.

Signed-off-by: Asaf Kahlon <asafka7 at gmail.com>
---
 package/python-humanize/Config.in            |  1 +
 package/python-humanize/python-humanize.hash | 10 +++++-----
 package/python-humanize/python-humanize.mk   |  4 ++--
 3 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/package/python-humanize/Config.in b/package/python-humanize/Config.in
index f4f4e67b65..ec63be9b35 100644
--- a/package/python-humanize/Config.in
+++ b/package/python-humanize/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PYTHON_HUMANIZE
 	bool "python-humanize"
+	depends on BR2_PACKAGE_PYTHON3
 	help
 	  Python humanize package contains various common humanization
 	  utilities, like turning a number into a fuzzy human readable
diff --git a/package/python-humanize/python-humanize.hash b/package/python-humanize/python-humanize.hash
index 47b5f70c9a..9b2559ab11 100644
--- a/package/python-humanize/python-humanize.hash
+++ b/package/python-humanize/python-humanize.hash
@@ -1,5 +1,5 @@
-# md5 from https://pypi.python.org/pypi/humanize/json
-md5	e8473d9dc1b220911cac2edd53b1d973  humanize-0.5.1.tar.gz
-# Locally computed
-sha256	a43f57115831ac7c70de098e6ac46ac13be00d69abbf60bdcac251344785bb19  humanize-0.5.1.tar.gz
-sha256  2ee89d331213b5886ae5416ead178694ac0eb13bb79c83bf92287f95d3597377  LICENCE
+# md5, sha256 from https://pypi.org/pypi/humanize/json
+md5  04f5b334283e1f7f0dfeccf7d5a4b880  humanize-3.11.0.tar.gz
+sha256  4160cdc63fcd0daac27d2e1e218a31bb396fc3fe5712d153675d89432a03778f  humanize-3.11.0.tar.gz
+# Locally computed sha256 checksums
+sha256  8ba6c18112a431400ad3c743f70670079b302545d98884fc2f28a91c383a0380  LICENCE
diff --git a/package/python-humanize/python-humanize.mk b/package/python-humanize/python-humanize.mk
index 60ec82bd48..ea5454d6cc 100644
--- a/package/python-humanize/python-humanize.mk
+++ b/package/python-humanize/python-humanize.mk
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-PYTHON_HUMANIZE_VERSION = 0.5.1
+PYTHON_HUMANIZE_VERSION = 3.11.0
 PYTHON_HUMANIZE_SOURCE = humanize-$(PYTHON_HUMANIZE_VERSION).tar.gz
-PYTHON_HUMANIZE_SITE = https://pypi.python.org/packages/8c/e0/e512e4ac6d091fc990bbe13f9e0378f34cf6eecd1c6c268c9e598dcf5bb9
+PYTHON_HUMANIZE_SITE = https://files.pythonhosted.org/packages/a6/d0/e06993724937f2aab3e7085d137d453968aaac0f74661ef9c90528a79d61
 PYTHON_HUMANIZE_SETUP_TYPE = setuptools
 PYTHON_HUMANIZE_LICENSE = MIT
 PYTHON_HUMANIZE_LICENSE_FILES = LICENCE
-- 
2.33.0



More information about the buildroot mailing list