summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2020-02-15 12:29:24 -0500
committerKhem Raj <raj.khem@gmail.com>2020-02-16 12:52:19 -0800
commitfb58592c7042d7e2164d0c1da35793d17f85c008 (patch)
tree280ce9f7e2db1e9db48e5b2efaa1381823da6bf6
parent2f21a8ce5fdeaf0d8c9c0ae7d2be880be73fc003 (diff)
downloadmeta-openembedded-fb58592c7042d7e2164d0c1da35793d17f85c008.tar.gz
python3-coloredlogs: consolidate inc and bb files into a single bb file
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-python/recipes-devtools/python/python-coloredlogs.inc24
-rw-r--r--meta-python/recipes-devtools/python/python3-coloredlogs_10.0.bb26
2 files changed, 24 insertions, 26 deletions
diff --git a/meta-python/recipes-devtools/python/python-coloredlogs.inc b/meta-python/recipes-devtools/python/python-coloredlogs.inc
deleted file mode 100644
index bdb1d752c5..0000000000
--- a/meta-python/recipes-devtools/python/python-coloredlogs.inc
+++ /dev/null
@@ -1,24 +0,0 @@
1DESCRIPTION = "Colored terminal output for Python's logging module"
2HOMEPAGE = "https://coloredlogs.readthedocs.io"
3SECTION = "devel/python"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=690da298a43805797a4fa7bbe180b3c6"
6
7SRC_URI[md5sum] = "0a186966a1955fff8cf9489373e691d9"
8SRC_URI[sha256sum] = "b869a2dda3fa88154b9dd850e27828d8755bfab5a838a1c97fbc850c6e377c36"
9
10inherit pypi
11
12do_compile_prepend() {
13 sed -ie "s/find_pth_directory(),/'',/g" ${S}/setup.py
14}
15
16do_install_append() {
17 rm -rf ${D}${datadir}
18}
19
20RDEPENDS_${PN} += "\
21 ${PYTHON_PN}-humanfriendly \
22"
23
24BBCLASSEXTEND = "native"
diff --git a/meta-python/recipes-devtools/python/python3-coloredlogs_10.0.bb b/meta-python/recipes-devtools/python/python3-coloredlogs_10.0.bb
index 3872399665..88fac87c7e 100644
--- a/meta-python/recipes-devtools/python/python3-coloredlogs_10.0.bb
+++ b/meta-python/recipes-devtools/python/python3-coloredlogs_10.0.bb
@@ -1,2 +1,24 @@
1inherit setuptools3 1DESCRIPTION = "Colored terminal output for Python's logging module"
2require python-coloredlogs.inc 2HOMEPAGE = "https://coloredlogs.readthedocs.io"
3SECTION = "devel/python"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=690da298a43805797a4fa7bbe180b3c6"
6
7SRC_URI[md5sum] = "0a186966a1955fff8cf9489373e691d9"
8SRC_URI[sha256sum] = "b869a2dda3fa88154b9dd850e27828d8755bfab5a838a1c97fbc850c6e377c36"
9
10inherit pypi setuptools3
11
12do_compile_prepend() {
13 sed -ie "s/find_pth_directory(),/'',/g" ${S}/setup.py
14}
15
16do_install_append() {
17 rm -rf ${D}${datadir}
18}
19
20RDEPENDS_${PN} += "\
21 ${PYTHON_PN}-humanfriendly \
22"
23
24BBCLASSEXTEND = "native"