Skip to contentSkip to conversation

python-backports-abc: depend on Python 2.x

PATCH Superseded yegorslists at googlemail.com 2 participants 3 messages May 19, 2016 – May 23, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 python-backports-abc: depend on Python 2.x

From: Yegor Yefremov <[email protected]>

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.

---
Changes:
v2: sqaush both commits into one (Arnout Vandecappelle)

 package/python-backports-abc/Config.in | 1 +
 package/python-tornado/Config.in       | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
package/python-backports-abc/Config.in +1 -0
index 26d8cfd..4356627 100644
@@ -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.
package/python-tornado/Config.in +1 -1
index ac86682..3ead2af 100644
@@ -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.
Signature · 1 line
2.8.1
#1 lore raw

PATCH v2 1/1 python-backports-abc: depend on Python 2.x

Hello,

Quoted 5 lines · yegorslists at googlemail.com

From: Yegor Yefremov <[email protected]>

This package is a backport from Python 3.5, so it is not needed for Python 3.5.x environment.

Quoted 8 lines

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

---
Changes:
v2: sqaush both commits into one (Arnout Vandecappelle)

I've applied to next, because Python 3.5 is only in next. Let me know if I misunderstood something.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#2 lore raw

PATCH v2 1/1 python-backports-abc: depend on Python 2.x

Quoted 11 lines · Thomas Petazzoni

Hello,

Quoted 8 lines · yegorslists at googlemail.com

From: Yegor Yefremov <[email protected]>

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.

Quoted 8 lines
Quoted 5 lines

---
Changes:
v2: sqaush both commits into one (Arnout Vandecappelle)

I've applied to next, because Python 3.5 is only in next. Let me know if I misunderstood something.

No. next is the right branch. I just forgot to mention in the subject.

Yegor