From 297b07d88ab0dfaaadbdecc814d458f8cbc6237e Mon Sep 17 00:00:00 2001 From: Yegor Yefremov Date: Mon, 6 Jun 2016 14:47:12 +0200 Subject: [PATCH] python-xlsxwriter: new package Signed-off-by: Yegor Yefremov Signed-off-by: Thomas Petazzoni --- package/Config.in | 1 + package/python-xlsxwriter/Config.in | 8 ++++++++ package/python-xlsxwriter/python-xlsxwriter.hash | 4 ++++ package/python-xlsxwriter/python-xlsxwriter.mk | 14 ++++++++++++++ 4 files changed, 27 insertions(+) create mode 100644 package/python-xlsxwriter/Config.in create mode 100644 package/python-xlsxwriter/python-xlsxwriter.hash create mode 100644 package/python-xlsxwriter/python-xlsxwriter.mk diff --git a/package/Config.in b/package/Config.in index 9f6e0d9669..46d7977c48 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 0000000000..3641bd0525 --- /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 0000000000..69bfc6f7bb --- /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 0000000000..af911cc03a --- /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))