package/python-colorama: new package
authorMatt Weber <matthew.weber@rockwellcollins.com>
Fri, 31 May 2019 17:16:49 +0000 (12:16 -0500)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 20 Jun 2019 19:51:51 +0000 (21:51 +0200)
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>
DEVELOPERS
package/Config.in
package/python-colorama/Config.in [new file with mode: 0644]
package/python-colorama/python-colorama.hash [new file with mode: 0644]
package/python-colorama/python-colorama.mk [new file with mode: 0644]

index 9d806db6f72034e25f160445d11d8b209279fef7..10e97ed53c0cdfcf793a082a65846de699e5c06b 100644 (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/
index 1ef6bcab2289e673d0766a31886558cc5fe859f2..91301408689141ceb5b072abf65a28d268e22d42 100644 (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"
diff --git a/package/python-colorama/Config.in b/package/python-colorama/Config.in
new file mode 100644 (file)
index 0000000..911effb
--- /dev/null
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_COLORAMA
+       bool "python-colorama"
+       help
+         Cross-platform colored terminal text.
+
+         https://github.com/tartley/colorama
diff --git a/package/python-colorama/python-colorama.hash b/package/python-colorama/python-colorama.hash
new file mode 100644 (file)
index 0000000..06f61f8
--- /dev/null
@@ -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
diff --git a/package/python-colorama/python-colorama.mk b/package/python-colorama/python-colorama.mk
new file mode 100644 (file)
index 0000000..2f4bc5e
--- /dev/null
@@ -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))