Signed-off-by: Zang Ruochen <[email protected]>
---
 .../recipes-devtools/python/python-dogpile.core.inc  | 12 ++++++++++++
 .../python/python-dogpile.core_0.4.1.bb              | 12 ++----------
 .../python/python3-dogpile.core_0.4.1.bb             |  4 ++++
 3 files changed, 18 insertions(+), 10 deletions(-)
 create mode 100644 
meta-openstack/recipes-devtools/python/python-dogpile.core.inc
 create mode 100644 
meta-openstack/recipes-devtools/python/python3-dogpile.core_0.4.1.bb

diff --git a/meta-openstack/recipes-devtools/python/python-dogpile.core.inc 
b/meta-openstack/recipes-devtools/python/python-dogpile.core.inc
new file mode 100644
index 0000000..9824321
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-dogpile.core.inc
@@ -0,0 +1,12 @@
+DESCRIPTION = "Python Dogpile Core: Dogpile is basically the locking code 
extracted from the Beaker package, for simple and generic usage."
+HOMEPAGE = "https://pypi.python.org/pypi/dogpile.core";
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=0401fd56584d7b3d4be91690672ec433"
+
+SRC_URI[md5sum] = "01cb19f52bba3e95c9b560f39341f045"
+SRC_URI[sha256sum] = 
"be652fb11a8eaf66f7e5c94d418d2eaa60a2fe81dae500f3743a863cc9dbed76"
+
+inherit pypi
+
+
diff --git 
a/meta-openstack/recipes-devtools/python/python-dogpile.core_0.4.1.bb 
b/meta-openstack/recipes-devtools/python/python-dogpile.core_0.4.1.bb
index 9e36074..7af5cc8 100644
--- a/meta-openstack/recipes-devtools/python/python-dogpile.core_0.4.1.bb
+++ b/meta-openstack/recipes-devtools/python/python-dogpile.core_0.4.1.bb
@@ -1,12 +1,4 @@
-DESCRIPTION = "Python Dogpile Core: Dogpile is basically the locking code 
extracted from the Beaker package, for simple and generic usage."
-HOMEPAGE = "https://pypi.python.org/pypi/dogpile.core";
-SECTION = "devel/python"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=0401fd56584d7b3d4be91690672ec433"
-
-SRC_URI[md5sum] = "01cb19f52bba3e95c9b560f39341f045"
-SRC_URI[sha256sum] = 
"be652fb11a8eaf66f7e5c94d418d2eaa60a2fe81dae500f3743a863cc9dbed76"
-
-inherit setuptools pypi
+require python-dogpile.core.inc
+inherit setuptools
 
 
diff --git 
a/meta-openstack/recipes-devtools/python/python3-dogpile.core_0.4.1.bb 
b/meta-openstack/recipes-devtools/python/python3-dogpile.core_0.4.1.bb
new file mode 100644
index 0000000..d81698f
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-dogpile.core_0.4.1.bb
@@ -0,0 +1,4 @@
+require python-dogpile.core.inc
+inherit setuptools3
+
+
-- 
2.20.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#4780): 
https://lists.yoctoproject.org/g/meta-virtualization/message/4780
Mute This Topic: https://lists.yoctoproject.org/mt/64316497/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to