package/python-tornado: only available for Python 3
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Mon, 7 Oct 2019 20:37:31 +0000 (22:37 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 7 Oct 2019 20:48:36 +0000 (22:48 +0200)
Since the bump to 6.0.1, python-tornado has dropped support for Python 2
and now needs Python >= 3.5 (cfr. setup.cfg).

Apparently this is not checked by setuptools, and apparently
byte-compile is not done in the autobuilders, so there's not autobuild
failure.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Asaf Kahlon <asafka7@gmail.com>
Cc: Ryan Barnett <ryan.barnett@rockwellcollins.com>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/circus/Config.in
package/python-tomako/Config.in
package/python-tornado/Config.in

index f1cd93c73396a8fc4677a18e8706320de15ab7c7..832b04dfa4336b5df4f2f739cdaf2384f8777f0f 100644 (file)
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_CIRCUS
        bool "circus"
-       depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
+       depends on BR2_PACKAGE_PYTHON3 # python-tornado
        depends on BR2_INSTALL_LIBSTDCPP # pyzmq -> zeromq
        depends on BR2_TOOLCHAIN_HAS_THREADS # pyzmq -> zeromq
        select BR2_PACKAGE_PYTHON_IOWAIT # runtime
@@ -14,6 +14,6 @@ config BR2_PACKAGE_CIRCUS
 
          https://circus.readthedocs.org/en/latest/
 
-comment "circus needs Python and a toolchain w/ C++, threads"
+comment "circus needs Python and a toolchain w/ C++, threads"
        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
-               !(BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3)
+               !BR2_PACKAGE_PYTHON3
index bd6d29982a101fd28bfc6bb6b590dfca3d47a191..1521035bb6f5dfbe46dcd91c63c75e00f1dff290 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PYTHON_TOMAKO
        bool "python-tomako"
+       depends on BR2_PACKAGE_PYTHON3 # python-tornado
        select BR2_PACKAGE_PYTHON_TORNADO # runtime
        select BR2_PACKAGE_PYTHON_MAKO # runtime
        help
index 1afbdc572936a5e844b705c362d52201e410ede7..e1bf8343f0fe75ab2ff05116395d8bc2c16ca6a0 100644 (file)
@@ -1,12 +1,8 @@
 config BR2_PACKAGE_PYTHON_TORNADO
        bool "python-tornado"
-       select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON
-       select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3
-       select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON
-       select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3
-       select BR2_PACKAGE_PYTHON_SINGLEDISPATCH if BR2_PACKAGE_PYTHON # runtime
-       select BR2_PACKAGE_PYTHON_BACKPORTS_ABC if BR2_PACKAGE_PYTHON # runtime
-       select BR2_PACKAGE_PYTHON_CERTIFI if BR2_PACKAGE_PYTHON # runtime
+       depends on BR2_PACKAGE_PYTHON3
+       select BR2_PACKAGE_PYTHON3_ZLIB
+       select BR2_PACKAGE_PYTHON3_SSL
        help
          Tornado is a Python web framework and asynchronous networking
          library, originally developed at FriendFeed.