From 8a876b7fa413bd374b8c7652ae72fa2fe75377b2 Mon Sep 17 00:00:00 2001 From: zangrc Date: Wed, 4 Dec 2019 13:54:37 +0800 Subject: python-ordereddict: Add python3 version Signed-off-by: Zang Ruochen Signed-off-by: Bruce Ashfield --- .../recipes-devtools/python/python-ordereddict.inc | 21 ++++++++++++++++++++ .../python/python-ordereddict_1.1.bb | 23 ++-------------------- .../python/python3-ordereddict_1.1.bb | 2 ++ 3 files changed, 25 insertions(+), 21 deletions(-) create mode 100644 meta-openstack/recipes-devtools/python/python-ordereddict.inc create mode 100644 meta-openstack/recipes-devtools/python/python3-ordereddict_1.1.bb (limited to 'meta-openstack/recipes-devtools/python') diff --git a/meta-openstack/recipes-devtools/python/python-ordereddict.inc b/meta-openstack/recipes-devtools/python/python-ordereddict.inc new file mode 100644 index 0000000..fff4bf6 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-ordereddict.inc @@ -0,0 +1,21 @@ +DESCRIPTION = "A drop-in substitute for Py2.7's new collections.OrderedDict that works in Python 2.4-2.6." +HOMEPAGE = "https://pypi.python.org/pypi/ordereddict" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=7f0267460024072a9bbf135ee87a41b8" + +SRC_URI[md5sum] = "a0ed854ee442051b249bfad0f638bbec" +SRC_URI[sha256sum] = "1c35b4ac206cef2d24816c89f89cf289dd3d38cf7c449bb3fab7bf6d43f01b1f" + +inherit pypi + +# DEPENDS_default: python-pip + +DEPENDS += " \ + ${PYTHON_PN}-pip \ + " + +# RDEPENDS_default: +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-pip \ + " diff --git a/meta-openstack/recipes-devtools/python/python-ordereddict_1.1.bb b/meta-openstack/recipes-devtools/python/python-ordereddict_1.1.bb index 6102ecb..9aa3f3e 100644 --- a/meta-openstack/recipes-devtools/python/python-ordereddict_1.1.bb +++ b/meta-openstack/recipes-devtools/python/python-ordereddict_1.1.bb @@ -1,21 +1,2 @@ -DESCRIPTION = "A drop-in substitute for Py2.7's new collections.OrderedDict that works in Python 2.4-2.6." -HOMEPAGE = "https://pypi.python.org/pypi/ordereddict" -SECTION = "devel/python" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=7f0267460024072a9bbf135ee87a41b8" - -SRC_URI[md5sum] = "a0ed854ee442051b249bfad0f638bbec" -SRC_URI[sha256sum] = "1c35b4ac206cef2d24816c89f89cf289dd3d38cf7c449bb3fab7bf6d43f01b1f" - -inherit setuptools pypi - -# DEPENDS_default: python-pip - -DEPENDS += " \ - python-pip \ - " - -# RDEPENDS_default: -RDEPENDS_${PN} += " \ - python-pip \ - " +require python-ordereddict.inc +inherit setuptools diff --git a/meta-openstack/recipes-devtools/python/python3-ordereddict_1.1.bb b/meta-openstack/recipes-devtools/python/python3-ordereddict_1.1.bb new file mode 100644 index 0000000..46c08d0 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-ordereddict_1.1.bb @@ -0,0 +1,2 @@ +require python-ordereddict.inc +inherit setuptools3 -- cgit v1.2.3-54-g00ecf