diff options
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-coloredlogs_15.0.bb')
-rw-r--r-- | meta-openembedded/meta-python/recipes-devtools/python/python3-coloredlogs_15.0.bb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-coloredlogs_15.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-coloredlogs_15.0.bb new file mode 100644 index 000000000..daeda6b2e --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-coloredlogs_15.0.bb @@ -0,0 +1,23 @@ +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=764e737b117a38d773609885e8d04f0b" + +SRC_URI[sha256sum] = "5e78691e2673a8e294499e1832bb13efcfb44a86b92e18109fa18951093218ab" + +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" |