Skip to contentSkip to conversation

python3-coloredlogs: consolidate inc and bb files into a single bb file

PATCH New Derek Straka 1 participant 1 message Feb 15, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-coloredlogs: consolidate inc and bb files into a single bb file

---
 .../python/python-coloredlogs.inc             | 24 -----------------
 .../python/python3-coloredlogs_10.0.bb        | 26 +++++++++++++++++--
 2 files changed, 24 insertions(+), 26 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python-coloredlogs.inc
meta-python/recipes-devtools/python/python-coloredlogs.inc deleted +0 -24
deleted file mode 100644
index bdb1d752c5..0000000000
@@ -1,24 +0,0 @@
-DESCRIPTION = "Colored terminal output for Python's logging module"
-HOMEPAGE = "https://coloredlogs.readthedocs.io"
-SECTION = "devel/python"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=690da298a43805797a4fa7bbe180b3c6"
-
-SRC_URI[md5sum] = "0a186966a1955fff8cf9489373e691d9"
-SRC_URI[sha256sum] = "b869a2dda3fa88154b9dd850e27828d8755bfab5a838a1c97fbc850c6e377c36"
-
-inherit pypi
-
-do_compile_prepend() {
-    sed -ie "s/find_pth_directory(),/'',/g" ${S}/setup.py
-}
-
-do_install_append() {
-    rm -rf ${D}${datadir}
-}
-
-RDEPENDS_${PN} += "\
-    ${PYTHON_PN}-humanfriendly \
-"
-
-BBCLASSEXTEND = "native"
meta-python/recipes-devtools/python/python3-coloredlogs_10.0.bb +24 -2
index 3872399665..88fac87c7e 100644
@@ -1,2 +1,24 @@
-inherit setuptools3
-require python-coloredlogs.inc
+DESCRIPTION = "Colored terminal output for Python's logging module"
+HOMEPAGE = "https://coloredlogs.readthedocs.io"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=690da298a43805797a4fa7bbe180b3c6"
+
+SRC_URI[md5sum] = "0a186966a1955fff8cf9489373e691d9"
+SRC_URI[sha256sum] = "b869a2dda3fa88154b9dd850e27828d8755bfab5a838a1c97fbc850c6e377c36"
+
+inherit pypi setuptools3
+
+do_compile_prepend() {
+    sed -ie "s/find_pth_directory(),/'',/g" ${S}/setup.py
+}
+
+do_install_append() {
+    rm -rf ${D}${datadir}
+}
+
+RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-humanfriendly \
+"
+
+BBCLASSEXTEND = "native"
Signature · 1 line
2.17.1