package/python-colorlog: new package

Colorlog is a formatter for the python logging module.

Signed-off-by: Joris Offouga <offougajoris@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Joris Offouga 2019-09-16 13:55:03 +02:00 committed by Thomas Petazzoni
parent 7699ba4f38
commit 9de35edfed
5 changed files with 29 additions and 0 deletions

View File

@ -1226,6 +1226,9 @@ N: Jonathan Liu <net147@gmail.com>
F: package/python-meld3/
F: package/supervisor/
N: Joris Offouga <offougajoris@gmail.com>
F: package/python-colorlog/
N: Jörg Krause <joerg.krause@embedded.rocks>
F: board/lemaker/bananapro/
F: configs/bananapro_defconfig

View File

@ -859,6 +859,7 @@ menu "External python modules"
source "package/python-click/Config.in"
source "package/python-coherence/Config.in"
source "package/python-colorama/Config.in"
source "package/python-colorlog/Config.in"
source "package/python-configobj/Config.in"
source "package/python-configshell-fb/Config.in"
source "package/python-constantly/Config.in"

View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_PYTHON_COLORLOG
bool "python-colorlog"
help
Log formatting with colors.
https://github.com/borntyping/python-colorlog

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/colorlog/json
md5 292f0e1ecdea0910f4ea514378c6be29 colorlog-4.0.2.tar.gz
sha256 3cf31b25cbc8f86ec01fef582ef3b840950dea414084ed19ab922c8b493f9b42 colorlog-4.0.2.tar.gz
# Locally computed sha256 checksums
sha256 915d2c0c578d5015fb561f69ce2970a0d0ed566f0b99bdb6a4ebb439e9c81b0d LICENSE

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-colorlog
#
################################################################################
PYTHON_COLORLOG_VERSION = 4.0.2
PYTHON_COLORLOG_SOURCE = colorlog-$(PYTHON_COLORLOG_VERSION).tar.gz
PYTHON_COLORLOG_SITE = https://files.pythonhosted.org/packages/fc/30/6ba1282b773e9f44d9cfaafa38b6cc180441307c5fe0edd8db13a8903e3f
PYTHON_COLORLOG_SETUP_TYPE = setuptools
PYTHON_COLORLOG_LICENSE = MIT
PYTHON_COLORLOG_LICENSE_FILES = LICENSE
$(eval $(python-package))