From 0d539978ad6934f82a4ab064ea680f1b862726b0 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Thu, 25 Jun 2020 12:07:18 +0300 Subject: python3-coloredlogs: Upgrade 10.0 -> 14.0 Upgrade to release 14.0: - Integrate native Windows 10 support for ANSI escape sequences - Native support for ANSI escape sequences was added to Windows 10 after its initial release - Merged pull request #80 that drops support for Python 3.4 which has gone end-of-life and now represents less than 1% of PyPI downloads. - Improved compatibility with the Python standard library by changing the order of positional arguments received by the initializer of the ColoredFormatter class - Add support for the %(username)s field and properly document supported custom fields. - Consistently use console highlighting in documentation. - Fix a broken link in the readme. The year in LICENSE.txt has been updated. Signed-off-by: Leon Anavi Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../python/python3-coloredlogs_10.0.bb | 24 ---------------------- .../python/python3-coloredlogs_14.0.bb | 24 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 24 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-coloredlogs_10.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-coloredlogs_14.0.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-coloredlogs_10.0.bb b/meta-python/recipes-devtools/python/python3-coloredlogs_10.0.bb deleted file mode 100644 index 88fac87c7e..0000000000 --- a/meta-python/recipes-devtools/python/python3-coloredlogs_10.0.bb +++ /dev/null @@ -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 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" diff --git a/meta-python/recipes-devtools/python/python3-coloredlogs_14.0.bb b/meta-python/recipes-devtools/python/python3-coloredlogs_14.0.bb new file mode 100644 index 0000000000..64f3008ee0 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-coloredlogs_14.0.bb @@ -0,0 +1,24 @@ +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[md5sum] = "34cd8ef3f758b10c6f1482b2614a81f2" +SRC_URI[sha256sum] = "a1fab193d2053aa6c0a97608c4342d031f1f93a3d1218432c59322441d31a505" + +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" -- cgit v1.2.3-54-g00ecf