package/python-more-itertools: drop Python 2 support
authorAsaf Kahlon <asafka7@gmail.com>
Sun, 20 Oct 2019 13:42:03 +0000 (16:42 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 21 Oct 2019 17:33:01 +0000 (19:33 +0200)
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>
package/python-cheroot/Config.in
package/python-cherrypy/Config.in
package/python-jaraco-functools/Config.in
package/python-more-itertools/Config.in
package/python-portend/Config.in
package/python-tempora/Config.in
package/python-webpy/Config.in

index 0b732f8c0bca36f31da672ea6727a60a28d0a749..45dd2d8a11b60846a2bfb1d5de2106620b5d0466 100644 (file)
@@ -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.
index 622dd1f49b8b35ab988697c7743ef21e65fbac0a..eb83054be3f3d20f584d204adba1fb93bf30d5ec 100644 (file)
@@ -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
 
index 62669dba6ff1ba088ce636c9334293ed4c9aba70..6c914f38510a9e33a494565bb0889b9980913665 100644 (file)
@@ -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.
index dc5fb7ce548e6d74b718d72004ccd8aec8f58b23..1a7f95c27fe1cf43c448b0aeb403f0d2deecad7e 100644 (file)
@@ -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.
 
index 6b21078caac70a4bcb455b51a62c1fb6b0ca6592..30a50c7f61f964a3b746fe7dcb70575708bccc00 100644 (file)
@@ -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.
index 508cbae3f31bee76f6a72b84a145475412b4898b..06ccbfc283e8355fad44c4d52fc16578d74684fa 100644 (file)
@@ -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
index d30da70e138c605d6328310e1d77ccf285b37365..419a4a180ff69661ea90d4c4e45771e426fecbbb 100644 (file)
@@ -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