[meta-virtualization] [PATCH] python-dogpile.cache: Add python3 version

Zang Ruochen zangrc.fnst at cn.fujitsu.com
Wed Aug 28 22:30:39 PDT 2019


Signed-off-by: Zang Ruochen <zangrc.fnst at cn.fujitsu.com>
---
 .../recipes-devtools/python/python-dogpile.cache.inc         | 12 ++++++++++++
 .../recipes-devtools/python/python-dogpile.cache_0.7.1.bb    | 12 ++----------
 .../recipes-devtools/python/python3-dogpile.cache_0.7.1.bb   |  4 ++++
 3 files changed, 18 insertions(+), 10 deletions(-)
 create mode 100644 meta-openstack/recipes-devtools/python/python-dogpile.cache.inc
 create mode 100644 meta-openstack/recipes-devtools/python/python3-dogpile.cache_0.7.1.bb

diff --git a/meta-openstack/recipes-devtools/python/python-dogpile.cache.inc b/meta-openstack/recipes-devtools/python/python-dogpile.cache.inc
new file mode 100644
index 0000000..13e4b03
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-dogpile.cache.inc
@@ -0,0 +1,12 @@
+DESCRIPTION = "Python Dogpile Cache: A caching front-end based on the Dogpile lock"
+HOMEPAGE = "https://pypi.python.org/pypi/dogpile.cache"
+SECTION = "devel/python"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=9b4ca25e52ccc9b1601e8fe6d4fb4ba7"
+
+SRC_URI[md5sum] = "88043b337eb609214dbd8fa498300b38"
+SRC_URI[sha256sum] = "691b7f199561c4bd6e7e96f164a43cc3781b0c87bea29b7d59d859f873fd4a31"
+
+inherit pypi
+
+
diff --git a/meta-openstack/recipes-devtools/python/python-dogpile.cache_0.7.1.bb b/meta-openstack/recipes-devtools/python/python-dogpile.cache_0.7.1.bb
index 74e6a74..6f531a0 100644
--- a/meta-openstack/recipes-devtools/python/python-dogpile.cache_0.7.1.bb
+++ b/meta-openstack/recipes-devtools/python/python-dogpile.cache_0.7.1.bb
@@ -1,12 +1,4 @@
-DESCRIPTION = "Python Dogpile Cache: A caching front-end based on the Dogpile lock"
-HOMEPAGE = "https://pypi.python.org/pypi/dogpile.cache"
-SECTION = "devel/python"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=9b4ca25e52ccc9b1601e8fe6d4fb4ba7"
-
-SRC_URI[md5sum] = "88043b337eb609214dbd8fa498300b38"
-SRC_URI[sha256sum] = "691b7f199561c4bd6e7e96f164a43cc3781b0c87bea29b7d59d859f873fd4a31"
-
-inherit setuptools pypi
+inherit setuptools
+require python-dogpile.cache.inc
 
 
diff --git a/meta-openstack/recipes-devtools/python/python3-dogpile.cache_0.7.1.bb b/meta-openstack/recipes-devtools/python/python3-dogpile.cache_0.7.1.bb
new file mode 100644
index 0000000..ccfb292
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-dogpile.cache_0.7.1.bb
@@ -0,0 +1,4 @@
+inherit setuptools3
+require python-dogpile.cache.inc
+
+
-- 
2.7.4





More information about the meta-virtualization mailing list