Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] python-netifaces: allow depending on Python 3
@ 2014-11-20 15:32 Simon Marchi
  2014-11-22 18:23 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Simon Marchi @ 2014-11-20 15:32 UTC (permalink / raw)
  To: buildroot

Version 0.10.4 is compatible with python 3.

Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
---
 package/python-netifaces/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/python-netifaces/Config.in b/package/python-netifaces/Config.in
index 29f9fc3..b660fdb 100644
--- a/package/python-netifaces/Config.in
+++ b/package/python-netifaces/Config.in
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_PYTHON_NETIFACES
 	bool "python-netifaces"
-	depends on BR2_PACKAGE_PYTHON
+	depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
 	help
 	  Portable access to network interfaces from Python.
 
-- 
2.1.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] python-netifaces: allow depending on Python 3
  2014-11-20 15:32 [Buildroot] [PATCH] python-netifaces: allow depending on Python 3 Simon Marchi
@ 2014-11-22 18:23 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2014-11-22 18:23 UTC (permalink / raw)
  To: buildroot

Dear Simon Marchi,

On Thu, 20 Nov 2014 10:32:10 -0500, Simon Marchi wrote:
> Version 0.10.4 is compatible with python 3.
> 
> Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
> ---
>  package/python-netifaces/Config.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/python-netifaces/Config.in b/package/python-netifaces/Config.in
> index 29f9fc3..b660fdb 100644
> --- a/package/python-netifaces/Config.in
> +++ b/package/python-netifaces/Config.in
> @@ -1,6 +1,6 @@
>  config BR2_PACKAGE_PYTHON_NETIFACES
>  	bool "python-netifaces"
> -	depends on BR2_PACKAGE_PYTHON
> +	depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3

This is no longer necessary. Since commit
http://git.buildroot.net/buildroot/commit/?h=next&id=cd331c1e1d15e7832f6eebc5c1e9c0a2dd34f033,
we have decided that for packages that support both python and python3,
it was not needed to have a dependency anymore, since this dependency
is already in package/Config.in.

Patch applied to the next branch, with this change.

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-11-22 18:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-20 15:32 [Buildroot] [PATCH] python-netifaces: allow depending on Python 3 Simon Marchi
2014-11-22 18:23 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox