Skip to contentSkip to conversation

package/python-cffi: bump to version 1.13.0

PATCH New Asaf Kahlon 2 participants 4 messages Oct 20, 2019 – Oct 21, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-cffi: bump to version 1.13.0

---
 package/python-cffi/python-cffi.hash | 7 ++++---
 package/python-cffi/python-cffi.mk   | 4 ++--
 2 files changed, 6 insertions(+), 5 deletions(-)
package/python-cffi/python-cffi.hash +4 -3
index 15f67e9cc1..9ee472ce09 100644
@@ -1,4 +1,5 @@
-# md5 from https://pypi.python.org/pypi/cffi/json, sha256 locally computed
-md5	35ad1f9e1003cac9404c1493eb10d7f5  cffi-1.12.3.tar.gz
-sha256	041c81822e9f84b1d9c401182e174996f0bae9991f33725d059b771744290774  cffi-1.12.3.tar.gz
+# md5, sha256 from https://pypi.org/pypi/cffi/json
+md5	2c90be6d3bfbf80ab732b28fd677051d  cffi-1.13.0.tar.gz
+sha256	8fe230f612c18af1df6f348d02d682fe2c28ca0a6c3856c99599cdacae7cf226  cffi-1.13.0.tar.gz
+# Locally computed sha256 checksums
 sha256  04b80f5b077bbed68808cfebadeb5e3523f2a8c9a96495c587bd96df1eac2a33  LICENSE
package/python-cffi/python-cffi.mk +2 -2
index 810c032bff..623c439f84 100644
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-PYTHON_CFFI_VERSION = 1.12.3
+PYTHON_CFFI_VERSION = 1.13.0
 PYTHON_CFFI_SOURCE = cffi-$(PYTHON_CFFI_VERSION).tar.gz
-PYTHON_CFFI_SITE = https://files.pythonhosted.org/packages/93/1a/ab8c62b5838722f29f3daffcc8d4bd61844aa9b5f437341cc890ceee483b
+PYTHON_CFFI_SITE = https://files.pythonhosted.org/packages/d6/cf/ba7e2df852a2fc807d48b3f7bea46f741830be4f047a0712e6de3e95fb6a
 PYTHON_CFFI_SETUP_TYPE = setuptools
 PYTHON_CFFI_DEPENDENCIES = host-pkgconf libffi
 PYTHON_CFFI_LICENSE = MIT
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 package/python-more-itertools: drop Python 2 support

Since version 6.0.0, the package supports only Python 3, and will lead to syntax errors when in use with Python 2.
In addition, the dependency of python-six is no longer needed.

The reursive reverse dependencies were updated accordingly.

---
 package/python-cheroot/Config.in          | 3 +--
 package/python-cherrypy/Config.in         | 7 +++----
 package/python-jaraco-functools/Config.in | 3 +--
 package/python-more-itertools/Config.in   | 2 +-
 package/python-portend/Config.in          | 1 +
 package/python-tempora/Config.in          | 1 +
 package/python-webpy/Config.in            | 2 +-
 7 files changed, 9 insertions(+), 10 deletions(-)
package/python-cheroot/Config.in +1 -2
index 0b732f8c0b..45dd2d8a11 100644
@@ -1,10 +1,9 @@
 config BR2_PACKAGE_PYTHON_CHEROOT
 	bool "python-cheroot"
+	depends on BR2_PACKAGE_PYTHON3 # python-more-itertools, python-jaraco-functools
 	select BR2_PACKAGE_PYTHON_SIX # runtime
 	select BR2_PACKAGE_PYTHON_MORE_ITERTOOLS # runtime
 	select BR2_PACKAGE_PYTHON_JARACO_FUNCTOOLS # runtime
-	select BR2_PACKAGE_PYTHON_BACKPORTS_FUNCTOOLS_LRU_CACHE \
-	       if BR2_PACKAGE_PYTHON # runtime
 	help
 	  Cheroot is the high-performance, pure-Python
 	  HTTP server used by CherryPy.
package/python-cherrypy/Config.in +3 -4
index 622dd1f49b..eb83054be3 100644
@@ -1,13 +1,12 @@
 config BR2_PACKAGE_PYTHON_CHERRYPY
 	bool "python-cherrypy"
+	depends on BR2_PACKAGE_PYTHON3 # python-cheroot, python-portend
 	select BR2_PACKAGE_PYTHON_CHEROOT # runtime
 	select BR2_PACKAGE_PYTHON_JARACO_CLASSES # runtime
 	select BR2_PACKAGE_PYTHON_PORTEND # runtime
