From c0e6092f03a3dcffeb01bfa122f8a822f73409b6 Mon Sep 17 00:00:00 2001 From: zhengruoqin Date: Tue, 22 Sep 2020 10:27:37 +0800 Subject: python3-logutils: 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-logutils.inc | 16 ---------------- .../recipes-devtools/python/python3-logutils_0.3.5.bb | 18 ++++++++++++++++-- 2 files changed, 16 insertions(+), 18 deletions(-) delete mode 100644 meta-openstack/recipes-devtools/python/python-logutils.inc (limited to 'meta-openstack/recipes-devtools/python') diff --git a/meta-openstack/recipes-devtools/python/python-logutils.inc b/meta-openstack/recipes-devtools/python/python-logutils.inc deleted file mode 100644 index 87ab631..0000000 --- a/meta-openstack/recipes-devtools/python/python-logutils.inc +++ /dev/null @@ -1,16 +0,0 @@ -DESCRIPTION = "Set of handlers for the Python standard library's logging package" -HOMEPAGE = "https://pypi.python.org/pypi/logutils" -SECTION = "devel/python" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=44c35f0b8e2a27a2f33a4e4a5c65d014" - -SRC_URI[md5sum] = "fcd2f8e9217bfa0b580f253b35a9d954" -SRC_URI[sha256sum] = "bc058a25d5c209461f134e1f03cab637d66a7a5ccc12e593db56fbb279899a82" - -inherit pypi - -# avoid "error: option --single-version-externally-managed not recognized" -DISTUTILS_INSTALL_ARGS = "--root=${D} \ - --prefix=${prefix} \ - --install-lib=${PYTHON_SITEPACKAGES_DIR} \ - --install-data=${datadir}" diff --git a/meta-openstack/recipes-devtools/python/python3-logutils_0.3.5.bb b/meta-openstack/recipes-devtools/python/python3-logutils_0.3.5.bb index 4d760e0..c006855 100644 --- a/meta-openstack/recipes-devtools/python/python3-logutils_0.3.5.bb +++ b/meta-openstack/recipes-devtools/python/python3-logutils_0.3.5.bb @@ -1,2 +1,16 @@ -inherit setuptools3 -require python-logutils.inc +DESCRIPTION = "Set of handlers for the Python standard library's logging package" +HOMEPAGE = "https://pypi.python.org/pypi/logutils" +SECTION = "devel/python" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=44c35f0b8e2a27a2f33a4e4a5c65d014" + +SRC_URI[md5sum] = "fcd2f8e9217bfa0b580f253b35a9d954" +SRC_URI[sha256sum] = "bc058a25d5c209461f134e1f03cab637d66a7a5ccc12e593db56fbb279899a82" + +inherit setuptools3 pypi + +# avoid "error: option --single-version-externally-managed not recognized" +DISTUTILS_INSTALL_ARGS = "--root=${D} \ + --prefix=${prefix} \ + --install-lib=${PYTHON_SITEPACKAGES_DIR} \ + --install-data=${datadir}" -- cgit v1.2.3-54-g00ecf