Signed-off-by: Zang Ruochen <[email protected]> --- .../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
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 -- 2.20.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#4810): https://lists.yoctoproject.org/g/meta-virtualization/message/4810 Mute This Topic: https://lists.yoctoproject.org/mt/66234172/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
