[Buildroot] [git commit] python-xlrd: new package

Peter Korsgaard peter at korsgaard.com
Tue Jun 28 19:42:01 UTC 2016


commit: https://git.buildroot.net/buildroot/commit/?id=fb4aa6dc0590f5b9160d26bf478e9f3c71003ebe
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Yegor Yefremov <yegorslists at googlemail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/Config.in                    |  1 +
 package/python-xlrd/Config.in        | 11 +++++++++++
 package/python-xlrd/python-xlrd.hash |  4 ++++
 package/python-xlrd/python-xlrd.mk   | 14 ++++++++++++++
 4 files changed, 30 insertions(+)

diff --git a/package/Config.in b/package/Config.in
index a2a02a8..e5ddc3e 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -776,6 +776,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-xlrd/Config.in"
 	source "package/python-xlsxwriter/Config.in"
 	source "package/python-zope-interface/Config.in"
 endmenu
diff --git a/package/python-xlrd/Config.in b/package/python-xlrd/Config.in
new file mode 100644
index 0000000..81331f9
--- /dev/null
+++ b/package/python-xlrd/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_PYTHON_XLRD
+	bool "python-xlrd"
+	select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON
+	select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3
+	select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON
+	select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3
+	help
+	  Library for developers to extract data from Microsoft Excel (tm)
+	  spreadsheet files.
+
+	  http://www.python-excel.org/
diff --git a/package/python-xlrd/python-xlrd.hash b/package/python-xlrd/python-xlrd.hash
new file mode 100644
index 0000000..8075605
--- /dev/null
+++ b/package/python-xlrd/python-xlrd.hash
@@ -0,0 +1,4 @@
+# md5 from https://pypi.python.org/pypi/xlrd/json
+md5	9a91b688cd4945477ac28187a54f9a3b  xlrd-1.0.0.tar.gz
+# sha256 calculated by scanpypi
+sha256	0ff87dd5d50425084f7219cb6f86bb3eb5aa29063f53d50bf270ed007e941069  xlrd-1.0.0.tar.gz
diff --git a/package/python-xlrd/python-xlrd.mk b/package/python-xlrd/python-xlrd.mk
new file mode 100644
index 0000000..50f7624
--- /dev/null
+++ b/package/python-xlrd/python-xlrd.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-xlrd
+#
+################################################################################
+
+PYTHON_XLRD_VERSION = 1.0.0
+PYTHON_XLRD_SOURCE = xlrd-$(PYTHON_XLRD_VERSION).tar.gz
+PYTHON_XLRD_SITE = https://pypi.python.org/packages/42/85/25caf967c2d496067489e0bb32df069a8361e1fd96a7e9f35408e56b3aab
+PYTHON_XLRD_SETUP_TYPE = setuptools
+PYTHON_XLRD_LICENSE = BSD-3c
+PYTHON_XLRD_LICENSE_FILES = xlrd/licences.py
+
+$(eval $(python-package))


More information about the buildroot mailing list