diff mbox series

[1/1] package/python-priority: bump to version 2.0.0

Message ID 20210928110212.596939-3-asafka7@gmail.com
State Accepted
Headers show
Series [1/1] package/python-priority: bump to version 2.0.0 | expand

Commit Message

Asaf Kahlon Sept. 28, 2021, 11:02 a.m. UTC
The package doesn't support python2 anymore.

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

Comments

Yann E. MORIN Oct. 3, 2021, 7:57 p.m. UTC | #1
Asaf, All,

On 2021-09-28 14:02 +0300, Asaf Kahlon spake thusly:
> The package doesn't support python2 anymore.

As a consequence, I've added a note about th reverse dependencies,
crossbar and twisted, that already need python3.

Applied to master, thanks.

Regards,
Yann E. MORIN.

> Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
> ---
>  package/python-priority/Config.in            | 1 +
>  package/python-priority/python-priority.hash | 8 ++++----
>  package/python-priority/python-priority.mk   | 4 ++--
>  3 files changed, 7 insertions(+), 6 deletions(-)
> 
> diff --git a/package/python-priority/Config.in b/package/python-priority/Config.in
> index b73b7e2ad4..8ac2d13824 100644
> --- a/package/python-priority/Config.in
> +++ b/package/python-priority/Config.in
> @@ -1,5 +1,6 @@
>  config BR2_PACKAGE_PYTHON_PRIORITY
>  	bool "python-priority"
> +	depends on BR2_PACKAGE_PYTHON3
>  	help
>  	  A pure-Python implementation of the HTTP/2 priority tree.
>  
> diff --git a/package/python-priority/python-priority.hash b/package/python-priority/python-priority.hash
> index c947375700..88fc9adac1 100644
> --- a/package/python-priority/python-priority.hash
> +++ b/package/python-priority/python-priority.hash
> @@ -1,5 +1,5 @@
> -# md5 from https://pypi.python.org/pypi/priority/json
> -md5	4f1ff52f7fa448e9d9cb46337ae86d1e  priority-1.3.0.tar.gz
> -# Locally computed
> -sha256	6bc1961a6d7fcacbfc337769f1a382c8e746566aaa365e78047abe9f66b2ffbe  priority-1.3.0.tar.gz
> +# md5, sha256 from https://pypi.org/pypi/priority/json
> +md5  149531bf0e754782cf218bfc8cc994ae  priority-2.0.0.tar.gz
> +sha256  c965d54f1b8d0d0b19479db3924c7c36cf672dbf2aec92d43fbdaf4492ba18c0  priority-2.0.0.tar.gz
> +# Locally computed sha256 checksums
>  sha256  f3e9c29e3db36dc305a4be68a8a225f93949852ce2d19b5b0a3c099eee6509c5  LICENSE
> diff --git a/package/python-priority/python-priority.mk b/package/python-priority/python-priority.mk
> index 8b6dbc1e4f..6e141c3e37 100644
> --- a/package/python-priority/python-priority.mk
> +++ b/package/python-priority/python-priority.mk
> @@ -4,9 +4,9 @@
>  #
>  ################################################################################
>  
> -PYTHON_PRIORITY_VERSION = 1.3.0
> +PYTHON_PRIORITY_VERSION = 2.0.0
>  PYTHON_PRIORITY_SOURCE = priority-$(PYTHON_PRIORITY_VERSION).tar.gz
> -PYTHON_PRIORITY_SITE = https://pypi.python.org/packages/ba/96/7d0b024087062418dfe02a68cd6b195399266ac002fb517aad94cc93e076
> +PYTHON_PRIORITY_SITE = https://files.pythonhosted.org/packages/f5/3c/eb7c35f4dcede96fca1842dac5f4f5d15511aa4b52f3a961219e68ae9204
>  PYTHON_PRIORITY_SETUP_TYPE = setuptools
>  PYTHON_PRIORITY_LICENSE = MIT
>  PYTHON_PRIORITY_LICENSE_FILES = LICENSE
> -- 
> 2.33.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
diff mbox series

Patch

diff --git a/package/python-priority/Config.in b/package/python-priority/Config.in
index b73b7e2ad4..8ac2d13824 100644
--- a/package/python-priority/Config.in
+++ b/package/python-priority/Config.in
@@ -1,5 +1,6 @@ 
 config BR2_PACKAGE_PYTHON_PRIORITY
 	bool "python-priority"
+	depends on BR2_PACKAGE_PYTHON3
 	help
 	  A pure-Python implementation of the HTTP/2 priority tree.
 
diff --git a/package/python-priority/python-priority.hash b/package/python-priority/python-priority.hash
index c947375700..88fc9adac1 100644
--- a/package/python-priority/python-priority.hash
+++ b/package/python-priority/python-priority.hash
@@ -1,5 +1,5 @@ 
-# md5 from https://pypi.python.org/pypi/priority/json
-md5	4f1ff52f7fa448e9d9cb46337ae86d1e  priority-1.3.0.tar.gz
-# Locally computed
-sha256	6bc1961a6d7fcacbfc337769f1a382c8e746566aaa365e78047abe9f66b2ffbe  priority-1.3.0.tar.gz
+# md5, sha256 from https://pypi.org/pypi/priority/json
+md5  149531bf0e754782cf218bfc8cc994ae  priority-2.0.0.tar.gz
+sha256  c965d54f1b8d0d0b19479db3924c7c36cf672dbf2aec92d43fbdaf4492ba18c0  priority-2.0.0.tar.gz
+# Locally computed sha256 checksums
 sha256  f3e9c29e3db36dc305a4be68a8a225f93949852ce2d19b5b0a3c099eee6509c5  LICENSE
diff --git a/package/python-priority/python-priority.mk b/package/python-priority/python-priority.mk
index 8b6dbc1e4f..6e141c3e37 100644
--- a/package/python-priority/python-priority.mk
+++ b/package/python-priority/python-priority.mk
@@ -4,9 +4,9 @@ 
 #
 ################################################################################
 
-PYTHON_PRIORITY_VERSION = 1.3.0
+PYTHON_PRIORITY_VERSION = 2.0.0
 PYTHON_PRIORITY_SOURCE = priority-$(PYTHON_PRIORITY_VERSION).tar.gz
-PYTHON_PRIORITY_SITE = https://pypi.python.org/packages/ba/96/7d0b024087062418dfe02a68cd6b195399266ac002fb517aad94cc93e076
+PYTHON_PRIORITY_SITE = https://files.pythonhosted.org/packages/f5/3c/eb7c35f4dcede96fca1842dac5f4f5d15511aa4b52f3a961219e68ae9204
 PYTHON_PRIORITY_SETUP_TYPE = setuptools
 PYTHON_PRIORITY_LICENSE = MIT
 PYTHON_PRIORITY_LICENSE_FILES = LICENSE