python-pytablewriter: new package
authorYegor Yefremov <yegorslists@googlemail.com>
Mon, 20 Jun 2016 08:07:02 +0000 (10:07 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 20 Jun 2016 20:52:48 +0000 (22:52 +0200)
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/Config.in
package/python-pytablewriter/Config.in [new file with mode: 0644]
package/python-pytablewriter/python-pytablewriter.hash [new file with mode: 0644]
package/python-pytablewriter/python-pytablewriter.mk [new file with mode: 0644]

index aa1da137f1e34d3f99a419298293910ac1619ee2..ce71afb7816a642a34f476db810e04bb4ffebb0d 100644 (file)
@@ -758,6 +758,7 @@ menu "External python modules"
        source "package/python-six/Config.in"
        source "package/python-smbus-cffi/Config.in"
        source "package/python-spidev/Config.in"
+       source "package/python-pytablewriter/Config.in"
        source "package/python-thrift/Config.in"
        source "package/python-tornado/Config.in"
        source "package/python-treq/Config.in"
diff --git a/package/python-pytablewriter/Config.in b/package/python-pytablewriter/Config.in
new file mode 100644 (file)
index 0000000..6c19745
--- /dev/null
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_PYTHON_PYTABLEWRITER
+       bool "python-pytablewriter"
+       select BR2_PACKAGE_PYTHON_DATAPROPERTY # runtime
+       select BR2_PACKAGE_PYTHON_DOMINATE # runtime
+       select BR2_PACKAGE_PYTHON_PATHVALIDATE # runtime
+       select BR2_PACKAGE_PYTHON_SIX # runtime
+       select BR2_PACKAGE_PYTHON_XLSXWRITER # runtime
+       help
+         pytablewriter is a python library to write a table in various
+         formats: CSV, HTML, JavaScript, JSON, Markdown, Excel, Pandas,
+         Python, reStructuredText.
+
+         https://github.com/thombashi/pytablewriter
diff --git a/package/python-pytablewriter/python-pytablewriter.hash b/package/python-pytablewriter/python-pytablewriter.hash
new file mode 100644 (file)
index 0000000..8684fca
--- /dev/null
@@ -0,0 +1,4 @@
+# md5 from https://pypi.python.org/pypi/pytablewriter/json
+md5    173ec08d6e0ded5219abaa1cb906ce62  pytablewriter-0.1.6.tar.gz
+# sha256 calculated by scanpypi
+sha256 7faee0d52b13048d89157a82c38a8fa19512df625572dd918b2f43944c034d2d  pytablewriter-0.1.6.tar.gz
diff --git a/package/python-pytablewriter/python-pytablewriter.mk b/package/python-pytablewriter/python-pytablewriter.mk
new file mode 100644 (file)
index 0000000..879102c
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-pytablewriter
+#
+################################################################################
+
+PYTHON_PYTABLEWRITER_VERSION = 0.1.6
+PYTHON_PYTABLEWRITER_SOURCE = pytablewriter-$(PYTHON_PYTABLEWRITER_VERSION).tar.gz
+PYTHON_PYTABLEWRITER_SITE = https://pypi.python.org/packages/da/34/394aeb8850d17a5e93ab931bc9fda1fbf598fe14e443be040c04f92cd1e3
+PYTHON_PYTABLEWRITER_SETUP_TYPE = setuptools
+PYTHON_PYTABLEWRITER_LICENSE = MIT
+PYTHON_PYTABLEWRITER_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))