From 9595fb5deec730317b209844ad418646a4f60ca7 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Tue, 24 Aug 2021 11:18:12 +0300 Subject: python3-colorlog: Upgrade 5.0.1 -> 6.4.1 Upgrade to release 6.4.1: - Renamed colorlog.logging to colorlog.wrappers - Import log levels from the logging module - Dropped support for Python 2 and Python versions below 3.5 - Added type hints and added mypy to CI - Support 256 colour ANSI codes - Support "light" ANSI codes - Support the NO_COLOR environment variable, and a no_color option - Updated various examples and documentation - Merged TTYColoredFormatter into ColoredFormatter, and ensure no ANSI codes are printed when colors are disabled - Replaced LevelFormatter with a far simpler implementation - Fixed version_info check for the Formatter validate parameter - Define formatMessage instead of format, so that ColoredRecord is used in fewer places - Use setuptool's "normalised" format for the version number - Add PEP 561 typing marker so mypy can find type annotations - Renamed internal modules - colorlog.colorlog is now colorlog.formatter - colorlog.logging is now colorlog.wrappers - Removed colorlog.escape_codes object so that the colorlog.escape_codes module can be imported and used - Import log levels from the logging module Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-colorlog_5.0.1.bb | 10 ---------- meta-python/recipes-devtools/python/python3-colorlog_6.4.1.bb | 10 ++++++++++ 2 files changed, 10 insertions(+), 10 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-colorlog_5.0.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-colorlog_6.4.1.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-colorlog_5.0.1.bb b/meta-python/recipes-devtools/python/python3-colorlog_5.0.1.bb deleted file mode 100644 index 61b8152a1e..0000000000 --- a/meta-python/recipes-devtools/python/python3-colorlog_5.0.1.bb +++ /dev/null @@ -1,10 +0,0 @@ -DESCRIPTION = "A colored formatter for the python logging module" -HOMEPAGE = "https://github.com/borntyping/python-colorlog" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=5c3c6ebdec7792ae12df8d1c0a46b26a" - -inherit pypi setuptools3 - -PYPI_PACKAGE = "colorlog" - -SRC_URI[sha256sum] = "f17c013a06962b02f4449ee07cfdbe6b287df29efc2c9a1515b4a376f4e588ea" diff --git a/meta-python/recipes-devtools/python/python3-colorlog_6.4.1.bb b/meta-python/recipes-devtools/python/python3-colorlog_6.4.1.bb new file mode 100644 index 0000000000..59a0e94939 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-colorlog_6.4.1.bb @@ -0,0 +1,10 @@ +DESCRIPTION = "A colored formatter for the python logging module" +HOMEPAGE = "https://github.com/borntyping/python-colorlog" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=5c3c6ebdec7792ae12df8d1c0a46b26a" + +inherit pypi setuptools3 + +PYPI_PACKAGE = "colorlog" + +SRC_URI[sha256sum] = "af99440154a01f27c09256760ea3477982bf782721feaa345904e806879df4d8" -- cgit v1.2.3-54-g00ecf