[oe] [PATCH][meta-python] python-stevedore: add Py2 and Py3 recipes for stevedore
Ross Burton
ross.burton at intel.com
Tue Jul 10 16:08:25 UTC 2018
Based on a recipe from meta-openstack, but with the rmargparse class removed
(which doesn't appear to be needed anymore) and Python 3 support added.
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta-python/recipes-devtools/python/python-stevedore.inc | 13 +++++++++++++
.../recipes-devtools/python/python-stevedore_1.28.0.bb | 2 ++
.../recipes-devtools/python/python3-stevedore_1.28.0.bb | 2 ++
3 files changed, 17 insertions(+)
create mode 100644 meta-python/recipes-devtools/python/python-stevedore.inc
create mode 100644 meta-python/recipes-devtools/python/python-stevedore_1.28.0.bb
create mode 100644 meta-python/recipes-devtools/python/python3-stevedore_1.28.0.bb
diff --git a/meta-python/recipes-devtools/python/python-stevedore.inc b/meta-python/recipes-devtools/python/python-stevedore.inc
new file mode 100644
index 0000000000..b23fb4c8c5
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-stevedore.inc
@@ -0,0 +1,13 @@
+DESCRIPTION = "Manage dynamic plugins for Python applications"
+HOMEPAGE = "https://github.com/dreamhost/stevedore"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+SRC_URI[md5sum] = "b736a71431a2ff5831bbff4a6ccec0c1"
+SRC_URI[sha256sum] = "f1c7518e7b160336040fee272174f1f7b29a46febb3632502a8f2055f973d60b"
+
+inherit pypi
+
+RDEPENDS_${PN} += "${PYTHON_PN}-pbr ${PYTHON_PN}-six"
+
+BBCLASSEXTEND = "native"
diff --git a/meta-python/recipes-devtools/python/python-stevedore_1.28.0.bb b/meta-python/recipes-devtools/python/python-stevedore_1.28.0.bb
new file mode 100644
index 0000000000..70a00c1315
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-stevedore_1.28.0.bb
@@ -0,0 +1,2 @@
+inherit setuptools
+require python-stevedore.inc
diff --git a/meta-python/recipes-devtools/python/python3-stevedore_1.28.0.bb b/meta-python/recipes-devtools/python/python3-stevedore_1.28.0.bb
new file mode 100644
index 0000000000..3f557f2cbf
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-stevedore_1.28.0.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-stevedore.inc
--
2.11.0
More information about the Openembedded-devel
mailing list