[Buildroot] [PATCH v2 1/3] python-xlrd: new package

Subsystems: the rest

6 messages, 2 authors, 2016-06-24 · open the first message on its own page

[Buildroot] [PATCH v2 1/3] python-xlrd: new package

From: yegorslists at googlemail.com <hidden>
Date: 2016-06-23 09:15:09

From: Yegor Yefremov <redacted>

Signed-off-by: Yegor Yefremov <redacted>
---
 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(+)
 create mode 100644 package/python-xlrd/Config.in
 create mode 100644 package/python-xlrd/python-xlrd.hash
 create mode 100644 package/python-xlrd/python-xlrd.mk
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..a31657a
--- /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, BSD-4c
+PYTHON_XLRD_LICENSE_FILES = xlrd/licences.py
+
+$(eval $(python-package))
-- 
2.1.4

[Buildroot] [PATCH v2 2/3] python-xlwt: new package

From: yegorslists at googlemail.com <hidden>
Date: 2016-06-23 09:15:10

From: Yegor Yefremov <redacted>

Signed-off-by: Yegor Yefremov <redacted>
---
Changes:
	v2: correct supported Python versions in package description (Baruch Siach)

 package/Config.in                    |  1 +
 package/python-xlwt/Config.in        |  8 ++++++++
 package/python-xlwt/python-xlwt.hash |  4 ++++
 package/python-xlwt/python-xlwt.mk   | 14 ++++++++++++++
 4 files changed, 27 insertions(+)
 create mode 100644 package/python-xlwt/Config.in
 create mode 100644 package/python-xlwt/python-xlwt.hash
 create mode 100644 package/python-xlwt/python-xlwt.mk
diff --git a/package/Config.in b/package/Config.in
index e5ddc3e..61d1d26 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -778,6 +778,7 @@ menu "External python modules"
 	source "package/python-wsaccel/Config.in"
 	source "package/python-xlrd/Config.in"
 	source "package/python-xlsxwriter/Config.in"
+	source "package/python-xlwt/Config.in"
 	source "package/python-zope-interface/Config.in"
 endmenu
 endif
diff --git a/package/python-xlwt/Config.in b/package/python-xlwt/Config.in
new file mode 100644
index 0000000..74a323f
--- /dev/null
+++ b/package/python-xlwt/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_XLWT
+	bool "python-xlwt"
+	help
+	  Library to create spreadsheet files compatible with MS Excel
+	  97/2000/XP/2003 XLS files, on any platform, with Python 2.6, 2.7,
+	  3.3+.
+
+	  http://www.python-excel.org/
diff --git a/package/python-xlwt/python-xlwt.hash b/package/python-xlwt/python-xlwt.hash
new file mode 100644
index 0000000..4cacf2b
--- /dev/null
+++ b/package/python-xlwt/python-xlwt.hash
@@ -0,0 +1,4 @@
+# md5 from https://pypi.python.org/pypi/xlwt/json
+md5	fadf8d1be8c5f071561c4145ed5f5b89  xlwt-1.1.2.tar.gz
+# sha256 calculated by scanpypi
+sha256	aed648c17731f40f84550dd2a1aaa53569f0cbcaf5610ba895cd2632587b723c  xlwt-1.1.2.tar.gz
diff --git a/package/python-xlwt/python-xlwt.mk b/package/python-xlwt/python-xlwt.mk
new file mode 100644
index 0000000..1b1a716
--- /dev/null
+++ b/package/python-xlwt/python-xlwt.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-xlwt
+#
+################################################################################
+
+PYTHON_XLWT_VERSION = 1.1.2
+PYTHON_XLWT_SOURCE = xlwt-$(PYTHON_XLWT_VERSION).tar.gz
+PYTHON_XLWT_SITE = https://pypi.python.org/packages/0b/69/644313df86e6375ec2c6b34ec8ac544b9cc7803b7d943223d32811860f3d
+PYTHON_XLWT_SETUP_TYPE = setuptools
+PYTHON_XLWT_LICENSE = BSD-3c, BSD-4c, LGPLv2.1+
+PYTHON_XLWT_LICENSE_FILES = docs/licenses.rst
+
+$(eval $(python-package))
-- 
2.1.4

[Buildroot] [PATCH v2 3/3] python-xlutils: new package

From: yegorslists at googlemail.com <hidden>
Date: 2016-06-23 09:15:11

From: Yegor Yefremov <redacted>

Signed-off-by: Yegor Yefremov <redacted>
---
 package/Config.in                          |  1 +
 package/python-xlutils/Config.in           |  9 +++++++++
 package/python-xlutils/python-xlutils.hash |  4 ++++
 package/python-xlutils/python-xlutils.mk   | 14 ++++++++++++++
 4 files changed, 28 insertions(+)
 create mode 100644 package/python-xlutils/Config.in
 create mode 100644 package/python-xlutils/python-xlutils.hash
 create mode 100644 package/python-xlutils/python-xlutils.mk
diff --git a/package/Config.in b/package/Config.in
index 61d1d26..8328d9e 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -778,6 +778,7 @@ menu "External python modules"
 	source "package/python-wsaccel/Config.in"
 	source "package/python-xlrd/Config.in"
 	source "package/python-xlsxwriter/Config.in"
+	source "package/python-xlutils/Config.in"
 	source "package/python-xlwt/Config.in"
 	source "package/python-zope-interface/Config.in"
 endmenu