-	select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON # runtime
-	select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 # runtime
+	select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime
 	select BR2_PACKAGE_PYTHON_SIX # runtime
-	select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime
-	select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime
+	select BR2_PACKAGE_PYTHON3_ZLIB # runtime
 	help
 	  A minimalist web framework
 
package/python-jaraco-functools/Config.in +1 -2
index 62669dba6f..6c914f3851 100644
@@ -1,8 +1,7 @@
 config BR2_PACKAGE_PYTHON_JARACO_FUNCTOOLS
 	bool "python-jaraco-functools"
+	depends on BR2_PACKAGE_PYTHON3 # python-more-itertools
 	select BR2_PACKAGE_PYTHON_MORE_ITERTOOLS # runtime
-	select BR2_PACKAGE_PYTHON_BACKPORTS_FUNCTOOLS_LRU_CACHE \
-	       if BR2_PACKAGE_PYTHON # runtime
 	help
 	  Additional functools in the spirit of stdlib?s
 	  functools.
package/python-more-itertools/Config.in +1 -1
index dc5fb7ce54..1a7f95c27f 100644
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_PYTHON_MORE_ITERTOOLS
 	bool "python-more-itertools"
-	select BR2_PACKAGE_PYTHON_SIX # runtime
+	depends on BR2_PACKAGE_PYTHON3
 	help
 	  More routines for operating on iterables, beyond itertools.
 
package/python-portend/Config.in +1 -0
index 6b21078caa..30a50c7f61 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PYTHON_PORTEND
 	bool "python-portend"
+	depends on BR2_PACKAGE_PYTHON3 # python-tempora
 	select BR2_PACKAGE_PYTHON_TEMPORA # runtime
 	help
 	  TCP port monitoring utilities.
package/python-tempora/Config.in +1 -0
index 508cbae3f3..06ccbfc283 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PYTHON_TEMPORA
 	bool "python-tempora"
+	depends on BR2_PACKAGE_PYTHON3 # python-jaraco-functools
 	select BR2_PACKAGE_PYTHON_JARACO_FUNCTOOLS # runtime
 	select BR2_PACKAGE_PYTHON_SIX # runtime
 	select BR2_PACKAGE_PYTHON_PYTZ # runtime
package/python-webpy/Config.in +1 -1
index d30da70e13..419a4a180f 100644
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_PYTHON_WEBPY
 	bool "python-webpy"
-	select BR2_PACKAGE_PYTHON_HASHLIB if BR2_PACKAGE_PYTHON
+	depends on BR2_PACKAGE_PYTHON3 # python-cheroot
 	select BR2_PACKAGE_PYTHON_CHEROOT # runtime
 	select BR2_PACKAGE_PYTHON_MARKDOWN # runtime
 	help
Signature · 1 line
2.20.1
#2 lore raw

PATCH 1/1 package/python-more-itertools: drop Python 2 support

Quoted 7 lines · On Sun, 20 Oct 2019 16:42:03 +0300 Asaf Kahlon <[email protected]> wrote:

Since version 6.0.0, the package supports only Python 3, and will lead to syntax errors when in use with Python 2.
In addition, the dependency of python-six is no longer needed.

The reursive reverse dependencies were updated accordingly.

Quoted 9 lines
---
 package/python-cheroot/Config.in          | 3 +--
 package/python-cherrypy/Config.in         | 7 +++----
 package/python-jaraco-functools/Config.in | 3 +--
 package/python-more-itertools/Config.in   | 2 +-
 package/python-portend/Config.in          | 1 +
 package/python-tempora/Config.in          | 1 +
 package/python-webpy/Config.in            | 2 +-
 7 files changed, 9 insertions(+), 10 deletions(-)

Applied to master, thanks. It would be good to add some test in support/testing/ for one of the high-level packages (webpy and/or cherrypy), so that we have some runtime testing of those packages and dependencies.

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#3 lore raw

PATCH 1/1 package/python-cffi: bump to version 1.13.0

In reply to Asaf Kahlon
Quoted 5 lines · On Sun, 20 Oct 2019 16:42:02 +0300 Asaf Kahlon <[email protected]> wrote:
---
 package/python-cffi/python-cffi.hash | 7 ++++---
 package/python-cffi/python-cffi.mk   | 4 ++--
 2 files changed, 6 insertions(+), 5 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com