package/python-autobahn: add missing dependency on C++
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tue, 29 Oct 2019 20:37:01 +0000 (21:37 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 1 Nov 2019 07:18:32 +0000 (08:18 +0100)
The indirect dependency via python-cryptography was not set in the
Config.in.

Detected with randconfig.

And propagate this to the reverse dependencies.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Peter: also propagate to the reverse dependencies]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/python-autobahn/Config.in
package/python-channels-redis/Config.in
package/python-channels/Config.in
package/python-daphne/Config.in

index e08d5d58a1cdcb06ca528464f15e5e518e1ba862..ba54d8b12f1ce194451019386dc3abd619410cd3 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PYTHON_AUTOBAHN
        bool "python-autobahn"
+       depends on BR2_INSTALL_LIBSTDCPP # python-cryptography -> python-pyasn
        select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime
        select BR2_PACKAGE_PYTHON_SIX # runtime
        select BR2_PACKAGE_PYTHON_TXAIO # runtime
@@ -8,3 +9,6 @@ config BR2_PACKAGE_PYTHON_AUTOBAHN
          framework.
 
          https://pypi.python.org/pypi/autobahn
+
+comment "python-autobahn needs a toolchain w/ C++"
+       depends on !BR2_INSTALL_LIBSTDCPP
index d2d8a4707a331c7a22ac608e911725b2b7012e0c..894667018076e09e4c40defdc0639ad29684f2ce 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PYTHON_CHANNELS_REDIS
        bool "python-channels-redis"
+       depends on BR2_INSTALL_LIBSTDCPP # python-channels -> python-daphne
        depends on BR2_PACKAGE_PYTHON3 # python-channels
        select BR2_PACKAGE_PYTHON_AIOREDIS # runtime
        select BR2_PACKAGE_PYTHON_ASGIREF # runtime
@@ -11,3 +12,7 @@ config BR2_PACKAGE_PYTHON_CHANNELS_REDIS
          sharded configurations, as well as group support.
 
          http://github.com/django/channels_redis/
+
+comment "python-channels-redis needs a toolchain w/ C++"
+       depends on !BR2_INSTALL_LIBSTDCPP
+       depends on BR2_PACKAGE_PYTHON3
index 45c9dcc246635eca7239d05902b95af3550c9351..5c70f20d1c546581ee40b377494cd7bc048310a6 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PYTHON_CHANNELS
        bool "python-channels"
+       depends on BR2_INSTALL_LIBSTDCPP # python-daphne -> python-autobahn -> python-cryptography
        depends on BR2_PACKAGE_PYTHON3 # python-daphne
        select BR2_PACKAGE_PYTHON_ASGIREF # runtime
        select BR2_PACKAGE_PYTHON_DAPHNE # runtime
@@ -13,3 +14,7 @@ config BR2_PACKAGE_PYTHON_CHANNELS
          own protocols and needs.
 
          http://github.com/django/channels
+
+comment "python-channels needs a toolchain w/ C++"
+       depends on !BR2_INSTALL_LIBSTDCPP
+       depends on BR2_PACKAGE_PYTHON3
index d0510928eaaddd13d5514e7301edeb7764051e95..896bcfe4210c79c377ca22ce3b3ef876d685f615 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PYTHON_DAPHNE
        bool "python-daphne"
+       depends on BR2_INSTALL_LIBSTDCPP # python-autobahn -> python-cryptography
        depends on BR2_PACKAGE_PYTHON3
        select BR2_PACKAGE_PYTHON_ASGIREF # runtime
        select BR2_PACKAGE_PYTHON_AUTOBAHN # runtime
@@ -12,3 +13,7 @@ config BR2_PACKAGE_PYTHON_DAPHNE
          versus HTTP endpoints.
 
          https://github.com/django/daphne
+
+comment "python-daphne needs a toolchain w/ C++"
+       depends on !BR2_INSTALL_LIBSTDCPP
+       depends on BR2_PACKAGE_PYTHON3