From de973cfa97c333c39a3260b12e9f693da64a9cc5 Mon Sep 17 00:00:00 2001 From: zhengruoqin Date: Tue, 29 Sep 2020 11:20:22 +0800 Subject: python3-pathlib: Consolidate in a single file Consolidate inc and bb files into a single bb file. Signed-off-by: Zheng Ruoqin Signed-off-by: Bruce Ashfield --- .../recipes-devtools/python/python-pathlib.inc | 23 -------------------- .../python/python3-pathlib_1.0.1.bb | 25 ++++++++++++++++++++-- 2 files changed, 23 insertions(+), 25 deletions(-) delete mode 100644 meta-openstack/recipes-devtools/python/python-pathlib.inc (limited to 'meta-openstack/recipes-devtools/python') diff --git a/meta-openstack/recipes-devtools/python/python-pathlib.inc b/meta-openstack/recipes-devtools/python/python-pathlib.inc deleted file mode 100644 index 1df01f3..0000000 --- a/meta-openstack/recipes-devtools/python/python-pathlib.inc +++ /dev/null @@ -1,23 +0,0 @@ -SUMMARY = "Object-oriented filesystem paths" -DESCRIPTION = "pathlib offers a set of classes to handle filesystem paths. \ -It offers the following advantages over using string objects: \ -- No more cumbersome use of os and os.path functions. \ -- Embodies the semantics of different path types. \ -- Well-defined semantics, eliminating any warts or ambiguities. \ -" -HOMEPAGE = "https://pypi.python.org/pypi/pathlib" -SECTION = "devel/python" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b6557c860f0fc867aeab30afd649753" - -SRC_URI[md5sum] = "5099ed48be9b1ee29b31c82819240537" -SRC_URI[sha256sum] = "6940718dfc3eff4258203ad5021090933e5c04707d5ca8cc9e73c94a7894ea9f" - -inherit pypi - -DEPENDS += " \ - ${PYTHON_PN}-pip \ -" - -RDEPENDS_${PN} += " \ -" diff --git a/meta-openstack/recipes-devtools/python/python3-pathlib_1.0.1.bb b/meta-openstack/recipes-devtools/python/python3-pathlib_1.0.1.bb index afed21e..059b4ff 100644 --- a/meta-openstack/recipes-devtools/python/python3-pathlib_1.0.1.bb +++ b/meta-openstack/recipes-devtools/python/python3-pathlib_1.0.1.bb @@ -1,2 +1,23 @@ -require python-pathlib.inc -inherit setuptools3 +SUMMARY = "Object-oriented filesystem paths" +DESCRIPTION = "pathlib offers a set of classes to handle filesystem paths. \ +It offers the following advantages over using string objects: \ +- No more cumbersome use of os and os.path functions. \ +- Embodies the semantics of different path types. \ +- Well-defined semantics, eliminating any warts or ambiguities. \ +" +HOMEPAGE = "https://pypi.python.org/pypi/pathlib" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b6557c860f0fc867aeab30afd649753" + +SRC_URI[md5sum] = "5099ed48be9b1ee29b31c82819240537" +SRC_URI[sha256sum] = "6940718dfc3eff4258203ad5021090933e5c04707d5ca8cc9e73c94a7894ea9f" + +inherit setuptools3 pypi + +DEPENDS += " \ + ${PYTHON_PN}-pip \ +" + +RDEPENDS_${PN} += " \ +" -- cgit v1.2.3-54-g00ecf