summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZang Ruochen <zangrc.fnst@cn.fujitsu.com>2019-08-29 13:43:24 +0800
committerBruce Ashfield <bruce.ashfield@gmail.com>2019-08-30 00:26:53 -0400
commit36ccdc92d58a2d16e9bf7979acc86ad80bc38ccd (patch)
tree61314f35e984fcec330da6976015eaf733ff4b0e
parentc6ccc95a78376638ec37a65d05145cef00853cd9 (diff)
downloadmeta-cloud-services-36ccdc92d58a2d16e9bf7979acc86ad80bc38ccd.tar.gz
python-enum-compat: Add python3 version
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--meta-openstack/recipes-devtools/python/python-enum-compat.inc10
-rw-r--r--meta-openstack/recipes-devtools/python/python-enum-compat_0.0.2.bb12
-rw-r--r--meta-openstack/recipes-devtools/python/python3-enum-compat_0.0.2.bb2
3 files changed, 14 insertions, 10 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-enum-compat.inc b/meta-openstack/recipes-devtools/python/python-enum-compat.inc
new file mode 100644
index 0000000..d1f7648
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-enum-compat.inc
@@ -0,0 +1,10 @@
1DESCRIPTION = "Python enum/enum34 compatibility package"
2HOMEPAGE = "https://github.com/jstasiak/enum-compat"
3SECTION = "devel/python"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
6
7SRC_URI[md5sum] = "3002940b6620837d0fbc86ec72509be3"
8SRC_URI[sha256sum] = "939ceff18186a5762ae4db9fa7bfe017edbd03b66526b798dd8245394c8a4192"
9
10inherit pypi
diff --git a/meta-openstack/recipes-devtools/python/python-enum-compat_0.0.2.bb b/meta-openstack/recipes-devtools/python/python-enum-compat_0.0.2.bb
index 3ae7bb4..36ab5af 100644
--- a/meta-openstack/recipes-devtools/python/python-enum-compat_0.0.2.bb
+++ b/meta-openstack/recipes-devtools/python/python-enum-compat_0.0.2.bb
@@ -1,10 +1,2 @@
1DESCRIPTION = "Python enum/enum34 compatibility package" 1inherit setuptools
2HOMEPAGE = "https://github.com/jstasiak/enum-compat" 2require python-enum-compat.inc
3SECTION = "devel/python"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
6
7SRC_URI[md5sum] = "3002940b6620837d0fbc86ec72509be3"
8SRC_URI[sha256sum] = "939ceff18186a5762ae4db9fa7bfe017edbd03b66526b798dd8245394c8a4192"
9
10inherit setuptools pypi
diff --git a/meta-openstack/recipes-devtools/python/python3-enum-compat_0.0.2.bb b/meta-openstack/recipes-devtools/python/python3-enum-compat_0.0.2.bb
new file mode 100644
index 0000000..a9bff30
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-enum-compat_0.0.2.bb
@@ -0,0 +1,2 @@
1inherit setuptools3
2require python-enum-compat.inc