[meta-virtualization] [PATCH] python-netifaces: Add python3 version

Zheng Ruoqin zhengrq.fnst at cn.fujitsu.com
Mon Aug 26 00:37:57 PDT 2019


Providing a python3 version of python-netifaces.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst at cn.fujitsu.com>
---
 .../recipes-devtools/python/python-netifaces.inc     | 10 ++++++++++
 .../python/python-netifaces_0.10.9.bb                | 12 ++----------
 .../python/python3-netifaces_0.10.9.bb               |  2 ++
 3 files changed, 14 insertions(+), 10 deletions(-)
 create mode 100644 meta-openstack/recipes-devtools/python/python-netifaces.inc
 create mode 100644 meta-openstack/recipes-devtools/python/python3-netifaces_0.10.9.bb

diff --git a/meta-openstack/recipes-devtools/python/python-netifaces.inc b/meta-openstack/recipes-devtools/python/python-netifaces.inc
new file mode 100644
index 0000000..b1b1ed5
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-netifaces.inc
@@ -0,0 +1,10 @@
+DESCRIPTION = "Portable network interface information."
+HOMEPAGE = "http://alastairs-place.net/netifaces"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
+
+SRC_URI[md5sum] = "de92cc322b4f56047c073f802ad77860"
+SRC_URI[sha256sum] = "2dee9ffdd16292878336a58d04a20f0ffe95555465fee7c9bd23b3490ef2abf3"
+
+inherit pypi
diff --git a/meta-openstack/recipes-devtools/python/python-netifaces_0.10.9.bb b/meta-openstack/recipes-devtools/python/python-netifaces_0.10.9.bb
index 05f5f4a..aa9760b 100644
--- a/meta-openstack/recipes-devtools/python/python-netifaces_0.10.9.bb
+++ b/meta-openstack/recipes-devtools/python/python-netifaces_0.10.9.bb
@@ -1,10 +1,2 @@
-DESCRIPTION = "Portable network interface information."
-HOMEPAGE = "http://alastairs-place.net/netifaces"
-SECTION = "devel/python"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
-
-SRC_URI[md5sum] = "de92cc322b4f56047c073f802ad77860"
-SRC_URI[sha256sum] = "2dee9ffdd16292878336a58d04a20f0ffe95555465fee7c9bd23b3490ef2abf3"
-
-inherit setuptools pypi
+inherit setuptools
+require python-netifaces.inc
diff --git a/meta-openstack/recipes-devtools/python/python3-netifaces_0.10.9.bb b/meta-openstack/recipes-devtools/python/python3-netifaces_0.10.9.bb
new file mode 100644
index 0000000..a46326f
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-netifaces_0.10.9.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-netifaces.inc
-- 
2.17.1





More information about the meta-virtualization mailing list