Jelajahi Sumber

package/python-terminaltables: new package

Generate simple tables in terminals from a nested list of strings.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
James Hilliard 6 tahun lalu
induk
melakukan
5583fd1b03

+ 1 - 0
DEVELOPERS

@@ -1047,6 +1047,7 @@ F:	package/python-async-timeout/
 F:	package/python-cchardet/
 F:	package/python-multidict/
 F:	package/python-pycares/
+F:	package/python-terminaltables/
 F:	package/python-yarl/
 
 N:	James Knight <james.knight@rockwellcollins.com>

+ 1 - 0
package/Config.in

@@ -1051,6 +1051,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-terminaltables/Config.in"
 	source "package/python-texttable/Config.in"
 	source "package/python-thrift/Config.in"
 	source "package/python-tomako/Config.in"

+ 6 - 0
package/python-terminaltables/Config.in

@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_TERMINALTABLES
+	bool "python-terminaltables"
+	help
+	  Generate simple tables in terminals from a nested list of strings.
+
+	  https://github.com/Robpol86/terminaltables

+ 3 - 0
package/python-terminaltables/python-terminaltables.hash

@@ -0,0 +1,3 @@
+# md5, sha256 from https://pypi.org/pypi/terminaltables/json
+md5	863797674d8f75d22e16e6c1fdcbeb41  terminaltables-3.1.0.tar.gz
+sha256	f3eb0eb92e3833972ac36796293ca0906e998dc3be91fbe1f8615b331b853b81  terminaltables-3.1.0.tar.gz

+ 13 - 0
package/python-terminaltables/python-terminaltables.mk

@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-terminaltables
+#
+################################################################################
+
+PYTHON_TERMINALTABLES_VERSION = 3.1.0
+PYTHON_TERMINALTABLES_SOURCE = terminaltables-$(PYTHON_TERMINALTABLES_VERSION).tar.gz
+PYTHON_TERMINALTABLES_SITE = https://files.pythonhosted.org/packages/9b/c4/4a21174f32f8a7e1104798c445dacdc1d4df86f2f26722767034e4de4bff
+PYTHON_TERMINALTABLES_SETUP_TYPE = setuptools
+PYTHON_TERMINALTABLES_LICENSE = MIT
+
+$(eval $(python-package))