diff --git a/package/python-xlutils/Config.in b/package/python-xlutils/Config.in
new file mode 100644
index 0000000..7788612
--- /dev/null
+++ b/package/python-xlutils/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_XLUTILS
+	bool "python-xlutils"
+	select BR2_PACKAGE_PYTHON_XLRD # runtime
+	select BR2_PACKAGE_PYTHON_XLWT # runtime
+	help
+	  Utilities for working with Excel files that require both xlrd and
+	  xlwt.
+
+	  http://www.python-excel.org
diff --git a/package/python-xlutils/python-xlutils.hash b/package/python-xlutils/python-xlutils.hash
new file mode 100644
index 0000000..4f99860
--- /dev/null
+++ b/package/python-xlutils/python-xlutils.hash
@@ -0,0 +1,4 @@
+# md5 from https://pypi.python.org/pypi/xlutils/json
+md5	7a6a339ddaacabce244341582ee61353  xlutils-2.0.0.tar.gz
+# sha256 calculated by scanpypi
+sha256	7e0e2c233bd185fecf5e2bd3f4e9469ca4a3bd87da64c82cfe5b2af27e7f9e54  xlutils-2.0.0.tar.gz
diff --git a/package/python-xlutils/python-xlutils.mk b/package/python-xlutils/python-xlutils.mk
new file mode 100644
index 0000000..fc26b3c
--- /dev/null
+++ b/package/python-xlutils/python-xlutils.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-xlutils
+#
+################################################################################
+
+PYTHON_XLUTILS_VERSION = 2.0.0
+PYTHON_XLUTILS_SOURCE = xlutils-$(PYTHON_XLUTILS_VERSION).tar.gz
+PYTHON_XLUTILS_SITE = https://pypi.python.org/packages/93/fe/af6d73e4bc7b0ce359d34bebb2e8d4d129763acfecd66a3a7efc587e54c9
+PYTHON_XLUTILS_SETUP_TYPE = setuptools
+PYTHON_XLUTILS_LICENSE = MIT
+PYTHON_XLUTILS_LICENSE_FILES = xlutils/license.txt
+
+$(eval $(python-package))
-- 
2.1.4

[Buildroot] [PATCH v2 1/3] python-xlrd: new package

From: Arnout Vandecappelle <hidden>
Date: 2016-06-23 20:56:55

On 23-06-16 11:15, yegorslists at googlemail.com wrote:
quoted hunk
From: Yegor Yefremov <redacted>

Signed-off-by: Yegor Yefremov <redacted>
---
 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(+)
 create mode 100644 package/python-xlrd/Config.in
 create mode 100644 package/python-xlrd/python-xlrd.hash
 create mode 100644 package/python-xlrd/python-xlrd.mk
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.
 I think it would be better to specify explicitly which Excel versions are
supported. It's all of them, but still, better to be explicit about it.
quoted hunk
+
+	  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..a31657a
--- /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, BSD-4c
 Even though licenses.py specifies BSD-4c, the actual source code doesn't. In
fact, several files explicitly mention that they are not derived from Giffin's
code. So I would say: just keep BSD-3c. licenses.py still contains the -4c so an
attentive legal department will still do vetting on their own.

 Regards,
 Arnout
+PYTHON_XLRD_LICENSE_FILES = xlrd/licences.py
+
+$(eval $(python-package))

-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

[Buildroot] [PATCH v2 1/3] python-xlrd: new package

From: Yegor Yefremov <hidden>
Date: 2016-06-24 06:27:30

Hi Arnout,

On Thu, Jun 23, 2016 at 10:56 PM, Arnout Vandecappelle [off-list ref] wrote:
On 23-06-16 11:15, yegorslists at googlemail.com wrote:
quoted
From: Yegor Yefremov <redacted>

Signed-off-by: Yegor Yefremov <redacted>
---
 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(+)
 create mode 100644 package/python-xlrd/Config.in
 create mode 100644 package/python-xlrd/python-xlrd.hash
 create mode 100644 package/python-xlrd/python-xlrd.mk
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.
 I think it would be better to specify explicitly which Excel versions are
supported. It's all of them, but still, better to be explicit about it.
Will do.
quoted
+
+       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..a31657a
--- /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, BSD-4c
 Even though licenses.py specifies BSD-4c, the actual source code doesn't. In
fact, several files explicitly mention that they are not derived from Giffin's
code. So I would say: just keep BSD-3c. licenses.py still contains the -4c so an
attentive legal department will still do vetting on their own.
Should I also reduce license types in xlwt too?

Yegor

[Buildroot] [PATCH v2 1/3] python-xlrd: new package

From: Arnout Vandecappelle <hidden>
Date: 2016-06-24 22:40:24

On 24-06-16 08:27, Yegor Yefremov wrote:
quoted
 Even though licenses.py specifies BSD-4c, the actual source code doesn't. In
fact, several files explicitly mention that they are not derived from Giffin's
code. So I would say: just keep BSD-3c. licenses.py still contains the -4c so an
attentive legal department will still do vetting on their own.
Should I also reduce license types in xlwt too?
 I haven't looked at xlwt, but probably yes. Just look at the headers in each
file to see if there is any with a BSD-4c or copyright Giffin.

 Regards,
 Arnout

-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help