package/python-termcolor: new package
authorAsaf Kahlon <asafka7@gmail.com>
Sat, 27 Jul 2019 06:33:04 +0000 (09:33 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 28 Jul 2019 07:36:44 +0000 (09:36 +0200)
ANSII Color formatting for output in terminal.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/Config.in
package/python-termcolor/Config.in [new file with mode: 0644]
package/python-termcolor/python-termcolor.hash [new file with mode: 0644]
package/python-termcolor/python-termcolor.mk [new file with mode: 0644]

index 90dddfd3461752cefd3c4ad16309f8d89f2637de..9b2cc7522d864fe25747f356f453e92ba3e5a017 100644 (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"
diff --git a/package/python-termcolor/Config.in b/package/python-termcolor/Config.in
new file mode 100644 (file)
index 0000000..e89da9b
--- /dev/null
@@ -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
diff --git a/package/python-termcolor/python-termcolor.hash b/package/python-termcolor/python-termcolor.hash
new file mode 100644 (file)
index 0000000..7cccc3e
--- /dev/null
@@ -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
diff --git a/package/python-termcolor/python-termcolor.mk b/package/python-termcolor/python-termcolor.mk
new file mode 100644 (file)
index 0000000..ccdff4c
--- /dev/null
@@ -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))