* [Buildroot] [PATCH 1/1] targetcli-fb: allow to build with Python 3
@ 2014-10-27 9:26 Christophe Vu-Brugier
2014-10-27 18:31 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Christophe Vu-Brugier @ 2014-10-27 9:26 UTC (permalink / raw)
To: buildroot
Signed-off-by: Christophe Vu-Brugier <cvubrugier@fastmail.fm>
---
package/python-configshell-fb/Config.in | 5 +++--
package/python-rtslib-fb/Config.in | 2 +-
package/targetcli-fb/Config.in | 6 +++---
3 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/package/python-configshell-fb/Config.in b/package/python-configshell-fb/Config.in
index 05de585..fb96763 100644
--- a/package/python-configshell-fb/Config.in
+++ b/package/python-configshell-fb/Config.in
@@ -1,8 +1,9 @@
config BR2_PACKAGE_PYTHON_CONFIGSHELL_FB
bool "python-configshell-fb"
- depends on BR2_PACKAGE_PYTHON
+ depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
select BR2_PACKAGE_PYTHON_PYPARSING
- select BR2_PACKAGE_PYTHON_READLINE
+ select BR2_PACKAGE_PYTHON3_READLINE if BR2_PACKAGE_PYTHON3
+ select BR2_PACKAGE_PYTHON_READLINE if BR2_PACKAGE_PYTHON
select BR2_PACKAGE_PYTHON_URWID
help
configshell-fb is a Python library that provides a framework
diff --git a/package/python-rtslib-fb/Config.in b/package/python-rtslib-fb/Config.in
index b2aebcf..119b63b 100644
--- a/package/python-rtslib-fb/Config.in
+++ b/package/python-rtslib-fb/Config.in
@@ -1,6 +1,6 @@
config BR2_PACKAGE_PYTHON_RTSLIB_FB
bool "python-rtslib-fb"
- depends on BR2_PACKAGE_PYTHON
+ depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
help
rtslib-fb is an object-based Python library for configuring
the LIO generic SCSI target, present in 3.x Linux kernel
diff --git a/package/targetcli-fb/Config.in b/package/targetcli-fb/Config.in
index dcc6a54..ee241ef 100644
--- a/package/targetcli-fb/Config.in
+++ b/package/targetcli-fb/Config.in
@@ -1,9 +1,9 @@
-comment "targetcli-fb depends on python"
- depends on !BR2_PACKAGE_PYTHON
+comment "targetcli-fb depends on Python"
+ depends on !BR2_PACKAGE_PYTHON && !BR2_PACKAGE_PYTHON3
config BR2_PACKAGE_TARGETCLI_FB
bool "targetcli-fb"
- depends on BR2_PACKAGE_PYTHON
+ depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
select BR2_PACKAGE_PYTHON_CONFIGSHELL_FB
select BR2_PACKAGE_PYTHON_RTSLIB_FB
help
--
2.1.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] targetcli-fb: allow to build with Python 3
2014-10-27 9:26 [Buildroot] [PATCH 1/1] targetcli-fb: allow to build with Python 3 Christophe Vu-Brugier
@ 2014-10-27 18:31 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2014-10-27 18:31 UTC (permalink / raw)
To: buildroot
Dear Christophe Vu-Brugier,
On Mon, 27 Oct 2014 10:26:11 +0100, Christophe Vu-Brugier wrote:
> Signed-off-by: Christophe Vu-Brugier <cvubrugier@fastmail.fm>
> ---
> package/python-configshell-fb/Config.in | 5 +++--
> package/python-rtslib-fb/Config.in | 2 +-
> package/targetcli-fb/Config.in | 6 +++---
> 3 files changed, 7 insertions(+), 6 deletions(-)
Applied, thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-10-27 18:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-27 9:26 [Buildroot] [PATCH 1/1] targetcli-fb: allow to build with Python 3 Christophe Vu-Brugier
2014-10-27 18:31 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox