package/python3: add optional support for lzma
PATCH v4 1/10 package/python3: add optional support for lzma
Needed by the upcoming python-mwscrape2slob package.
---
v4: no changes
v3: no changes, included in mwscrape2slob patch series
v2: never released
package/python3/Config.in | 6 ++++++ package/python3/python3.mk | 4 ++++ 2 files changed, 10 insertions(+)
package/python3/Config.in +6 -0
@@ -98,6 +98,12 @@ config BR2_PACKAGE_PYTHON3_PYEXPAT help pyexpat and xml libraries for Python3. +config BR2_PACKAGE_PYTHON3_XZ + select BR2_PACKAGE_XZ + bool "xz module" + help + xz (a.k.a lzma) module for Python3 + config BR2_PACKAGE_PYTHON3_ZLIB bool "zlib module" select BR2_PACKAGE_ZLIB
package/python3/python3.mk +4 -0
@@ -103,6 +103,10 @@ ifeq ($(BR2_PACKAGE_PYTHON3_BZIP2),y) PYTHON3_DEPENDENCIES += bzip2 endif +ifeq ($(BR2_PACKAGE_PYTHON3_XZ),y) +PYTHON3_DEPENDENCIES += xz +endif + ifeq ($(BR2_PACKAGE_PYTHON3_ZLIB),y) PYTHON3_DEPENDENCIES += zlib endif
Signature · 1 line
2.9.3
PATCH v4 2/10 package/python-couchdb: new package
Needed by upcoming python-mwscrape package.
---
v4: no changes
v3: added SSL runtime dependency
v2: fix license, clarify in help text that this module provides a
CouchDB client, the server can run on a remote machine (Thomas)
package/Config.in | 1 + package/python-couchdb/Config.in | 8 ++++++++ package/python-couchdb/python-couchdb.hash | 3 +++ package/python-couchdb/python-couchdb.mk | 14 ++++++++++++++ 4 files changed, 26 insertions(+) create mode 100644 package/python-couchdb/Config.in create mode 100644 package/python-couchdb/python-couchdb.hash create mode 100644 package/python-couchdb/python-couchdb.mk
package/Config.in +1 -0
@@ -657,6 +657,7 @@ menu "External python modules" source "package/python-coherence/Config.in" source "package/python-configobj/Config.in" source "package/python-configshell-fb/Config.in" + source "package/python-couchdb/Config.in" source "package/python-crc16/Config.in" source "package/python-crcmod/Config.in" source "package/python-crossbar/Config.in"
package/python-couchdb/Config.in new file +8 -0
@@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_COUCHDB + bool "python-couchdb" + select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON # runtime + select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3 # runtime + help + Python client library for working with CouchDB. + + https://github.com/djc/couchdb-python/
package/python-couchdb/python-couchdb.hash new file +3 -0
@@ -0,0 +1,3 @@ +# md5 from https://pypi.python.org/pypi/couchdb/json, sha256 locally computed +md5 2ed5ad2a477fd3cb472ed6dc5a381ff3 CouchDB-1.1.tar.gz +sha256 9503ea413956c33b5e2af248235afb5e0f011f33f816a32e872f8ff9b0a0e710 CouchDB-1.1.tar.gz
package/python-couchdb/python-couchdb.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# python-couchdb +# +################################################################################ + +PYTHON_COUCHDB_VERSION = 1.1 +PYTHON_COUCHDB_SOURCE = CouchDB-$(PYTHON_COUCHDB_VERSION).tar.gz +PYTHON_COUCHDB_SITE = https://pypi.python.org/packages/9a/e8/c3c8da6d00145aaca07f2b784794917613dad26532068da4e8392dc48d7f +PYTHON_COUCHDB_SETUP_TYPE = setuptools +PYTHON_COUCHDB_LICENSE = BSD-3c +PYTHON_COUCHDB_LICENSE_FILES = COPYING + +$(eval $(python-package))
Signature · 1 line
2.9.3
Thomas Petazzoni
AppliedPATCH v4 2/10 package/python-couchdb: new package
Hello,
Quoted 8 lines · Bernd Kuhls
Needed by upcoming python-mwscrape package.
Signed-off-by Bernd Kuhls <[email protected]>---
v4: no changes
v3: added SSL runtime dependency
v2: fix license, clarify in help text that this module provides a
CouchDB client, the server can run on a remote machine (Thomas)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH v4 3/10 package/python-futures: new package
In reply to Bernd KuhlsNeeded by upcoming python-mwscrape package.
---
v4: no changes
v3: no changes, included in mwscrape2slob patch series
v2: fix license (Thomas)
package/Config.in | 1 + package/python-futures/Config.in | 7 +++++++ package/python-futures/python-futures.hash | 3 +++ package/python-futures/python-futures.mk | 14 ++++++++++++++ 4 files changed, 25 insertions(+) create mode 100644 package/python-futures/Config.in create mode 100644 package/python-futures/python-futures.hash create mode 100644 package/python-futures/python-futures.mk
package/Config.in +1 -0
@@ -682,6 +682,7 @@ menu "External python modules" source "package/python-flask-jsonrpc/Config.in" source "package/python-flask-login/Config.in" source "package/python-flup/Config.in" + source "package/python-futures/Config.in" source "package/python-gobject/Config.in" source "package/python-html5lib/Config.in" source "package/python-httplib2/Config.in"
package/python-futures/Config.in new file +7 -0
@@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_FUTURES + bool "python-futures" + depends on BR2_PACKAGE_PYTHON # not needed for python3 + help + Backport of the concurrent.futures package from Python 3.2. + + https://github.com/agronholm/pythonfutures
package/python-futures/python-futures.hash new file +3 -0
@@ -0,0 +1,3 @@ +# md5 from https://pypi.python.org/pypi/futures/json, sha256 locally computed +md5 ced2c365e518242512d7a398b515ff95 futures-3.0.5.tar.gz +sha256 0542525145d5afc984c88f914a0c85c77527f65946617edb5274f72406f981df futures-3.0.5.tar.gz
package/python-futures/python-futures.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# python-futures +# +################################################################################ + +PYTHON_FUTURES_VERSION = 3.0.5 +PYTHON_FUTURES_SOURCE = futures-$(PYTHON_FUTURES_VERSION).tar.gz +PYTHON_FUTURES_SITE = https://pypi.python.org/packages/55/db/97c1ca37edab586a1ae03d6892b6633d8eaa23b23ac40c7e5bbc55423c78 +PYTHON_FUTURES_SETUP_TYPE = setuptools +PYTHON_FUTURES_LICENSE = BSD-2c +PYTHON_FUTURES_LICENSE_FILES = LICENSE + +$(eval $(python-package))
Signature · 1 line
2.9.3
Thomas Petazzoni
AppliedPATCH v4 3/10 package/python-futures: new package
Hello,
Quoted 7 lines · Bernd Kuhls
Needed by upcoming python-mwscrape package.
Signed-off-by Bernd Kuhls <[email protected]>---
v4: no changes
v3: no changes, included in mwscrape2slob patch series
v2: fix license (Thomas)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH v4 4/10 package/python-pylru: new package
In reply to Bernd KuhlsNeeded by upcoming python-mwscrape package.
---
v4: no changes
v3: no changes, included in mwscrape2slob patch series
v2: fix license (Thomas)
package/Config.in | 1 + package/python-pylru/Config.in | 6 ++++++ package/python-pylru/python-pylru.hash | 3 +++ package/python-pylru/python-pylru.mk | 14 ++++++++++++++ 4 files changed, 24 insertions(+) create mode 100644 package/python-pylru/Config.in create mode 100644 package/python-pylru/python-pylru.hash create mode 100644 package/python-pylru/python-pylru.mk
package/Config.in +1 -0
@@ -736,6 +736,7 @@ menu "External python modules" source "package/python-pygame/Config.in" source "package/python-pygments/Config.in" source "package/python-pyinotify/Config.in" + source "package/python-pylru/Config.in" source "package/python-pymysql/Config.in" source "package/python-pynacl/Config.in" source "package/python-pyopenssl/Config.in"
package/python-pylru/Config.in new file +6 -0
@@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_PYLRU + bool "python-pylru" + help + A least recently used (LRU) cache implementation. + + https://github.com/jlhutch/pylru
package/python-pylru/python-pylru.hash new file +3 -0
@@ -0,0 +1,3 @@ +# md5 from https://pypi.python.org/pypi/pylru/json, sha256 locally computed +md5 41369d58a1c4391c5cc36f84262abcdc pylru-1.0.9.tar.gz +sha256 71376192671f0ad1690b2a7427d39a29b1df994c8469a9b46b03ed7e28c0172c pylru-1.0.9.tar.gz
package/python-pylru/python-pylru.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# python-pylru +# +################################################################################ + +PYTHON_PYLRU_VERSION = 1.0.9 +PYTHON_PYLRU_SOURCE = pylru-$(PYTHON_PYLRU_VERSION).tar.gz +PYTHON_PYLRU_SITE = https://pypi.python.org/packages/c0/7d/0de1055632f3871dfeaabe5a3f0510317cd98b93e7b792b44e4c7de2b17b +PYTHON_PYLRU_SETUP_TYPE = distutils +PYTHON_PYLRU_LICENSE = GPLv2 +PYTHON_PYLRU_LICENSE_FILES = LICENSE.txt + +$(eval $(python-package))
Signature · 1 line
2.9.3
Thomas Petazzoni
AppliedPATCH v4 4/10 package/python-pylru: new package
Hello,
Quoted 7 lines · Bernd Kuhls
Needed by upcoming python-mwscrape package.
Signed-off-by Bernd Kuhls <[email protected]>---
v4: no changes
v3: no changes, included in mwscrape2slob patch series
v2: fix license (Thomas)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH v4 5/10 package/python-mwclient: new package
In reply to Bernd KuhlsNeeded by upcoming python-mwscrape package.
---
v4: added upstream patch for python3 compatability (Yegor)
v3: no changes, included in mwscrape2slob patch series
v2: removed build dependencies (Thomas)
added license file; needed to add a source code file, LICENSE.md is not part of the tarball provided by pypi (Thomas)
package/Config.in | 1 + .../0001-use-exec-in-py3-compatible-manner.patch | 36 ++++++++++++++++++++++ package/python-mwclient/Config.in | 8 +++++ package/python-mwclient/python-mwclient.hash | 3 ++ package/python-mwclient/python-mwclient.mk | 14 +++++++++ 5 files changed, 62 insertions(+) create mode 100644 package/python-mwclient/0001-use-exec-in-py3-compatible-manner.patch create mode 100644 package/python-mwclient/Config.in create mode 100644 package/python-mwclient/python-mwclient.hash create mode 100644 package/python-mwclient/python-mwclient.mk
package/Config.in +1 -0
@@ -709,6 +709,7 @@ menu "External python modules" source "package/python-meld3/Config.in" source "package/python-mistune/Config.in" source "package/python-msgpack/Config.in" + source "package/python-mwclient/Config.in" source "package/python-netaddr/Config.in" source "package/python-netifaces/Config.in" source "package/python-networkmanager/Config.in"
package/python-mwclient/0001-use-exec-in-py3-compatible-manner.patch new file +36 -0
@@ -0,0 +1,36 @@ +From 5de1bb82465d39962e26175c62f644a3e423d030 Mon Sep 17 00:00:00 2001 +From: Adam Williamson <[email protected]> +Date: Thu, 21 Jan 2016 17:21:52 -0800 +Subject: [PATCH] use 'exec' in py3-compatible manner + +per https://docs.python.org/2/reference/simple_stmts.html , +as exec is a function not a statement in py3, the py2 version +has been set to allow the subsequent statement to be a tuple, +so we can invoke it like this to make it both py2 and py3 +compatible. Without this, byte-compiling the file fails under +py3. + +Signed-off-by: Bernd Kuhls <[email protected]> +--- +downloaded from upstream commit: +https://github.com/mwclient/mwclient/commit/5de1bb82465d39962e26175c62f644a3e423d030 + + mwclient/ex.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/mwclient/ex.py b/mwclient/ex.py +index db4006c..c0b1eae 100644 +--- a/mwclient/ex.py ++++ b/mwclient/ex.py +@@ -12,7 +12,7 @@ def read_config(config_files, **predata): + + def _read_config_file(_config_file, predata): + _file = open(_config_file) +- exec _file in globals(), predata ++ exec(_file, globals(), predata) + _file.close() + + for _k, _v in predata.iteritems(): +-- +2.9.3 +
package/python-mwclient/Config.in new file +8 -0
@@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_MWCLIENT + bool "python-mwclient" + select BR2_PACKAGE_PYTHON_REQUESTS # runtime + select BR2_PACKAGE_PYTHON_SIX # runtime + help + MediaWiki API client. + + https://github.com/btongminh/mwclient
package/python-mwclient/python-mwclient.hash new file +3 -0
@@ -0,0 +1,3 @@ +# md5 from https://pypi.python.org/pypi/mwclient/json, sha256 locally computed +md5 c1334facf2d6ca54fe6dba4ab75ecf34 mwclient-0.8.1.tar.gz +sha256 5f892711cc0b23ff2a6d8b7986ee63cd43fd1ec92b0783604ffa7613cd1662e4 mwclient-0.8.1.tar.gz
package/python-mwclient/python-mwclient.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# python-mwclient +# +################################################################################ + +PYTHON_MWCLIENT_VERSION = 0.8.1 +PYTHON_MWCLIENT_SOURCE = mwclient-$(PYTHON_MWCLIENT_VERSION).tar.gz +PYTHON_MWCLIENT_SITE = https://pypi.python.org/packages/19/79/481b288a497f625ee8f76141ff3472d81428b1f14b7155a28a63a3247197 +PYTHON_MWCLIENT_LICENSE = MIT +PYTHON_MWCLIENT_LICENSE_FILES = mwclient/__init__.py +PYTHON_MWCLIENT_SETUP_TYPE = setuptools + +$(eval $(python-package))
Signature · 1 line
2.9.3
PATCH v4 5/10 package/python-mwclient: new package
Quoted 3 lines · Bernd Kuhls
Needed by upcoming python-mwscrape package.
Signed-off-by Bernd Kuhls <[email protected]>
Quoted 118 lines
---
v4: added upstream patch for python3 compatability (Yegor)
v3: no changes, included in mwscrape2slob patch series
v2: removed build dependencies (Thomas)
added license file; needed to add a source code file, LICENSE.md is not part of the tarball provided by pypi (Thomas)package/Config.in | 1 + .../0001-use-exec-in-py3-compatible-manner.patch | 36 ++++++++++++++++++++++ package/python-mwclient/Config.in | 8 +++++ package/python-mwclient/python-mwclient.hash | 3 ++ package/python-mwclient/python-mwclient.mk | 14 +++++++++ 5 files changed, 62 insertions(+) create mode 100644 package/python-mwclient/0001-use-exec-in-py3-compatible-manner.patch create mode 100644 package/python-mwclient/Config.in create mode 100644 package/python-mwclient/python-mwclient.hash create mode 100644 package/python-mwclient/python-mwclient.mkpackage/Config.in +1
-0@@ -709,6 +709,7 @@ menu "External python modules" source "package/python-meld3/Config.in" source "package/python-mistune/Config.in" source "package/python-msgpack/Config.in" + source "package/python-mwclient/Config.in" source "package/python-netaddr/Config.in" source "package/python-netifaces/Config.in" source "package/python-networkmanager/Config.in"package/python-mwclient/0001-use-exec-in-py3-compatible-manner.patch new file +36
-0@@ -0,0 +1,36 @@ +From 5de1bb82465d39962e26175c62f644a3e423d030 Mon Sep 17 00:00:00 2001 +From: Adam Williamson <[email protected]> +Date: Thu, 21 Jan 2016 17:21:52 -0800 +Subject: [PATCH] use 'exec' in py3-compatible manner + +per https://docs.python.org/2/reference/simple_stmts.html , +as exec is a function not a statement in py3, the py2 version +has been set to allow the subsequent statement to be a tuple, +so we can invoke it like this to make it both py2 and py3 +compatible. Without this, byte-compiling the file fails under +py3. + +Signed-off-by: Bernd Kuhls <[email protected]> +--- +downloaded from upstream commit: +https://github.com/mwclient/mwclient/commit/5de1bb82465d39962e26175c62f644a3e423d030 + + mwclient/ex.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/mwclient/ex.py b/mwclient/ex.py +index db4006c..c0b1eae 100644 +--- a/mwclient/ex.py ++++ b/mwclient/ex.py +@@ -12,7 +12,7 @@ def read_config(config_files, **predata): + + def _read_config_file(_config_file, predata): + _file = open(_config_file) +- exec _file in globals(), predata ++ exec(_file, globals(), predata) + _file.close() + + for _k, _v in predata.iteritems(): +-- +2.9.3 +package/python-mwclient/Config.in new file +8
-0@@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_MWCLIENT + bool "python-mwclient" + select BR2_PACKAGE_PYTHON_REQUESTS # runtime + select BR2_PACKAGE_PYTHON_SIX # runtime + help + MediaWiki API client. + + https://github.com/btongminh/mwclientpackage/python-mwclient/python-mwclient.hash new file +3
-0@@ -0,0 +1,3 @@ +# md5 from https://pypi.python.org/pypi/mwclient/json, sha256 locally computed +md5 c1334facf2d6ca54fe6dba4ab75ecf34 mwclient-0.8.1.tar.gz +sha256 5f892711cc0b23ff2a6d8b7986ee63cd43fd1ec92b0783604ffa7613cd1662e4 mwclient-0.8.1.tar.gzpackage/python-mwclient/python-mwclient.mk new file +14
-1@@ -0,0 +1,14 @@ +################################################################################ +# +# python-mwclient +# +################################################################################ + +PYTHON_MWCLIENT_VERSION = 0.8.1 +PYTHON_MWCLIENT_SOURCE = mwclient-$(PYTHON_MWCLIENT_VERSION).tar.gz +PYTHON_MWCLIENT_SITE = https://pypi.python.org/packages/19/79/481b288a497f625ee8f76141ff3472d81428b1f14b7155a28a63a3247197 +PYTHON_MWCLIENT_LICENSE = MIT +PYTHON_MWCLIENT_LICENSE_FILES = mwclient/__init__.py +PYTHON_MWCLIENT_SETUP_TYPE = setuptools + +$(eval $(python-package)) --2.9.3
Thomas Petazzoni
AppliedPATCH v4 5/10 package/python-mwclient: new package
In reply to Bernd KuhlsHello,
Quoted 9 lines · Bernd Kuhls
Needed by upcoming python-mwscrape package.
Signed-off-by Bernd Kuhls <[email protected]>---
v4: added upstream patch for python3 compatability (Yegor)
v3: no changes, included in mwscrape2slob patch series
v2: removed build dependencies (Thomas)
added license file; needed to add a source code file, LICENSE.md is not part of the tarball provided by pypi (Thomas)
Applied to master, thanks. It would be good to contact upstream and ask for the LICENSE.md file to be added in the tarball provided by pypi.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH v4 6/10 package/python-mwscrape: new package
In reply to Bernd Kuhls---
v4: no changes
v3: no changes, included in mwscrape2slob patch series
v2: reworked dependencies (Thomas)
package/Config.in | 1 + package/python-mwscrape/Config.in | 11 +++++++++++ package/python-mwscrape/python-mwscrape.hash | 2 ++ package/python-mwscrape/python-mwscrape.mk | 13 +++++++++++++ 4 files changed, 27 insertions(+) create mode 100644 package/python-mwscrape/Config.in create mode 100644 package/python-mwscrape/python-mwscrape.hash create mode 100644 package/python-mwscrape/python-mwscrape.mk
package/Config.in +1 -0
@@ -710,6 +710,7 @@ menu "External python modules" source "package/python-mistune/Config.in" source "package/python-msgpack/Config.in" source "package/python-mwclient/Config.in" + source "package/python-mwscrape/Config.in" source "package/python-netaddr/Config.in" source "package/python-netifaces/Config.in" source "package/python-networkmanager/Config.in"
package/python-mwscrape/Config.in new file +11 -0
@@ -0,0 +1,11 @@ +config BR2_PACKAGE_PYTHON_MWSCRAPE + bool "python-mwscrape" + depends on BR2_PACKAGE_PYTHON + select BR2_PACKAGE_PYTHON_COUCHDB # runtime + select BR2_PACKAGE_PYTHON_FUTURES # runtime + select BR2_PACKAGE_PYTHON_MWCLIENT # runtime + select BR2_PACKAGE_PYTHON_PYLRU # runtime + help + Download rendered articles from MediaWiki API to CouchDB + + https://github.com/itkach/mwscrape
package/python-mwscrape/python-mwscrape.hash new file +2 -0
@@ -0,0 +1,2 @@ +# Locally computed +sha256 8de8a5ef257851f6e1e41247f64710f48859a5e3f91ebc7200bb60769f02f296 python-mwscrape-6a58d7801eb1e884fd0516f1adbedbd4481c10e6.tar.gz
package/python-mwscrape/python-mwscrape.mk new file +13 -0
@@ -0,0 +1,13 @@ +################################################################################ +# +# python-mwscrape +# +################################################################################ + +PYTHON_MWSCRAPE_VERSION = 6a58d7801eb1e884fd0516f1adbedbd4481c10e6 +PYTHON_MWSCRAPE_SITE = $(call github,itkach,mwscrape,$(PYTHON_MWSCRAPE_VERSION)) +PYTHON_MWSCRAPE_LICENSE = BSD-3c +PYTHON_MWSCRAPE_LICENSE_FILES = LICENSE.txt +PYTHON_MWSCRAPE_SETUP_TYPE = distutils + +$(eval $(python-package))
Signature · 1 line
2.9.3
PATCH v4 6/10 package/python-mwscrape: new package
Hello,
package/python-mwscrape/python-mwscrape.mk line 10
Quoted 4 lines · Bernd Kuhls
package/python-mwscrape/python-mwscrape.mk new file +4
-0+PYTHON_MWSCRAPE_VERSION = 6a58d7801eb1e884fd0516f1adbedbd4481c10e6 +PYTHON_MWSCRAPE_SITE = $(call github,itkach,mwscrape,$(PYTHON_MWSCRAPE_VERSION)) +PYTHON_MWSCRAPE_LICENSE = BSD-3c +PYTHON_MWSCRAPE_LICENSE_FILES = LICENSE.txt
Not sure where you got this BSD-3c thing. The LICENSE.txt file contains the text of the Mozilla Public License 2.0, so I've changed the license value to MPL-2.0.
Applied with this fixed, but please try to be careful with the licensing information. If you're not sure, just ask advise from others (it's sometimes really difficult to understand the license of some software packages).
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
PATCH v4 7/10 package/python-cssutils: new package
In reply to Bernd KuhlsNeeded for upcoming python-mwscrape2slob package.
---
v4: no changes
v3: initial version
package/Config.in | 1 + package/python-cssutils/Config.in | 8 ++++++++ package/python-cssutils/python-cssutils.hash | 3 +++ package/python-cssutils/python-cssutils.mk | 14 ++++++++++++++ 4 files changed, 26 insertions(+) create mode 100644 package/python-cssutils/Config.in create mode 100644 package/python-cssutils/python-cssutils.hash create mode 100644 package/python-cssutils/python-cssutils.mk
package/Config.in +1 -0
@@ -663,6 +663,7 @@ menu "External python modules" source "package/python-crossbar/Config.in" source "package/python-cryptography/Config.in" source "package/python-cssselect/Config.in" + source "package/python-cssutils/Config.in" source "package/python-daemon/Config.in" source "package/python-dataproperty/Config.in" source "package/python-dateutil/Config.in"
package/python-cssutils/Config.in new file +8 -0
@@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_CSSUTILS + bool "python-cssutils" + select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON # runtime + select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 # runtime + help + A CSS Cascading Style Sheets library for Python. + + http://cthedot.de/cssutils/
package/python-cssutils/python-cssutils.hash new file +3 -0
@@ -0,0 +1,3 @@ +# md5 from https://pypi.python.org/pypi/cssutils/json, sha256 locally computed +md5 7fcdf2c3e9f053136af1990146eb361d cssutils-1.0.1.tar.gz +sha256 d8a18b2848ea1011750231f1dd64fe9053dbec1be0b37563c582561e7a529063 cssutils-1.0.1.tar.gz
package/python-cssutils/python-cssutils.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# python-cssutils +# +################################################################################ + +PYTHON_CSSUTILS_VERSION = 1.0.1 +PYTHON_CSSUTILS_SOURCE = cssutils-$(PYTHON_CSSUTILS_VERSION).tar.gz +PYTHON_CSSUTILS_SITE = https://pypi.python.org/packages/22/de/6b03e0088baf0299ab7d2e95a9e26c2092e9cb3855876b958b6a62175ca2 +PYTHON_CSSUTILS_LICENSE = LGPLv3+ +PYTHON_CSSUTILS_LICENSE_FILES = COPYING.LESSER +PYTHON_CSSUTILS_SETUP_TYPE = setuptools + +$(eval $(python-package))
Signature · 1 line
2.9.3
Thomas Petazzoni
AppliedPATCH v4 7/10 package/python-cssutils: new package
Hello,
Quoted 6 lines · Bernd Kuhls
Needed for upcoming python-mwscrape2slob package.
Signed-off-by Bernd Kuhls <[email protected]>---
v4: no changes
v3: initial version
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH v4 8/10 package/python-pyicu: new package
In reply to Bernd KuhlsNeeded for the upcoming python-slob package.
---
v4: no changes
v3: initial version
package/Config.in | 1 + package/python-pyicu/Config.in | 13 +++++++++++++ package/python-pyicu/python-pyicu.hash | 3 +++ package/python-pyicu/python-pyicu.mk | 15 +++++++++++++++ 4 files changed, 32 insertions(+) create mode 100644 package/python-pyicu/Config.in create mode 100644 package/python-pyicu/python-pyicu.hash create mode 100644 package/python-pyicu/python-pyicu.mk
package/Config.in +1 -0
@@ -738,6 +738,7 @@ menu "External python modules" source "package/python-pyftpdlib/Config.in" source "package/python-pygame/Config.in" source "package/python-pygments/Config.in" + source "package/python-pyicu/Config.in" source "package/python-pyinotify/Config.in" source "package/python-pylru/Config.in" source "package/python-pymysql/Config.in"
package/python-pyicu/Config.in new file +13 -0
@@ -0,0 +1,13 @@ +config BR2_PACKAGE_PYTHON_PYICU + bool "python-pyicu" + depends on !BR2_BINFMT_FLAT # icu + depends on BR2_INSTALL_LIBSTDCPP # icu + select BR2_PACKAGE_ICU + help + Python extension wrapping the ICU C++ API. + + http://pyicu.osafoundation.org/ + +comment "python-pyicu needs a toolchain w/ C++" + depends on !BR2_BINFMT_FLAT + depends on !BR2_INSTALL_LIBSTDCPP
package/python-pyicu/python-pyicu.hash new file +3 -0
@@ -0,0 +1,3 @@ +# md5 from https://pypi.python.org/pypi/PyICU/json, sha256 locally computed +md5 fadaf9f85830632f915cb85875ae9a39 PyICU-1.9.3.tar.gz +sha256 1a7a96212cb3e42e8df85b9062f1f1d6e207474d44f087218fad1d4ec210fa42 PyICU-1.9.3.tar.gz
package/python-pyicu/python-pyicu.mk new file +15 -0
@@ -0,0 +1,15 @@ +################################################################################ +# +# python-pyicu +# +################################################################################ + +PYTHON_PYICU_VERSION = 1.9.3 +PYTHON_PYICU_SOURCE = PyICU-$(PYTHON_PYICU_VERSION).tar.gz +PYTHON_PYICU_SITE = https://pypi.python.org/packages/bf/1f/cea237f542e3bb592980008a734850e8cbbc25c19c72c98767c71c1bd9c2 +PYTHON_PYICU_LICENSE = MIT +PYTHON_PYICU_LICENSE_FILES = LICENSE +PYTHON_PYICU_DEPENDENCIES = icu +PYTHON_PYICU_SETUP_TYPE = setuptools + +$(eval $(python-package))
Signature · 1 line
2.9.3
Thomas Petazzoni
AppliedPATCH v4 8/10 package/python-pyicu: new package
Hello,
Quoted 6 lines · Bernd Kuhls
Needed for the upcoming python-slob package.
Signed-off-by Bernd Kuhls <[email protected]>---
v4: no changes
v3: initial version
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH v4 9/10 package/python-slob: new package
In reply to Bernd KuhlsNeeded for the upcoming python-mwscrape2slob package.
---
v4: no changes
v3: initial version
package/Config.in | 1 + package/python-slob/Config.in | 17 +++++++++++++++++ package/python-slob/python-slob.hash | 2 ++ package/python-slob/python-slob.mk | 13 +++++++++++++ 4 files changed, 33 insertions(+) create mode 100644 package/python-slob/Config.in create mode 100644 package/python-slob/python-slob.hash create mode 100644 package/python-slob/python-slob.mk
package/Config.in +1 -0
@@ -782,6 +782,7 @@ menu "External python modules" source "package/python-singledispatch/Config.in" source "package/python-sip/Config.in" source "package/python-six/Config.in" + source "package/python-slob/Config.in" source "package/python-smbus-cffi/Config.in" source "package/python-socketio/Config.in" source "package/python-spidev/Config.in"
package/python-slob/Config.in new file +17 -0
@@ -0,0 +1,17 @@ +config BR2_PACKAGE_PYTHON_SLOB + bool "python-slob" + depends on !BR2_BINFMT_FLAT # python-pyicu -> icu + depends on BR2_INSTALL_LIBSTDCPP # python-pyicu -> icu + depends on BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_PYTHON_PYICU # runtime + # although optional, it is used as default compression + select BR2_PACKAGE_PYTHON3_XZ # runtime + help + slob.py is a reference implementation of slob format reader + and writer. + + https://github.com/itkach/slob + +comment "python-slob needs a toolchain w/ C++" + depends on BR2_PACKAGE_PYTHON3 && !BR2_BINFMT_FLAT + depends on !BR2_INSTALL_LIBSTDCPP
package/python-slob/python-slob.hash new file +2 -0
@@ -0,0 +1,2 @@ +# Locally computed +sha256 18eb4f45d09d49b1f776cac52ea70ab951566c60cd30bbec39e88f10908fd8ff python-slob-31ad0e769360a5b10a4893f686587bb8e48c3895.tar.gz
package/python-slob/python-slob.mk new file +13 -0
@@ -0,0 +1,13 @@ +################################################################################ +# +# python-slob +# +################################################################################ + +PYTHON_SLOB_VERSION = 31ad0e769360a5b10a4893f686587bb8e48c3895 +PYTHON_SLOB_SITE = $(call github,itkach,slob,$(PYTHON_SLOB_VERSION)) +PYTHON_SLOB_LICENSE = GPLv3 +PYTHON_SLOB_LICENSE_FILES = LICENSE +PYTHON_SLOB_SETUP_TYPE = distutils + +$(eval $(python-package))
Signature · 1 line
2.9.3
Thomas Petazzoni
AppliedPATCH v4 9/10 package/python-slob: new package
Hello,
Quoted 6 lines · Bernd Kuhls
Needed for the upcoming python-mwscrape2slob package.
Signed-off-by Bernd Kuhls <[email protected]>---
v4: no changes
v3: initial version
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH v4 10/10 package/python-mwscrape2slob: new package
In reply to Bernd Kuhls---
v4: no changes
v3: initial version
package/Config.in | 1 + package/python-mwscrape2slob/Config.in | 19 +++++++++++++++++++ .../python-mwscrape2slob/python-mwscrape2slob.hash | 2 ++ package/python-mwscrape2slob/python-mwscrape2slob.mk | 13 +++++++++++++ 4 files changed, 35 insertions(+) create mode 100644 package/python-mwscrape2slob/Config.in create mode 100644 package/python-mwscrape2slob/python-mwscrape2slob.hash create mode 100644 package/python-mwscrape2slob/python-mwscrape2slob.mk
package/Config.in +1 -0
@@ -712,6 +712,7 @@ menu "External python modules" source "package/python-msgpack/Config.in" source "package/python-mwclient/Config.in" source "package/python-mwscrape/Config.in" + source "package/python-mwscrape2slob/Config.in" source "package/python-netaddr/Config.in" source "package/python-netifaces/Config.in" source "package/python-networkmanager/Config.in"
package/python-mwscrape2slob/Config.in new file +19 -0
@@ -0,0 +1,19 @@ +config BR2_PACKAGE_PYTHON_MWSCRAPE2SLOB + bool "python-mwscrape2slob" + depends on !BR2_BINFMT_FLAT # python-slob -> python-pyicu -> icu + depends on BR2_INSTALL_LIBSTDCPP # python-slob -> python-pyicu -> icu + depends on BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_PYTHON_COUCHDB # runtime + select BR2_PACKAGE_PYTHON_CSSSELECT # runtime + select BR2_PACKAGE_PYTHON_CSSUTILS # runtime + select BR2_PACKAGE_PYTHON_LXML # runtime + select BR2_PACKAGE_PYTHON_SLOB # runtime + help + A tool to create slob with content from a MediaWiki CouchDB + created by mwscrape. + + https://github.com/itkach/mwscrape2slob + +comment "python-mwscrape2slob needs a toolchain w/ C++" + depends on BR2_PACKAGE_PYTHON3 && !BR2_BINFMT_FLAT + depends on !BR2_INSTALL_LIBSTDCPP
package/python-mwscrape2slob/python-mwscrape2slob.hash new file +2 -0
@@ -0,0 +1,2 @@ +# Locally computed +sha256 367ffc3203f7eb2cc26211f58c0693526652d9a238af48c88f936920e804faf7 python-mwscrape2slob-0f9124ed62009dff6a230947d80340f5a61a6f49.tar.gz
package/python-mwscrape2slob/python-mwscrape2slob.mk new file +13 -0
@@ -0,0 +1,13 @@ +################################################################################ +# +# python-mwscrape2slob +# +################################################################################ + +PYTHON_MWSCRAPE2SLOB_VERSION = 0f9124ed62009dff6a230947d80340f5a61a6f49 +PYTHON_MWSCRAPE2SLOB_SITE = $(call github,itkach,mwscrape2slob,$(PYTHON_MWSCRAPE2SLOB_VERSION)) +PYTHON_MWSCRAPE2SLOB_LICENSE = GPLv3 +PYTHON_MWSCRAPE2SLOB_LICENSE_FILES = LICENSE +PYTHON_MWSCRAPE2SLOB_SETUP_TYPE = distutils + +$(eval $(python-package))
Signature · 1 line
2.9.3
PATCH v4 1/10 package/python3: add optional support for lzma
In reply to Bernd KuhlsHello,
package/python3/Config.in config BR2_PACKAGE_PYTHON3_PYEXPAT · line 103
Quoted 3 lines · Bernd Kuhls
package/python3/Config.in +3
-0+config BR2_PACKAGE_PYTHON3_XZ + select BR2_PACKAGE_XZ + bool "xz module"
We normally have the "bool" definition first, and then the depends on, and then the selects. So I've inverted those two lines.
Since it was not consistent in this Config.in file, I've done a follow-up commit to fix this for the other Config.in variables.
Applied with this change. Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com