summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2016-06-06 14:47:12 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-06-07 13:12:32 +0200
commit297b07d88ab0dfaaadbdecc814d458f8cbc6237e (patch)
tree4721425d896735c6c7d73669588c8f56bb89ad37
parenteda11417beaf360d48ae5e1d294cf3298b28ef36 (diff)
python-xlsxwriter: new package
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/Config.in1
-rw-r--r--package/python-xlsxwriter/Config.in8
-rw-r--r--package/python-xlsxwriter/python-xlsxwriter.hash4
-rw-r--r--package/python-xlsxwriter/python-xlsxwriter.mk14
4 files changed, 27 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 9f6e0d966..46d7977c4 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -765,6 +765,7 @@ menu "External python modules"
source "package/python-werkzeug/Config.in"
source "package/python-ws4py/Config.in"
source "package/python-wsaccel/Config.in"
+ source "package/python-xlsxwriter/Config.in"
source "package/python-zope-interface/Config.in"
endmenu
endif
diff --git a/package/python-xlsxwriter/Config.in b/package/python-xlsxwriter/Config.in
new file mode 100644
index 000000000..3641bd052
--- /dev/null
+++ b/package/python-xlsxwriter/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_XLSXWRITER
+ bool "python-xlsxwriter"
+ select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON
+ select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3
+ help
+ A Python module for creating Excel XLSX files.
+
+ https://github.com/jmcnamara/XlsxWriter
diff --git a/package/python-xlsxwriter/python-xlsxwriter.hash b/package/python-xlsxwriter/python-xlsxwriter.hash
new file mode 100644
index 000000000..69bfc6f7b
--- /dev/null
+++ b/package/python-xlsxwriter/python-xlsxwriter.hash
@@ -0,0 +1,4 @@
+# md5 from https://pypi.python.org/pypi/XlsxWriter/json
+md5 545c938f279abcfd7f11e705012302fe XlsxWriter-0.8.9.tar.gz
+# sha256 locally computed
+sha256 cb90c5283b88af72549adf82f203d15623a0f4faeae29b6a20733e187dfde882 XlsxWriter-0.8.9.tar.gz
diff --git a/package/python-xlsxwriter/python-xlsxwriter.mk b/package/python-xlsxwriter/python-xlsxwriter.mk
new file mode 100644
index 000000000..af911cc03
--- /dev/null
+++ b/package/python-xlsxwriter/python-xlsxwriter.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-xlsxwriter
+#
+################################################################################
+
+PYTHON_XLSXWRITER_VERSION = 0.8.9
+PYTHON_XLSXWRITER_SOURCE = XlsxWriter-$(PYTHON_XLSXWRITER_VERSION).tar.gz
+PYTHON_XLSXWRITER_SITE = https://pypi.python.org/packages/2a/de/4ee20ac103417662865e0e3acde859b002c13f52af0d50a2664d3eca5897
+PYTHON_XLSXWRITER_SETUP_TYPE = setuptools
+PYTHON_XLSXWRITER_LICENSE = BSD-2c
+PYTHON_XLSXWRITER_LICENSE_FILES = LICENSE.txt
+
+$(eval $(python-package))