python-backports-abc: depend on Python 2.x
authorYegor Yefremov <yegorslists@googlemail.com>
Thu, 19 May 2016 07:00:29 +0000 (09:00 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 23 May 2016 15:08:09 +0000 (17:08 +0200)
This package is a backport from Python 3.5, so it is not needed
for Python 3.5.x environment.

Fix python-tornado dependecies, so that python-backports-abc
is only selected for Python 2.x.

Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/python-backports-abc/Config.in
package/python-tornado/Config.in

index 26d8cfd98ba6e0259b91318c5c13efec88854057..43566279e80fc5666d7d853edbb80de8a11851b9 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PYTHON_BACKPORTS_ABC
        bool "python-backports-abc"
+       depends on BR2_PACKAGE_PYTHON
        help
          A backport of recent additions to the 'collections.abc'
          module.
index ac866824eca88650a9f246b227bc2ee0b1c57cce..3ead2afa6d81264f6be2fefb9b8ec3812378f6a1 100644 (file)
@@ -3,7 +3,7 @@ config BR2_PACKAGE_PYTHON_TORNADO
        select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime
        select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime
        select BR2_PACKAGE_PYTHON_SINGLEDISPATCH if BR2_PACKAGE_PYTHON # runtime
-       select BR2_PACKAGE_PYTHON_BACKPORTS_ABC # runtime
+       select BR2_PACKAGE_PYTHON_BACKPORTS_ABC if BR2_PACKAGE_PYTHON # runtime
        help
          Tornado is a Python web framework and asynchronous networking
          library, originally developed at FriendFeed.