ソースを参照

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.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Asaf Kahlon 5 年 前
コミット
8542a545ec

+ 1 - 2
package/python-cheroot/Config.in

@@ -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.

+ 3 - 4
package/python-cherrypy/Config.in

@@ -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
 

+ 1 - 2
package/python-jaraco-functools/Config.in

@@ -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.

+ 1 - 1
package/python-more-itertools/Config.in

@@ -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.
 

+ 1 - 0
package/python-portend/Config.in

@@ -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.

+ 1 - 0
package/python-tempora/Config.in

@@ -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

+ 1 - 1
package/python-webpy/Config.in

@@ -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