With netifaces it's possible to get the addresses of the machine's network
interfaces from Python. Network configuration renderers such as Netplan depends
on its Python3 implementation.

Signed-off-by: Jacopo Dall'Aglio <[email protected]>
---
 meta-python/recipes-devtools/python/python-netifaces.inc       | 10 ++++++++++
 meta-python/recipes-devtools/python/python-netifaces_0.10.9.bb |  2 ++
 .../recipes-devtools/python/python3-netifaces_0.10.9.bb        |  2 ++
 3 files changed, 14 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-netifaces.inc
 create mode 100644 
meta-python/recipes-devtools/python/python-netifaces_0.10.9.bb
 create mode 100644 
meta-python/recipes-devtools/python/python3-netifaces_0.10.9.bb

diff --git a/meta-python/recipes-devtools/python/python-netifaces.inc 
b/meta-python/recipes-devtools/python/python-netifaces.inc
new file mode 100644
index 0000000..daccc4f
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-netifaces.inc
@@ -0,0 +1,10 @@
+DESCRIPTION = "Portable network interface information for Python"
+SECTION = "devel/python"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = 
"file://PKG-INFO;beginline=8;endline=8;md5=a53cbc7cb75660694e138ba973c148df"
+
+SRC_URI[md5sum] = "de92cc322b4f56047c073f802ad77860"
+SRC_URI[sha256sum] = 
"2dee9ffdd16292878336a58d04a20f0ffe95555465fee7c9bd23b3490ef2abf3"
+
+inherit pypi
diff --git a/meta-python/recipes-devtools/python/python-netifaces_0.10.9.bb 
b/meta-python/recipes-devtools/python/python-netifaces_0.10.9.bb
new file mode 100644
index 0000000..c4aa849
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-netifaces_0.10.9.bb
@@ -0,0 +1,2 @@
+require python-netifaces.inc
+inherit setuptools
diff --git a/meta-python/recipes-devtools/python/python3-netifaces_0.10.9.bb 
b/meta-python/recipes-devtools/python/python3-netifaces_0.10.9.bb
new file mode 100644
index 0000000..69d5c67
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-netifaces_0.10.9.bb
@@ -0,0 +1,2 @@
+require python-netifaces.inc
+inherit setuptools3
-- 
2.7.4

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to