From 9ee8a81a4608daae2d63a0a9a2bcba4bff833571 Mon Sep 17 00:00:00 2001 From: zangrc Date: Tue, 27 Oct 2020 13:04:52 +0800 Subject: python3-positional: Consolidate in a single file Consolidate inc and bb files into a single bb file. Signed-off-by: Zang Ruochen Signed-off-by: Bruce Ashfield --- .../recipes-devtools/python/python-positional.inc | 21 -------------------- .../python/python3-positional_1.2.1.bb | 23 ++++++++++++++++++++-- 2 files changed, 21 insertions(+), 23 deletions(-) delete mode 100644 meta-openstack/recipes-devtools/python/python-positional.inc diff --git a/meta-openstack/recipes-devtools/python/python-positional.inc b/meta-openstack/recipes-devtools/python/python-positional.inc deleted file mode 100644 index 736e691..0000000 --- a/meta-openstack/recipes-devtools/python/python-positional.inc +++ /dev/null @@ -1,21 +0,0 @@ -DESCRIPTION = "Library to enforce positional or key-word arguments" -HOMEPAGE = "https://github.com/morganfainberg/positional" -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=5335066555b14d832335aa4660d6c376" - -SRC_URI[md5sum] = "4afcffd8e2ba733fd7a50f137a2ee893" -SRC_URI[sha256sum] = "cf48ea169f6c39486d5efa0ce7126a97bed979a52af6261cf255a41f9a74453a" - -inherit pypi - -CLEANBROKEN = "1" - -# Satisfy setup.py 'setup_requires' -DEPENDS += " \ - ${PYTHON_PN}-pbr-native \ - " - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-wrapt \ -" diff --git a/meta-openstack/recipes-devtools/python/python3-positional_1.2.1.bb b/meta-openstack/recipes-devtools/python/python3-positional_1.2.1.bb index 3081cd2..5e2f178 100644 --- a/meta-openstack/recipes-devtools/python/python3-positional_1.2.1.bb +++ b/meta-openstack/recipes-devtools/python/python3-positional_1.2.1.bb @@ -1,2 +1,21 @@ -inherit setuptools3 -require python-positional.inc +DESCRIPTION = "Library to enforce positional or key-word arguments" +HOMEPAGE = "https://github.com/morganfainberg/positional" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=5335066555b14d832335aa4660d6c376" + +SRC_URI[md5sum] = "4afcffd8e2ba733fd7a50f137a2ee893" +SRC_URI[sha256sum] = "cf48ea169f6c39486d5efa0ce7126a97bed979a52af6261cf255a41f9a74453a" + +inherit setuptools3 pypi + +CLEANBROKEN = "1" + +# Satisfy setup.py 'setup_requires' +DEPENDS += " \ + ${PYTHON_PN}-pbr-native \ + " + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-wrapt \ +" -- cgit v1.2.3-54-g00ecf