package: add python-texttable
authorPeter Korsgaard <peter@korsgaard.com>
Fri, 9 Mar 2018 19:16:57 +0000 (20:16 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 10 Mar 2018 07:37:17 +0000 (08:37 +0100)
Module for creating simple ASCII tables.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
DEVELOPERS
package/Config.in
package/python-texttable/Config.in [new file with mode: 0644]
package/python-texttable/python-texttable.hash [new file with mode: 0644]
package/python-texttable/python-texttable.mk [new file with mode: 0644]

index 27a906c19fdeef2dc9f9984a309ef892fff6f77d..877ad8a8db4445c2dd055cd810d0ec671efb7fbe 100644 (file)
@@ -1394,6 +1394,7 @@ F:        package/python-enum34/
 F:     package/python-ipaddr/
 F:     package/python-pam/
 F:     package/python-psutil/
+F:     package/python-texttable/
 F:     package/python-websocket-client/
 F:     package/triggerhappy/
 
index 1043338a7e01dc6c2fc44f6e27b2a0601455131f..6068ef573ee3d7f54af41c92f2fe46c8abe8b4fd 100644 (file)
@@ -932,6 +932,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-texttable/Config.in"
        source "package/python-typepy/Config.in"
        source "package/python-thrift/Config.in"
        source "package/python-tomako/Config.in"
diff --git a/package/python-texttable/Config.in b/package/python-texttable/Config.in
new file mode 100644 (file)
index 0000000..1c8dde8
--- /dev/null
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_TEXTTABLE
+       bool "python-texttable"
+       help
+         module for creating simple ASCII tables.
+
+         https://github.com/foutaise/texttable/
diff --git a/package/python-texttable/python-texttable.hash b/package/python-texttable/python-texttable.hash
new file mode 100644 (file)
index 0000000..448d6b7
--- /dev/null
@@ -0,0 +1,4 @@
+# md5 from https://pypi.python.org/pypi/texttable/json, sha256 locally computed
+md5    a712b5a5464d51c5fc43c64d9d2cd0de  texttable-0.9.1.tar.gz
+sha256 119041773ff03596b56392532f9315cb3a3116e404fd6f36e76a7dc088d95c79  texttable-0.9.1.tar.gz
+sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768  LICENSE
diff --git a/package/python-texttable/python-texttable.mk b/package/python-texttable/python-texttable.mk
new file mode 100644 (file)
index 0000000..96fe6cf
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-texttable
+#
+################################################################################
+
+PYTHON_TEXTTABLE_VERSION = 0.9.1
+PYTHON_TEXTTABLE_SOURCE = texttable-$(PYTHON_TEXTTABLE_VERSION).tar.gz
+PYTHON_TEXTTABLE_SITE = https://pypi.python.org/packages/02/e1/2565e6b842de7945af0555167d33acfc8a615584ef7abd30d1eae00a4d80
+PYTHON_TEXTTABLE_SETUP_TYPE = distutils
+PYTHON_TEXTTABLE_LICENSE = LGPL-3.0+
+PYTHON_TEXTTABLE_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))