package/python-colorama: new package

This package provides a simple cross-platform API for printing
colored terminal text.

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Matt Weber 2019-05-31 12:16:49 -05:00 committed by Thomas Petazzoni
parent 5d05e82135
commit ff85ea4fdf
5 changed files with 27 additions and 0 deletions

View File

@ -1525,6 +1525,7 @@ F: package/policycoreutils/
F: package/proftpd/
F: package/protobuf-c/
F: package/protobuf/
F: package/python-colorama/
F: package/python-flask-cors/
F: package/python-ipy/
F: package/python-posix-ipc/

View File

@ -853,6 +853,7 @@ menu "External python modules"
source "package/python-cherrypy/Config.in"
source "package/python-click/Config.in"
source "package/python-coherence/Config.in"
source "package/python-colorama/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_COLORAMA
bool "python-colorama"
help
Cross-platform colored terminal text.
https://github.com/tartley/colorama

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/colorama/json
md5 f927529cd1735f6f50ee2c61628e9c1f colorama-0.4.1.tar.gz
sha256 05eed71e2e327246ad6b38c540c4a3117230b19679b875190486ddd2d721422d colorama-0.4.1.tar.gz
# Locally computed sha256 checksums
sha256 cac35c02686e5d04a5a7140bfb3b36e73aed496656e891102e428886d7930318 LICENSE.txt

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-colorama
#
################################################################################
PYTHON_COLORAMA_VERSION = 0.4.1
PYTHON_COLORAMA_SOURCE = colorama-$(PYTHON_COLORAMA_VERSION).tar.gz
PYTHON_COLORAMA_SITE = https://files.pythonhosted.org/packages/76/53/e785891dce0e2f2b9f4b4ff5bc6062a53332ed28833c7afede841f46a5db
PYTHON_COLORAMA_SETUP_TYPE = setuptools
PYTHON_COLORAMA_LICENSE = BSD-3-Clause
PYTHON_COLORAMA_LICENSE_FILES = LICENSE.txt
$(eval $(python-package))