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

Zang Ruochen zangrc.fnst at cn.fujitsu.com
Thu Sep 12 00:57:18 PDT 2019


Signed-off-by: Zang Ruochen <zangrc.fnst at cn.fujitsu.com>
---
 .../recipes-devtools/python/python-simplegeneric.inc       | 12 ++++++++++++
 .../recipes-devtools/python/python-simplegeneric_0.8.1.bb  | 14 ++------------
 .../recipes-devtools/python/python3-simplegeneric_0.8.1.bb |  2 ++
 3 files changed, 16 insertions(+), 12 deletions(-)
 create mode 100644 meta-openstack/recipes-devtools/python/python-simplegeneric.inc
 create mode 100644 meta-openstack/recipes-devtools/python/python3-simplegeneric_0.8.1.bb

diff --git a/meta-openstack/recipes-devtools/python/python-simplegeneric.inc b/meta-openstack/recipes-devtools/python/python-simplegeneric.inc
new file mode 100644
index 0000000..2cd9fc0
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-simplegeneric.inc
@@ -0,0 +1,12 @@
+DESCRIPTION = "Simple generic functions"
+HOMEPAGE = "https://pypi.python.org/pypi/simplegeneric/"
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://README.txt;md5=2085f2c228ed80422edf70e52e86c34b"
+
+PYPI_PACKAGE_EXT = "zip"
+
+SRC_URI[md5sum] = "f9c1fab00fd981be588fc32759f474e3"
+SRC_URI[sha256sum] = "dc972e06094b9af5b855b3df4a646395e43d1c9d0d39ed345b7393560d0b9173"
+
+inherit pypi
diff --git a/meta-openstack/recipes-devtools/python/python-simplegeneric_0.8.1.bb b/meta-openstack/recipes-devtools/python/python-simplegeneric_0.8.1.bb
index 35c0555..5a1cc6a 100644
--- a/meta-openstack/recipes-devtools/python/python-simplegeneric_0.8.1.bb
+++ b/meta-openstack/recipes-devtools/python/python-simplegeneric_0.8.1.bb
@@ -1,12 +1,2 @@
-DESCRIPTION = "Simple generic functions"
-HOMEPAGE = "https://pypi.python.org/pypi/simplegeneric/"
-SECTION = "devel/python"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://README.txt;md5=2085f2c228ed80422edf70e52e86c34b"
-
-PYPI_PACKAGE_EXT = "zip"
-
-SRC_URI[md5sum] = "f9c1fab00fd981be588fc32759f474e3"
-SRC_URI[sha256sum] = "dc972e06094b9af5b855b3df4a646395e43d1c9d0d39ed345b7393560d0b9173"
-
-inherit setuptools pypi
+inherit setuptools
+require python-simplegeneric.inc 
diff --git a/meta-openstack/recipes-devtools/python/python3-simplegeneric_0.8.1.bb b/meta-openstack/recipes-devtools/python/python3-simplegeneric_0.8.1.bb
new file mode 100644
index 0000000..56ad221
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-simplegeneric_0.8.1.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-simplegeneric.inc 
-- 
2.7.4





More information about the meta-virtualization mailing list