Skip to contentSkip to conversation

python-crossbar: propagate missing dependencies

PATCH New Thomas Petazzoni 2 participants 4 messages Mar 10, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 python-crossbar: propagate missing dependencies

python-crossbar selects python-msgpack which selects msgpack, which depends on C++ and 4-byte __sync intrinsics. But python-crossbar does not have the dependencies propagated.

Fixes:

http://autobuild.buildroot.org/results/80f58b7264139dd82c690cb8aae97349aa412539/

---
 package/python-crossbar/Config.in | 6 ++++++
 1 file changed, 6 insertions(+)
package/python-crossbar/Config.in +6 -0
index 84c65c1..4e613db 100644
@@ -29,9 +29,15 @@ config BR2_PACKAGE_PYTHON_CROSSBAR
 	select BR2_PACKAGE_PYTHON_TWISTED
 	select BR2_PACKAGE_PYTHON_UJSON
 	select BR2_PACKAGE_PYTHON_WSACCEL
+	depends on BR2_INSTALL_LIBSTDCPP # python-msgpack -> msgpack
+	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # python-msgpack -> msgpack
 	help
 	  Crossbar.io is an open-source WAMP application router that
 	  allows to build advanced applications from loosely-coupled
 	  components that can talk in real-time with each other.
 
 	  https://pypi.python.org/pypi/crossbar
+
+comment "python-crossbar needs a toolchain w/ C++"
+	depends on BR2_TOOLCHAIN_HAS_SYNC_4
+	depends on !BR2_INSTALL_LIBSTDCPP
Signature · 1 line
2.6.4
#1 lore raw

PATCH 2/2 python-msgpack: remove useless 'depends on' in comment

In commit 6709fad224692ae5e0788bbd30145f7d622b52a4, python-msgpack was bumped to a new version that has support for Python 3. The "depends on BR2_PACKAGE_PYTHON' was removed for the main python-msgpack Config.in option, but not from the comment. This commit fixes this inconsistency.

---
 package/python-msgpack/Config.in | 1 -
 1 file changed, 1 deletion(-)
package/python-msgpack/Config.in +0 -1
index 7206c22..7dfe8e8 100644
@@ -13,5 +13,4 @@ config BR2_PACKAGE_PYTHON_MSGPACK
 
 comment "python-msgpack needs a toolchain w/ C++"
 	depends on BR2_TOOLCHAIN_HAS_SYNC_4
-	depends on BR2_PACKAGE_PYTHON
 	depends on !BR2_INSTALL_LIBSTDCPP
Signature · 1 line
2.6.4
#2 lore raw

PATCH 2/2 python-msgpack: remove useless 'depends on' in comment

Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

In commit 6709fad224692ae5e0788bbd30145f7d622b52a4, python-msgpack was bumped to a new version that has support for Python 3. The "depends on BR2_PACKAGE_PYTHON' was removed for the main python-msgpack Config.in option, but not from the comment. This commit fixes this inconsistency.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 1/2 python-crossbar: propagate missing dependencies

In reply to Thomas Petazzoni
Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

python-crossbar selects python-msgpack which selects msgpack, which depends on C++ and 4-byte __sync intrinsics. But python-crossbar does not have the dependencies propagated.

Fixes:

http://autobuild.buildroot.org/results/80f58b7264139dd82c690cb8aae97349aa412539/

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard