package/python-termcolor: new package

ANSII Color formatting for output in terminal.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Asaf Kahlon 2019-07-27 09:33:04 +03:00 committed by Thomas Petazzoni
parent 74b080cbb2
commit 17533a0b38
4 changed files with 26 additions and 0 deletions

View File

@ -1075,6 +1075,7 @@ menu "External python modules"
source "package/python-systemd/Config.in"
source "package/python-tabledata/Config.in"
source "package/python-tempora/Config.in"
source "package/python-termcolor/Config.in"
source "package/python-terminaltables/Config.in"
source "package/python-texttable/Config.in"
source "package/python-thrift/Config.in"

View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_PYTHON_TERMCOLOR
bool "python-termcolor"
help
ANSII Color formatting for output in terminal.
http://pypi.python.org/pypi/termcolor

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/termcolor/json
md5 043e89644f8909d462fbbfa511c768df termcolor-1.1.0.tar.gz
sha256 1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b termcolor-1.1.0.tar.gz
# Locally computed sha256 checksums
sha256 497b3272b67b94a7aa58fa3748d21b62b29ccb783b1cda816f594e3932590bbf COPYING.txt

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-termcolor
#
################################################################################
PYTHON_TERMCOLOR_VERSION = 1.1.0
PYTHON_TERMCOLOR_SOURCE = termcolor-$(PYTHON_TERMCOLOR_VERSION).tar.gz
PYTHON_TERMCOLOR_SITE = https://files.pythonhosted.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981
PYTHON_TERMCOLOR_SETUP_TYPE = distutils
PYTHON_TERMCOLOR_LICENSE = MIT
PYTHON_TERMCOLOR_LICENSE_FILES = COPYING.txt
$(eval $(python-package))