From 6b73cbe165359eca0739949de51c79ae8c75bb58 Mon Sep 17 00:00:00 2001 From: zangrc Date: Thu, 5 Dec 2019 09:56:41 +0800 Subject: python-singledispatch: Add python3 version Signed-off-by: Zang Ruochen Signed-off-by: Bruce Ashfield --- .../recipes-devtools/python/python-singledispatch.inc | 10 ++++++++++ .../recipes-devtools/python/python-singledispatch_3.4.0.3.bb | 12 ++---------- .../python/python3-singledispatch_3.4.0.3.bb | 2 ++ 3 files changed, 14 insertions(+), 10 deletions(-) create mode 100644 meta-openstack/recipes-devtools/python/python-singledispatch.inc create mode 100644 meta-openstack/recipes-devtools/python/python3-singledispatch_3.4.0.3.bb (limited to 'meta-openstack/recipes-devtools/python') 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 @@ +DESCRIPTION = "functools.singledispatch from Python 3.4 to Python 2.6" +HOMEPAGE = "https://pypi.python.org/pypi/singledistpatch" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://README.rst;md5=ee3cd67264adc7eb07981f3644dc17dc" + +SRC_URI[md5sum] = "af2fc6a3d6cc5a02d0bf54d909785fcb" +SRC_URI[sha256sum] = "5b06af87df13818d14f08a028e42f566640aef80805c3b50c5056b086e3c2b9c" + +inherit 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 @@ -DESCRIPTION = "functools.singledispatch from Python 3.4 to Python 2.6" -HOMEPAGE = "https://pypi.python.org/pypi/singledistpatch" -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://README.rst;md5=ee3cd67264adc7eb07981f3644dc17dc" - -SRC_URI[md5sum] = "af2fc6a3d6cc5a02d0bf54d909785fcb" -SRC_URI[sha256sum] = "5b06af87df13818d14f08a028e42f566640aef80805c3b50c5056b086e3c2b9c" - -inherit setuptools pypi +require python-singledispatch.inc +inherit setuptools 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 @@ +require python-singledispatch.inc +inherit setuptools3 -- cgit v1.2.3-54-g00ecf