Signed-off-by: Zang Ruochen <[email protected]>
---
 meta-openstack/recipes-devtools/python/python-extras.inc     | 10 ++++++++++
 .../recipes-devtools/python/python-extras_1.0.0.bb           | 12 ++----------
 .../recipes-devtools/python/python3-extras_1.0.0.bb          |  2 ++
 3 files changed, 14 insertions(+), 10 deletions(-)
 create mode 100644 meta-openstack/recipes-devtools/python/python-extras.inc
 create mode 100644 
meta-openstack/recipes-devtools/python/python3-extras_1.0.0.bb

diff --git a/meta-openstack/recipes-devtools/python/python-extras.inc 
b/meta-openstack/recipes-devtools/python/python-extras.inc
new file mode 100644
index 0000000..45d57bb
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-extras.inc
@@ -0,0 +1,10 @@
+DESCRIPTION = "Useful extra bits for Python - things that should be in the 
standard library"
+HOMEPAGE = "https://pypi.python.org/pypi/extras/";
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=6d108f338b2f68fe48ac366c4650bd8b"
+
+SRC_URI[md5sum] = "3a63ad60cf8f0186c9e3a02f55ec5b14"
+SRC_URI[sha256sum] = 
"132e36de10b9c91d5d4cc620160a476e0468a88f16c9431817a6729611a81b4e"
+
+inherit pypi
diff --git a/meta-openstack/recipes-devtools/python/python-extras_1.0.0.bb 
b/meta-openstack/recipes-devtools/python/python-extras_1.0.0.bb
index 6d75324..953b9e2 100644
--- a/meta-openstack/recipes-devtools/python/python-extras_1.0.0.bb
+++ b/meta-openstack/recipes-devtools/python/python-extras_1.0.0.bb
@@ -1,10 +1,2 @@
-DESCRIPTION = "Useful extra bits for Python - things that should be in the 
standard library"
-HOMEPAGE = "https://pypi.python.org/pypi/extras/";
-SECTION = "devel/python"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=6d108f338b2f68fe48ac366c4650bd8b"
-
-SRC_URI[md5sum] = "3a63ad60cf8f0186c9e3a02f55ec5b14"
-SRC_URI[sha256sum] = 
"132e36de10b9c91d5d4cc620160a476e0468a88f16c9431817a6729611a81b4e"
-
-inherit setuptools pypi
+inherit setuptools
+require python-extras.inc
diff --git a/meta-openstack/recipes-devtools/python/python3-extras_1.0.0.bb 
b/meta-openstack/recipes-devtools/python/python3-extras_1.0.0.bb
new file mode 100644
index 0000000..76f87f2
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-extras_1.0.0.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-extras.inc
-- 
2.7.4



-- 
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Reply via email to