Skip to contentSkip to conversation

python-txtorcon: needs C++ support

PATCH New Peter Korsgaard 2 participants 4 messages Jan 21, 2018 – Jan 22, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-txtorcon: needs C++ support

Python-txtorcon selects python-pyopenssl and python-service-identity, both (indirectly) needing C++ support, so propagate that dependency.

---
 package/python-txtorcon/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
package/python-txtorcon/Config.in +4 -0
index c4081ab0a3..4f91e7b048 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PYTHON_TXTORCON
 	bool "python-txtorcon"
+	depends on BR2_INSTALL_LIBSTDCPP # python-pyopenssl, python-service-identity
 	select BR2_PACKAGE_PYTHON_AUTOMAT # runtime
 	select BR2_PACKAGE_PYTHON_IDNA # runtime
 	select BR2_PACKAGE_PYTHON_INCREMENTAL # runtime
@@ -13,3 +14,6 @@ config BR2_PACKAGE_PYTHON_TXTORCON
 	  configuration abstractions.
 
 	  https://github.com/meejah/txtorcon
+
+comment "python-txtorcon needs a toolchain w/ C++"
+	depends on !BR2_INSTALL_LIBSTDCPP
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 python-txtorcon: needs C++ support

Quoted 20 lines · Peter Korsgaard

Python-txtorcon selects python-pyopenssl and python-service-identity, both (indirectly) needing C++ support, so propagate that dependency.

---
 package/python-txtorcon/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
package/python-txtorcon/Config.in +1 -0
index c4081ab0a3..4f91e7b048 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PYTHON_TXTORCON
        bool "python-txtorcon"
+       depends on BR2_INSTALL_LIBSTDCPP # python-pyopenssl, python-service-identity
        select BR2_PACKAGE_PYTHON_AUTOMAT # runtime
        select BR2_PACKAGE_PYTHON_IDNA # runtime
        select BR2_PACKAGE_PYTHON_INCREMENTAL # runtime

package/python-txtorcon/Config.in config BR2_PACKAGE_PYTHON_TXTORCON · line 19

Quoted 6 lines
package/python-txtorcon/Config.in +3 -0
@@ -13,3 +14,6 @@ config BR2_PACKAGE_PYTHON_TXTORCON
          configuration abstractions.
 
          https://github.com/meejah/txtorcon
+
+comment "python-txtorcon needs a toolchain w/ C++"
+       depends on !BR2_INSTALL_LIBSTDCPP

Good catch. Is anyone working on bumping OpenSSL to 1.1.0 series? Then we could bump python-cryptography and get rid of C++ dependency.

Yegor

#2 lore raw

PATCH 1/1 python-txtorcon: needs C++ support

Quoted 23 lines · Yegor Yefremov
Quoted 22 lines · Peter Korsgaard

Python-txtorcon selects python-pyopenssl and python-service-identity, both (indirectly) needing C++ support, so propagate that dependency.

---
 package/python-txtorcon/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
package/python-txtorcon/Config.in +1 -0
index c4081ab0a3..4f91e7b048 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PYTHON_TXTORCON
        bool "python-txtorcon"
+       depends on BR2_INSTALL_LIBSTDCPP # python-pyopenssl, python-service-identity
        select BR2_PACKAGE_PYTHON_AUTOMAT # runtime
        select BR2_PACKAGE_PYTHON_IDNA # runtime
        select BR2_PACKAGE_PYTHON_INCREMENTAL # runtime
@@ -13,3 +14,6 @@ config BR2_PACKAGE_PYTHON_TXTORCON
          configuration abstractions.
 
Quoted 7 lines

package/python-txtorcon/Config.in config BR2_PACKAGE_PYTHON_TXTORCON · line 19

Quoted 4 lines
package/python-txtorcon/Config.in +3 -0
          https://github.com/meejah/txtorcon
+
+comment "python-txtorcon needs a toolchain w/ C++"
+       depends on !BR2_INSTALL_LIBSTDCPP

Good catch. Is anyone working on bumping OpenSSL to 1.1.0 series? Then we could bump python-cryptography and get rid of C++ dependency.