Skip to contentSkip to conversation

python-netifaces: allow depending on Python 3

PATCH New Simon Marchi 2 participants 2 messages Nov 20, 2014 – Nov 22, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-netifaces: allow depending on Python 3

Version 0.10.4 is compatible with python 3.

---
 package/python-netifaces/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/python-netifaces/Config.in +1 -1
index 29f9fc3..b660fdb 100644
@@ -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.
 
Signature · 1 line
2.1.3
#1 lore raw

PATCH 1/1 python-netifaces: allow depending on Python 3

Dear Simon Marchi,

Quoted 12 lines · Simon Marchi

Version 0.10.4 is compatible with python 3.

---
 package/python-netifaces/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/python-netifaces/Config.in +0 -0
index 29f9fc3..b660fdb 100644

package/python-netifaces/Config.in line 3

Quoted 4 lines
package/python-netifaces/Config.in +1 -1
@@ -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

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