summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzangrc <zangrc.fnst@cn.fujitsu.com>2019-12-05 09:56:41 +0800
committerBruce Ashfield <bruce.ashfield@gmail.com>2019-12-06 14:10:45 -0500
commit6b73cbe165359eca0739949de51c79ae8c75bb58 (patch)
treedc6d8ebcfa4cfd0b228fdd13fdd2d6d48c69a076
parentc79c8547a8af27622e498fe463a4986cbf3a29a5 (diff)
downloadmeta-cloud-services-6b73cbe165359eca0739949de51c79ae8c75bb58.tar.gz
python-singledispatch: 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-singledispatch.inc10
-rw-r--r--meta-openstack/recipes-devtools/python/python-singledispatch_3.4.0.3.bb12
-rw-r--r--meta-openstack/recipes-devtools/python/python3-singledispatch_3.4.0.3.bb2
3 files changed, 14 insertions, 10 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-singledispatch.inc b/meta-openstack/recipes-devtools/python/python-singledispatch.inc
new file mode 100644
index 0000000..3ea5026
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-singledispatch.inc
@@ -0,0 +1,10 @@
1DESCRIPTION = "functools.singledispatch from Python 3.4 to Python 2.6"
2HOMEPAGE = "https://pypi.python.org/pypi/singledistpatch"
3SECTION = "devel/python"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://README.rst;md5=ee3cd67264adc7eb07981f3644dc17dc"
6
7SRC_URI[md5sum] = "af2fc6a3d6cc5a02d0bf54d909785fcb"
8SRC_URI[sha256sum] = "5b06af87df13818d14f08a028e42f566640aef80805c3b50c5056b086e3c2b9c"
9
10inherit pypi
diff --git a/meta-openstack/recipes-devtools/python/python-singledispatch_3.4.0.3.bb b/meta-openstack/recipes-devtools/python/python-singledispatch_3.4.0.3.bb
index 1c92a99..47c6698 100644
--- a/meta-openstack/recipes-devtools/python/python-singledispatch_3.4.0.3.bb
+++ b/meta-openstack/recipes-devtools/python/python-singledispatch_3.4.0.3.bb
@@ -1,10 +1,2 @@
1DESCRIPTION = "functools.singledispatch from Python 3.4 to Python 2.6" 1require python-singledispatch.inc
2HOMEPAGE = "https://pypi.python.org/pypi/singledistpatch" 2inherit setuptools
3SECTION = "devel/python"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://README.rst;md5=ee3cd67264adc7eb07981f3644dc17dc"
6
7SRC_URI[md5sum] = "af2fc6a3d6cc5a02d0bf54d909785fcb"
8SRC_URI[sha256sum] = "5b06af87df13818d14f08a028e42f566640aef80805c3b50c5056b086e3c2b9c"
9
10inherit setuptools pypi
diff --git a/meta-openstack/recipes-devtools/python/python3-singledispatch_3.4.0.3.bb b/meta-openstack/recipes-devtools/python/python3-singledispatch_3.4.0.3.bb
new file mode 100644
index 0000000..0f4b483
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-singledispatch_3.4.0.3.bb
@@ -0,0 +1,2 @@
1require python-singledispatch.inc
2inherit setuptools3