Commit Graph

926 Commits (b5b2fa187d189740fa897bb49e331f2f7d3e7f34)

Author SHA1 Message Date
Hannu Nyman 90bbf7f221
Merge pull request #8266 from BKPepe/urllib3
python-urllib3: add variant for Python3
2019-02-21 18:39:40 +02:00
Karel Kočí 7175b2b47d
python,python3: do not package binary files to base packages
Thanks to fix 200a5a2eec all base packages
now contain all binaries that are generated as part of python
installation. That causes collision between those packages with package
managers that consider this such as Turris updater-ng. This is also just
wrong. Those binaries were not included and should not be after
mentioned fix as well.

This just adds empty install definition. The idea is to override the
default one that is otherwise used.

Signed-off-by: Karel Kočí <karel.koci@nic.cz>
2019-02-21 09:33:49 +01:00
Jeffery To f562ccf2ca multiple-python-packages: Update package data
This updates the Python 2 and 3 versions of each package to share the
same title field. (For packages that only had this change, their
PKG_RELEASE were not incremented.)

This also updates the package title, url and source urls, where
necessary.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-02-20 19:19:20 +08:00
Josef Schlehofer 6f02b3ae64
python-urllib3: add variant for Python3
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-02-20 09:50:58 +01:00
Jeffery To 8100d33b04 python-(automat|crypto|gmpy2|parsley): Use default compile
This updates these packages to use the default PyBuild/Compile, instead
of defining their own Build/Compile.

This also updates the Python 2 and 3 versions to use the same TITLE.

This also updates the source url and adds src packages for python-gmpy2.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-02-19 22:54:43 +08:00
Hannu Nyman d1d0fac7d8
Merge pull request #8251 from jefferyto/python3-twisted-install
python-twisted: Fix python3 install
2019-02-19 15:49:29 +02:00
Jeffery To 22e2d592e0 python-cffi: Update to 1.12.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-02-19 16:51:21 +08:00
Jeffery To 6e55df6ccb python-txsocks: Fix twisted dependency
This fixes the dependency on twisted, which was renamed to
python-twisted earlier.

This also changes the package to use the default PyBuild/Compile.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-02-19 15:29:21 +08:00
Jeffery To 4b16ae6a11 python-twisted: Fix python3 install
The install routine was written before the fix in #8241, and wasn't
sufficiently tested with that fix.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-02-19 14:36:36 +08:00
Hannu Nyman 9c82fc1136
Merge pull request #8240 from jefferyto/python-twisted
twisted: Rename package, fix errors
2019-02-18 18:34:19 +02:00
Jeffery To 200a5a2eec python,python3: Fix calling default PyPackage/install
This fixes Package/*/install to call PyPackage/*/install correctly.
Previously, if a package used the default PyPackage/*/install, then it
would not called. (A custom-defined PyPackage/*/install would be called
with no issue.)

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-02-18 16:33:26 +08:00
Jeffery To 247d162e2e twisted: Rename package, fix errors
This renames the Python 2 twisted package to python-twisted, and updates
dependents (i.e. obfsproxy) to reference the updated name.

This also fixes conflicts between the Python 2 and 3 packages. Twisted
installs some scripts to /usr/bin, and previously scripts for both
packages used the same names. This adds a "3" suffix to scripts
installed by python3-twisted.

This also adds python[3]-setuptools as a dependency, as the scripts
installed to /usr/bin depend on pkg_resources (part of setuptools).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-02-18 16:11:02 +08:00
Hannu Nyman 5524d12e86
Merge pull request #8197 from Cynerd/python3-twisted
twisted: add Python3 variant
2019-02-13 18:49:51 +02:00
Karel Kočí 045e76c8e9
twisted: add Python3 variant
Signed-off-by: Karel Kočí <karel.koci@nic.cz>
2019-02-12 18:33:38 +01:00
Alexandru Ardelean 382f1ec6e4 python-pyopenssl: bump to version 19.0.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-02-12 12:39:55 +02:00
Alexandru Ardelean e31f3b5a13 python-lxml: bump to version 4.3.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-02-12 12:39:55 +02:00
Alexandru Ardelean c2fe5fae42 python-cryptography: bump to version 2.5
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-02-12 12:39:54 +02:00
Alexandru Ardelean a06a7870f3 python-pyasn1-modules: bump to version 0.2.4
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-02-12 12:31:55 +02:00
Alexandru Ardelean c767598097 python,python3: fix CVE-2019-5010 - Denial of Service
This patch addresses issue:
  [ssl][CVE-2019-5010] TALOS-2018-0758 Denial of Service

Link to Python issue:
  https://bugs.python.org/issue35746

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-02-12 12:31:55 +02:00
Alexandru Ardelean ed862da936 python,python3: move shebang handle in install script
This extends the Python[3] shebang fixup to all packages.
Only Python scripts in `/usr/bin` will be handled at the moment. Later it
may make sense to also cover executables in `/bin`, though typically Python
executables shouldn't be placed there.

Previously the shebang handling was only done for python[3]-pip &
python[3]-setuptools.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-02-12 12:31:55 +02:00
Alexandru Ardelean 1bf7679211 python,python3: make deletion tolerant for paths with spaces
Piping to xargs does not handle spaces in paths too well, because it splits
up the paths.
For deleting empty dirs, we also need to do several retries, otherwise
`find` will try to go through the directories after they're deleted.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-02-12 12:31:54 +02:00
Daniel F. Dickinson a3bbbbc915 bcrypt: Update to 3.1.6
Update to latest version even though it's a no-op for us
(change is for compilation on Haiku) because otherwise uscan (and
folks who don't check changelogs for relevant changes) will complain.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2019-02-12 01:45:42 -05:00
Alexandru Ardelean 14d0a9c58d python,python3: move .exe removal in `python-package-install.sh` script
It's a common operation for both Python & Python3, so move it to the
script `python-package-install.sh` script.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-02-04 16:38:12 +02:00
Hannu Nyman 13e1f0fdf2
Merge pull request #7921 from daniel-santos/python-idna
python-idna: Add missing dependency on python(3)-codecs
2019-01-23 18:44:58 +02:00
Hannu Nyman f03fd0525a
Merge pull request #7953 from neheb/patch-5
pytz: Update to 2018.9
2019-01-20 00:01:14 +02:00
Hannu Nyman 52021e64b6
Merge pull request #7978 from cshoredaniel/pr-python-pkgconfig
python3: Add installation of pkconfig to InstallDev section.
2019-01-19 11:49:12 +02:00
Hannu Nyman 9d0e8f5aff
Merge pull request #7948 from cshoredaniel/pr-add-bcrypt
bcrypt: Add python secure password hashing library
2019-01-18 17:32:36 +02:00
Daniel F. Dickinson 682cdf3b9c python3: install pkgconfig to staging
Some programs that use the Python C API have difficulties finding
cross-compiled Python3 without the pkgconfig, so make sure we have
python3.pc and python-3.7.pc in pkgconfig staging dir.

CircleCI requires a package Makefile change to actually
do the CI check, so bump PKG_RELEASE.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2019-01-18 04:40:43 -05:00
Rosen Penev f6ceb85a25
pytz: Update to 2018.9
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-01-13 10:44:10 -08:00
Daniel F. Dickinson f0269b2ab7 bcrypt: Add python secure password hashing library
bcrypt is a secure password hashing mechanism and is
extremely useful for more secure Radicale authentication,
so add it.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2019-01-13 00:57:23 -05:00
Jeffery To 19c3f37f0f python: Fix lib2to3 fixes search
This is the patch from c98b12d9a9 (#7931),
applied for python 2.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-01-13 05:59:20 +08:00
Hannu Nyman cf327c3d89
Merge pull request #7900 from cshoredaniel/pr-add-vobject
vobject: Add python vCard/vCalendar Library
2019-01-12 19:03:11 +02:00
Hannu Nyman 179b06d76d
Merge pull request #7931 from kidome/master
python3: enable lib2to3 to also search .pyc files.
2019-01-12 18:28:34 +02:00
Daniel Santos a350edf1a9 python-idna: Add missing dependency on python(3)-codecs
This error is exposed when using python-minimal.

Signed-off-by: Daniel Santos <daniel.santos@pobox.com>
2019-01-12 00:53:04 -06:00
Hannu Nyman 7c740b4ca9
Merge pull request #7913 from commodo/python-readme
lang/python/README.md: add doc describing the lang/python subtree
2019-01-09 21:05:42 +02:00
Nj Hsiong c98b12d9a9 python3: enable lib2to3 to also search and fix .pyc files.
python3's lib2to3 would fail in silence if python3 and its packages are installed as compiled .pyc files. Root cause is, in Lib/lib2to3/refactor.py, the function get_all_fix_names only searches '.py' fix names.

Signed-off-by: Nj Hsiong <nj.hsiong@gmail.com>
2019-01-09 22:06:52 +08:00
Alexandru Ardelean 77bce0c672 lang/python/README.md: add doc describing the lang/python subtree
It was a semi-popular request a while back that I put off for a while.
Here's a quick doc.
I'll update it later as things change and I don't forget.
It also lets other people update if something is wrong.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-01-08 17:38:16 +02:00
Hannu Nyman 192d51ce31
Merge pull request #7899 from cshoredaniel/pr-update-dateutil
python-dateutil: update dateutil packaging
2019-01-08 16:48:51 +02:00
Hannu Nyman 924b5bbf35
Merge pull request #7908 from cshoredaniel/pr-add-passlib
passlib: Add python library
2019-01-08 15:14:01 +02:00
Hannu Nyman aac3a90518
Merge pull request #7903 from commodo/pyasn1-modules
python-pyasn1-modules: bump to version 0.2.3
2019-01-08 15:06:20 +02:00
Daniel F. Dickinson c239b06e2d passlib: Add python library
passlib is extremely useful for more secure Radicale
authentication so add it.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2019-01-08 03:58:28 -05:00
Daniel F. Dickinson c0f1f32eee python-dateutil: Update packaging and add Python3 version
Update the packaging to use the generic bits by @commodo.
Radicale 2.x requires Python3 and python-dateutils, so
build for Python3 as well.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2019-01-07 11:13:46 -05:00
Alexandru Ardelean 4bd29418fc python-pyasn1-modules: bump to version 0.2.3
This change upgrades the version of pyasn1-modules to version 0.2.3.
Run-tested on an x86 VM.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-01-07 15:04:07 +02:00
Alexandru Ardelean 39519b2ef8 python-lxml: bump to version 4.3.0
This change upgrades the version of lxml to 4.3.0.
Run-tested on an x86 VM.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-01-07 15:03:34 +02:00
Daniel F. Dickinson 624a3f5fc0 vobject: Add python library
Lbrary for vCard and vCalendar support for Python{3}.
vobject is used by Radicale2 so add it.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2019-01-07 07:33:00 -05:00
Alexandru Ardelean a16dea9627 python,python3: use setuptools & pip versions from python{3}-version.mk
`setuptools` & `pip` whl files were selected via wildcards, because it was
easier in the beginning.
Also, initially there weren't any PYTHON{3}_{SETUTPTOOLS/PIP}_VERSION
variables. But now since these vars exist, it makes sense to use them,
because we can catch easier (at build) time if Python/Python3 bump these
versions.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-01-02 23:42:01 +02:00
Daniel F. Dickinson a37a0e8a4d python3: Fix py3 pip and setuptools versions
The update to Python 3.7.2 missed updating pip and setuptools versions,
so fix that.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2019-01-02 02:59:08 -05:00
Hannu Nyman 0f1c9b8c46
Merge pull request #7821 from commodo/python3-7-2
python3: bump to version 3.7.2
2019-01-01 12:54:48 +02:00
Hannu Nyman 5240700752
Merge pull request #7818 from commodo/python-CVE-2018-14647
python: backport CVE-2018-14647 patches from upstream
2018-12-31 22:32:18 +02:00
Alexandru Ardelean 1e9a248a56 python3: bump to version 3.7.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-12-31 19:26:46 +02:00
Alexandru Ardelean 3c8172255a python: backport CVE-2018-14647 patches from upstream
These patches are backports from Python 2.7 upstream.
The security issue is described here:
  https://nvd.nist.gov/vuln/detail/CVE-2018-14647

The Python bug report:
  https://bugs.python.org/issue34623

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-12-31 17:53:41 +02:00
Alexandru Ardelean 54e48669e7 python-pyasn1: bump to version 0.4.5
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-12-31 00:04:50 +02:00
Hannu Nyman 0e9715553c
Merge pull request #7755 from jefferyto/python-dist-info
python/python3: fix .dist-info missing for setuptools and pip
2018-12-30 20:16:38 +02:00
Rosen Penev a005877193 python-pcapy: Add uclibc++ support
Reduces space required on the target device.

Added patch to get rid of the explicit libstdcpp dependency.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-12-26 15:54:21 -08:00
Hannu Nyman b42779ed71
Merge pull request #7655 from cotequeiroz/pyjwt-1.7.1
pyjwt: bump to version 1.7.1
2018-12-26 19:40:39 +02:00
Hannu Nyman 467649955c
Merge pull request #7716 from neheb/patch-20
python-six: Update to 1.12.0
2018-12-26 19:36:39 +02:00
Jeffery To 2f55f2a7b5 python/python3: fix .dist-info missing for setuptools and pip
Without .dist-info (similar to .egg-info), setuptools and pip are not
discoverable by pkg_resources.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-12-22 22:16:52 +08:00
Hannu Nyman cb6fc9d7a9
Merge pull request #7692 from neheb/patch-6
django: Update to 1.11.17
2018-12-21 21:16:48 +02:00
Hannu Nyman 069544bedd
Merge pull request #7711 from neheb/patch-16
python-service-identity: Update to 18.1.0
2018-12-21 17:38:25 +02:00
Hannu Nyman d56d13e9ec
Merge pull request #7709 from neheb/patch-14
python-mysql: Update to 1.3.14
2018-12-21 17:14:41 +02:00
Rosen Penev 05007d60cf python-service-identity: Update to 18.1.0
Switched URL to standard one.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-12-19 12:36:28 -08:00
Hannu Nyman 024a554fbd
Merge pull request #7718 from neheb/patch-23
python-dpkt: Update to 1.92
2018-12-19 16:49:35 +02:00
Rosen Penev 54918d4d46 python-dpkt: Update to 1.9.2
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-12-17 19:14:48 -08:00
Rosen Penev e01ad70f94
python-six: Update to 1.12.0
Switch to standard pythonhosted URL.

Cosmetic Makefile rearrangements for consistency between packages.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-12-17 18:33:15 -08:00
Rosen Penev c49b170809
python-requests: Update to 2.21.0
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-12-17 14:19:32 -08:00
Rosen Penev 019bcd9780 python-mysql: Update to 1.3.14
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-12-17 14:17:11 -08:00
Rosen Penev c57e503cf5
django: Update to 1.11.17
Added PKG_CPE_ID for proper CVE tracking.

Some Makefile rearrangements for consistency.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-12-16 11:33:26 -08:00
Eneas U de Queiroz 253334011c pyjwt: bump to version 1.7.1
This is a bugfix release.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-12-13 16:24:38 -02:00
Rosen Penev ae79f0e14f python-psycopg2: Update to 2.7.6.1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-12-08 18:12:55 -08:00
Hannu Nyman e81189e983
Merge pull request #7607 from cotequeiroz/python-egenix-mx-base_sources
python-egenix-mx-base: use source distribution
2018-12-08 21:59:38 +02:00
Eneas U de Queiroz e1cb6d5fbb python-egenix-mx-base: use source distribution
The zip file distribution did not include the source files, and
downloaded pre-built binaries from the web.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-12-07 14:17:37 -02:00
Rosen Penev e56e1ad746 python-idna: Update to 2.8
Changed URL to pythonhosted one.

Some Makefile rearrangements for consistency between packages.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-12-06 15:23:32 -08:00
Hannu Nyman 52d37c6cb7
Merge pull request #7578 from cotequeiroz/django-simple-captcha_PyPackage
django-simple-captcha: use PyPackage to build
2018-12-06 10:51:33 +02:00
Hannu Nyman c53afcb99f
Merge pull request #7579 from cotequeiroz/django-webpack-loader_PyPackage
django-webpack-loader: use PyPackage to build
2018-12-06 10:51:18 +02:00
Hannu Nyman 8e7efabb7d
Merge pull request #7577 from cotequeiroz/django-ranged-response_PyPackage
django-ranged-response: use PyPackage to build
2018-12-06 10:50:08 +02:00
Hannu Nyman fa8c03d68d
Merge pull request #7576 from cotequeiroz/django-formtools_PyPackage
django-formtools: use PyPackage to build
2018-12-06 10:49:54 +02:00
Hannu Nyman 18a10cec48
Merge pull request #7580 from cotequeiroz/pyjwt-1.7.0
pyjwt: Bump to version 1.7.0 -- python-requests-oauthlib:  use PyPackage
2018-12-06 10:28:12 +02:00
Hannu Nyman 2fafc4f67e
Merge pull request #7582 from cotequeiroz/python-requests_PyPackage
python-requests: use PyPackage to build
2018-12-06 08:53:17 +02:00
Hannu Nyman ba75b83a5f
Merge pull request #7583 from cotequeiroz/python-certifi-2018.11.29
python-certifi: Update to 2018.11.29, add python3
2018-12-06 08:52:09 +02:00
Hannu Nyman ac57e7b700
Merge pull request #7581 from cotequeiroz/python-oauthlib_python3
python-oauthlib: add python3 package
2018-12-06 08:51:01 +02:00
Eneas U de Queiroz b01258e284 pytz: fix host-compile dependency
Add HOST_BUILD_DEPENDS=python/host

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-12-05 16:34:56 -02:00
Eneas U de Queiroz 53dfce1b23 python-requests-oauthlib: use PyPackage to build
Updated Makefile to use PyPackage, added option to build source package,
updated PKG_SOURCE_URL, and adpated to python-pyjwt new package name.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-12-05 08:34:01 -02:00
Eneas U de Queiroz acca39d00e pyjwt: Bump to version 1.7.0, add ptyhon3
Version 1.7.0 brings compatibility with python 3.7.
As a result of building a python3 version, the python2 package name was
changed from pyjwt to python-pyjwt.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-12-05 08:33:29 -02:00
Eneas U de Queiroz c22577e921 python-certifi: Update to 2018.11.29, add python3
Package was upgraded to current version, and the python3 variant was
added.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-12-05 08:19:01 -02:00
Eneas U de Queiroz f9978fce52 django-simple-captcha: use PyPackage to build
Updated Makefile to use PyPackage, added option to build source package,
and updated PKG_SOURCE_URL.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-12-05 08:13:55 -02:00
Eneas U de Queiroz b29881b853 python-requests: use PyPackage to build
Updated Makefile to use PyPackage, added option to build source package.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-12-05 08:11:53 -02:00
Eneas U de Queiroz f7ca9643a6 python-oauthlib: add python3 package
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-12-05 08:11:02 -02:00
Eneas U de Queiroz 61091f9281 django-ranged-response: use PyPackage to build
Updated Makefile to use PyPackage, added option to build source package,
and updated PKG_SOURCE_URL.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-12-05 08:05:46 -02:00
Eneas U de Queiroz d97aaaf0bd django-formtools: use PyPackage to build
Updated Makefile to use PyPackage, added option to build source package,
and updated PKG_SOURCE_URL.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-12-05 08:04:47 -02:00
Eneas U de Queiroz ecda21c07a django-webpack-loader: use PyPackage to build
Updated Makefile to use PyPackage, added option to build source package,
and updated PKG_SOURCE_URL.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-12-05 08:03:40 -02:00
Hannu Nyman 4c24a16d40
Merge pull request #7534 from neheb/patch-3
pytz: Add python/host to BUILD_DEPENDS
2018-12-02 12:36:36 +02:00
Rosen Penev 8e25b4b859 python-crypgoraphy: Update to 2.4.2
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-12-01 11:02:14 -08:00
Rosen Penev d3cd4a9e1e
pytz: Add python/host to BUILD_DEPENDS
Buildbots occasionally fail because of this. Travis also seems to try to build this before python.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-27 11:10:10 -08:00
Hannu Nyman c5cc933a89
Merge pull request #7352 from neheb/patch-2
MarkupSafe: Update to 1.1.0
2018-11-24 09:19:38 +02:00
Hannu Nyman 09236850b4
Merge pull request #7385 from neheb/patch-6
Jinja2: Update to 2.10
2018-11-24 09:18:57 +02:00
Hannu Nyman 2f8c57a027
Merge pull request #7384 from neheb/patch-4
Flask: Update to 1.0.2
2018-11-24 09:18:41 +02:00
Rosen Penev 340c3895f5 python-cryptography: Update to 2.4.1
Replaced DTLS patch with upstreamed one.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-18 18:23:48 -08:00
Hannu Nyman 094e5339e7
Merge pull request #7152 from neheb/patch-42
Werkzeug: Update to 0.14.1
2018-11-18 21:26:38 +02:00
Rosen Penev 1114c9d7e0 twisted: Update to 18.9.0
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-17 10:53:06 -08:00
Hannu Nyman 58f79231ed
Merge pull request #7428 from neheb/patch-11
python3-bottle: Update to 0.12.13
2018-11-17 10:21:45 +02:00
Hannu Nyman 8c963ff811
Merge pull request #7446 from commodo/python-fix-ssl-build
python: fix build with OpenSSL 1.1.0
2018-11-17 10:18:17 +02:00
Hannu Nyman 78499b835a
Merge pull request #7424 from neheb/patch-3
python-requests: Update to 2.20.1
2018-11-16 21:10:12 +02:00
Alexandru Ardelean 5bc39702fb python: fix build with OpenSSL 1.1.0
Addresses issue from here:
  https://github.com/openwrt/packages/issues/7367#issuecomment-437685598

The SSL module in Python doesn't handle properly all the combinations of
NPN between all OpenSSL & LibreSSL versions.
This patch fixes this.
Also pushed a report & proposal upstream to Python:
  https://bugs.python.org/issue35264

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-11-16 15:35:42 +02:00
Rosen Penev 56d45d6c52
itsdangerous: Update to 1.1.0
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-14 11:43:21 -08:00
Hannu Nyman e9f055f679
Merge pull request #7425 from neheb/patch-8
python-urllib3: Update to 1.24..1
2018-11-14 21:40:53 +02:00
Hannu Nyman 51ad2efe02
Merge pull request #7423 from neheb/zope
python-zope-interface: Update to 4.6.0
2018-11-14 20:34:12 +02:00
Rosen Penev 92c3b7ad49 python3-bottle: Update to 0.12.13
Switched to a proper URL.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-14 10:07:57 -08:00
Rosen Penev 509ed2121b python-pycparser: Update to 2.19
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-14 10:00:49 -08:00
Rosen Penev 94fe63339e
python-urllib3: Update to 1.24..1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-14 09:54:29 -08:00
Rosen Penev b836a2efb7
python-requests: Update to 2.20.1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-14 09:52:33 -08:00
Rosen Penev 2edb4a7335 python-zope-interface: Update to 4.6.0
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-14 09:47:58 -08:00
Hannu Nyman 76df7c4df5
Merge pull request #7386 from neheb/pillow
pillow: Update to 5.3.0
2018-11-12 17:17:57 +02:00
Hannu Nyman 0ad1369496
Merge pull request #7380 from neheb/pytz
pytz: Update to 2018.7 and add host build
2018-11-12 17:16:13 +02:00
Rosen Penev 2ebb321aaf
python-gnupg: Fix build breakage
Apparently := doesn't work here. Why it doesn't should be investigated but for now fix it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-11 04:36:03 -08:00
Rosen Penev e8e8022e47 pillow: Update to 5.3.0
Switched to pypi for consistency.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-10 19:49:32 -08:00
Rosen Penev 68dab099cd
Jinja2: Update to 2.10
Switch URL to a deterministic one.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-10 19:38:41 -08:00
Rosen Penev 57ab493043
Flask: Update to 1.0.2
Update URL to a deterministic one.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-10 19:35:39 -08:00
Rosen Penev 8dda6b8f2f pytz: Update to 2018.7 and add host build
Django 1.11 and above needs pytz to run properly. This was causing issues
with seahub, whose Makefile uses django-admin to compile locales.

Also removed InstallDev. It tried to accomplish the same thing but ended
up installing to the same directories anyways.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-10 16:38:05 -08:00
Rosen Penev e162a6c86e MarkupSafe: Update to 1.1.0
Most interesting: Use newer CPython API on Python 3, resulting in a 1.5x speedup.

Switched to a standard URL.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-08 10:01:34 -08:00
Rosen Penev e6d2fa9f7b python-ldap: Update to 3.1.0
Switched URL to a proper one.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-06 19:05:13 -08:00
Rosen Penev c86ccd6512 Werkzeug: Update to 0.14.1
Switched URL to a sensible one.

Some Makefile rearrangements for consistency.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-06 09:38:16 -08:00
Rosen Penev 3f6ca010bb python-gnupg: Use a more standard URL for easier version bumping
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-06 09:30:02 -08:00
Rosen Penev b0e4ec2924
django: Update to 1.11.16
Fixed a race condition in QuerySet.update_or_create() that could result in data loss (#29499).

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-05 11:37:48 -08:00
Hannu Nyman bccd074f43
Merge pull request #7265 from neheb/patch-27
python-attrs: Update to 18.2.0
2018-11-04 12:56:50 +02:00
Hannu Nyman 177e40f883
Merge pull request #7297 from commodo/python3-3.7.1
python3: bump to version 3.7.1
2018-11-02 19:08:26 +02:00
Alexandru Ardelean 178ffb41f1 python3: bump to version 3.7.1
This change bumps Python3 version to 3.7.1.
Patch `002-fix-implicit-dh-free-declaration.patch` is now included in
upstream.
This also fixes CVE-2018-1061.
   https://www.cvedetails.com/cve/CVE-2018-1061/

Compile & run-tested on x86.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-11-02 09:58:57 +02:00
champtar 1ee4c1492d
Merge pull request #7291 from cotequeiroz/pytz-installdev
pytz: add Package/InstallDev
2018-11-01 09:13:21 -05:00
Hannu Nyman 9de6ac084d
Merge pull request #7260 from neheb/patch-9
python-certifi: Update to 2018.10.15
2018-10-31 20:39:15 +02:00
Eneas U de Queiroz 455cde8128 pytz: add package/InstallDev
Building would not work for packages that depended on this when the
build directory was deleted after compiled, so they failed when
BUILDBOT=y.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-10-31 08:01:40 -03:00
Dirk Brenken b4f7e81377
Merge pull request #7259 from neheb/patch-6
pytz: Update to 2018.6
2018-10-30 15:46:56 +01:00
Rosen Penev dba6b95c95 python-attrs: Update to 18.2.0
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-10-29 09:56:52 -07:00
Rosen Penev e9a1dadd32
python-dateutil: Update to 2.7.5
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-10-28 10:29:06 -07:00
Rosen Penev ea6ce3a53b
python-certifi: Update to 2018.10.15
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-10-28 10:05:18 -07:00
Rosen Penev 64e8db1872
pytz: Update to 2018.6
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-10-28 10:03:16 -07:00
Hannu Nyman 900280e9b5
Merge pull request #6892 from neheb/patch-31
python-egenix-mx-base: Update to 3.2.9
2018-10-28 14:49:35 +02:00
Hannu Nyman 27a43ec205
Merge pull request #6880 from neheb/pyobdc
pyodbc: Update to 4.0.24
2018-10-28 14:45:18 +02:00
Hannu Nyman 45d98e45d5
Merge pull request #7047 from neheb/patch-28
python-psycopg2: Update to 2.7.5
2018-10-28 14:29:11 +02:00
Rosen Penev 29c5573943 python-requests: Update to 2.20.0
Switched URL to a sensical version.

Added PKG_CPE_ID for proper CVE tracking.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-10-25 21:01:22 -07:00
Dirk Brenken 1df38a4495
Merge pull request #7238 from neheb/patch-36
rcssmin: Switch to pythonhosted for consistency
2018-10-23 09:20:23 +02:00
Dirk Brenken 0d8f8c1761
Merge pull request #7237 from neheb/patch-35
python-urllib3: Update to 1.24
2018-10-23 09:19:43 +02:00
Rosen Penev 20bf18dce9
rcssmin: Switch to pythonhosted for consistency
Easier to bump the version as well.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-10-22 14:55:53 -07:00
Rosen Penev ebfc6b1d44
python-urllib3: Update to 1.24
Switched URL to pythonhosted for consistency between packages.

Small reorganization.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-10-22 14:48:03 -07:00
Rosen Penev 6cd8ea637e
django-restframework: Update to 3.9.0
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-10-22 14:44:03 -07:00
Hannu Nyman e71d980b7a
Merge pull request #7220 from neheb/pycry
python-crypto: Fix faulty patch
2018-10-22 20:42:47 +01:00
Dirk Brenken 0264000384
Merge pull request #7225 from neheb/patch-26
django-constance: Update to 2.3.1
2018-10-21 10:32:07 +02:00
Dirk Brenken 0c6d3109ea
Merge pull request #7222 from neheb/patch-25
python-mysql: Update to 1.3.13
2018-10-21 10:30:21 +02:00
Rosen Penev 03102bc203 python-crypto: Fix faulty patch
Buildbots are currently breaking because of this.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-10-20 23:05:44 -07:00
Rosen Penev 01ccaa8bc8
django-constance: Update to 2.3.1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-10-20 15:12:15 -07:00
Rosen Penev d0636c2888 python-mysql: Update to 1.3.13
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-10-20 14:50:02 -07:00
Rosen Penev a22884ae77
openpyxl: Update to 2.5.9
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-10-20 14:46:48 -07:00
Dirk Brenken be9344bd4d
Merge pull request #6886 from neheb/pycrypto
python-crypto: Fix two CVEs
2018-10-17 08:14:25 +02:00
Dirk Brenken 2359715b1d
Merge pull request #7065 from neheb/patch-40
simplejson: Update to 3.16
2018-10-14 18:35:17 +02:00
Dirk Brenken 0b3669af92
Merge pull request #7064 from neheb/patch-39
openpyxl: Update to 2.5.7
2018-10-12 22:11:57 +02:00
Dirk Brenken 64b144595f
Merge pull request #7062 from neheb/patch-37
gunicorn: Update to 19.9.0
2018-10-12 22:11:24 +02:00
Dirk Brenken 4d19775998
Merge pull request #7061 from neheb/patch-36
django: Update to 1.11.15
2018-10-12 22:10:50 +02:00
Dirk Brenken c8ed2e1f20
Merge pull request #7060 from neheb/patch-35
django-constance: Update to 2.3.0
2018-10-12 22:10:07 +02:00
Dirk Brenken c048c6401c
Merge pull request #7059 from neheb/patch-32
django-picklefield: Update to 1.1.0
2018-10-12 22:09:35 +02:00
Dirk Brenken b60dd41e93
Merge pull request #7058 from neheb/patch-25
django-postoffice: Update to 3.1.0
2018-10-12 22:08:36 +02:00
Dirk Brenken a3f49b926c
Merge pull request #7057 from neheb/patch-18
django-restframework: update to 3.8.2
2018-10-12 22:08:01 +02:00
Dirk Brenken 89e789fb87
Merge pull request #7056 from neheb/patch-11
django-statici18n: Update to 1.8.2
2018-10-12 22:07:04 +02:00
Hannu Nyman 0ecf61d51d
Merge pull request #6801 from neheb/patch-29
python-yaml: Update to 3.13
2018-10-11 22:04:04 +03:00
Rosen Penev 32b23e28ad python-crypto: Fix two CVEs
CVE-2013-7459 and CVE-2018-6594. Both patches taken from Fedora.

Also took the liberty to update the PKG_SOURCE_URL to a standard one.

Updated the home URL as well.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-10-10 13:22:42 -07:00
Hannu Nyman 928f46fc74
Merge pull request #7154 from jan-kardell/TQ_fix_python2
Python: Fix compile of host modules
2018-10-08 19:58:39 +03:00
Hannu Nyman e02ae17b67
Merge pull request #7129 from jan-kardell/TQ_fix_python3
Python3: Fix host build on OpenSUSE
2018-10-08 19:54:14 +03:00
Jan Kardell 0311e58bb6 Python: Fix compile of host modules
Add -rpath linker option to host build, pointing to staging/hostpkh/lib.
It's needed to find the correct host libs during runtime, without it the
hosts libs may be used instaead, causing failures.

Signed-off-by: Jan Kardell <jan.kardell@telliq.com>
2018-10-08 12:22:39 +02:00
Jan Kardell 6ade5a1e3a Python3: Fix host build on OpenSUSE
The linker option -rpath is required to find libs in staging_dir. Now it
is included when building host modules. Without it the import test of
the _ctypes and _uuid modules would fail. The _ctypes module uses
libffi.so.6 from staging, but OpenSUSE LEAP 15 has libffi.so.7.
It will also fail on LEAP 42.x, Fedora28 and 29 and future or old
versions of Ubuntu.

Fix needed in master and 18.06 branches.

Signed-off-by: Jan Kardell <jan.kardell@telliq.com>
2018-10-08 11:47:08 +02:00
Rosen Penev 0c6b4723f6 micropython-lib: Update to 1.9.3
Switched to codeload tarballs. Simpler Makefile.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-10-07 06:03:34 -07:00
Rosen Penev 93ea312b2b micropython: Update to 1.94
Switched to normal tarballs for simplicity. Also rearanged Makefile.

Refreshed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-10-06 11:52:51 -07:00
Dirk Brenken d4662bab40
Merge pull request #7046 from neheb/patch-27
python-pcapy: Update to 0.11.4
2018-09-22 06:53:50 +02:00
Rosen Penev 36d4e278fa python-egenix-mx-base: Update to 3.2.9
Switched URL to standard pythonhosted one. Only a zip file is available. No .tar.gz.

This should hopefully fix uscan.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-09-17 18:30:27 -07:00
Rosen Penev e94371b338 pyodbc: Update to 4.0.24
Fixes compilation on buildbots.

Removed upstreamed patch.

Changed URL to a sensical one.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-09-17 18:29:45 -07:00
Rosen Penev b9e501a451 django: Update to 1.11.15
Switched from git repo to standard pythonhosted tarball.

The 1.11 series is the last to support Python 2.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-09-17 15:24:16 -07:00
Rosen Penev 33e6f91d02
simplejson: Update to 3.16
Switched URL to standard pythonhosted one.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-09-17 15:19:48 -07:00
Rosen Penev abecafc022
openpyxl: Update to 2.5.7
Switched URL to standard pythonhosted one.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-09-17 15:08:07 -07:00
Rosen Penev d5d0f97143
gunicorn: Update to 19.9.0
Switched to standard pythonhosted URL.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-09-17 14:57:34 -07:00
Rosen Penev d0f3187bd0 django-postoffice: Update to 3.1.0
Changed URL to standard pythonhosted one + a few cosmetic changes.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-09-17 14:49:49 -07:00
Rosen Penev 6717af7d21
django-constance: Update to 2.3.0
Switched to standard pythonhosted URL.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-09-17 14:48:26 -07:00
Rosen Penev ed52180555
django-picklefield: Update to 1.1.0
Switched to standard pythonhosted URL.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-09-17 14:45:56 -07:00
Rosen Penev e5e9ed5094
django-restframework: update to 3.8.2
Some minor Makefile adjustments including standard python URL.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-09-17 14:36:21 -07:00
Rosen Penev 42fb1438a6
django-statici18n: Update to 1.8.2
Switched URL to standard pythonhosted one.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-09-17 14:32:20 -07:00
Hannu Nyman 26afb54444
Merge pull request #7048 from neheb/patch-32
python-lxml: Update to 4.2.5
2018-09-17 18:02:52 +03:00
Hannu Nyman 6a876c00f0
Merge pull request #7041 from neheb/patch-18
jdcal: Update to 1.4
2018-09-17 18:02:19 +03:00
Hannu Nyman b62a954365
Merge pull request #7049 from neheb/patch-35
pytz: Update to 2018.5
2018-09-17 18:01:26 +03:00
Hannu Nyman f26eb2ba62
Merge pull request #7045 from neheb/patch-11
python-dateutil: Update to 2.7.3
2018-09-17 18:01:04 +03:00
Alexandru Ardelean 768c675123 python3: fix build with SSL module
No idea how this creeped up. Probably OpenSSL been has updated recently.
Will send this patch upstream as well, but in the meantime we should fix
the Python3 build.

Build error seems to be:
```
<openwrt>/build_dir/target-i386_pentium4_musl/Python-3.7.0/Modules/_ssl.c:4000:5: error: implicit declaration of function 'DH_free'; did you mean 'lh_free'? [-Werror=implicit-function-declaration]
     DH_free(dh);
     ^~~~~~~
     lh_free
cc1: some warnings being treated as errors

Python build finished successfully!
The necessary bits to build these optional modules were not found:
_tkinter              _uuid                 nis
To find the necessary bits, look in setup.py in detect_modules() for the module's name.

The following modules found by detect_modules() in setup.py, have been
built by the Makefile instead, as configured by the Setup files:
_abc                  atexit                pwd
time                  zlib

Failed to build these modules:
_ssl

Makefile:618: recipe for target 'sharedmods' failed
```

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-09-17 12:53:57 +03:00
Rosen Penev 440d94b592
pytz: Update to 2018.5
Switched to standard pythonhosted URL.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-09-16 21:21:05 -07:00
Rosen Penev b162585872
python-lxml: Update to 4.2.5
Switched URL to the standard pythonhosted one. The website directs users there.

Tarballs are identical.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-09-16 21:18:03 -07:00
Rosen Penev 13c1ba5959 python-pcapy: Update to 0.11.4
Switched to regular tarballs from standard pythonhosted source.

Small Makefile rearrangements for consistency.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-09-16 21:11:27 -07:00
Rosen Penev 9144190d15
python-psycopg2: Update to 2.7.5
Switched URL to standard pythonhosted one.

Reorganized Makefile for consistency with other packages.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-09-16 21:06:32 -07:00
Rosen Penev 8803b88f3c
python-dateutil: Update to 2.7.3
Switch to standard URL.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-09-16 20:55:44 -07:00
Rosen Penev beda71bfd5
jdcal: Update to 1.4
Switched URL to the more standard pythonhosted one.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-09-16 08:41:42 -07:00
Hannu Nyman fbc482df0c
Merge pull request #6988 from commodo/python-batch-upgrades
python packages: upgrade to newer versions
2018-09-11 17:54:35 +03:00
Alexandru Ardelean decb892a97 python-lxml: bump to version 4.2.4
Version 4.2.4 has been released recently.
Update it.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-09-11 09:55:46 +03:00
Alexandru Ardelean 8fd1b6f177 python-cryptography: bump to version 2.3.1
Version 2.3.1 has been released recently and requested via Github #6967
Fixes #6967.

Also, changed URL to `https://files.pythonhosted.org` ; fewer redirects.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-09-11 09:55:24 +03:00
Alexandru Ardelean 50f1041874 python-pyasn1-modules: bump to version 0.2.2
Version 0.2.2 has been released recently.
Pull it in the packages feed.

Also, change URL to a fixed form.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-09-11 09:54:50 +03:00
Dirk Brenken 8064761a2d
Merge pull request #6979 from neheb/patch-35
flup: Update to 1.0.3
2018-09-11 08:54:38 +02:00
Alexandru Ardelean 0e2609d95e python-evdev: bump to version 1.1.2
Version 1.1.2 has been released recently.
Pull newer version into the packages feed.

Also, switch URL to a fixed form.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-09-11 09:53:45 +03:00
Rosen Penev 0aebe453ba flup: Update to 1.0.3
Changed URL to pythonhosted for consistency.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-09-08 17:43:29 -07:00
Eneas U de Queiroz 98386d15f0 python-certifi: bump to 2018.8.24
This updates the CA bundle to Mozilla's current version.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-08-31 11:38:57 -03:00
Dirk Brenken d872a0dbc4
Merge pull request #6784 from neheb/patch-21
python-pyasn1: Update to 0.4.4
2018-08-20 09:49:01 +02:00
Rosen Penev b2427ca1cf python-urllib3: Update to 1.23
Use a better URL.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-08-19 20:47:21 -07:00
Rosen Penev 7ea11eefc6
python-yaml: Update to 3.13
Switch URL to use a more standard location.

Add HTTPS to everything.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-08-18 14:21:49 -07:00
Rosen Penev 22baa9f3ed python-pyasn1: Update to 0.4.4
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-08-17 23:14:00 -07:00
Daniel Golle 4c99cab7d3
Merge pull request #6726 from neheb/patch-27
python-gnupg: Update to 0.4.3
2018-08-16 00:49:49 +02:00
Andy Walsh 7e890ac565 python/twisted: switch to libtirpc
Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2018-08-13 00:58:48 +02:00
Rosen Penev 9aad8f0825
python-gnupg: Update to 0.4.3
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-08-09 13:00:07 -07:00
Sebastian Kemper 7cfabe8de4 python-mysql: include nls.mk, remove hack
mariadb was sorted out to include nls.mk. Update python-mysql to do the
same and remove the hack.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-13 22:58:54 +02:00
Karol Wrona 23b7d14b24 python3: fix libuuid missing dependency for python3-light
Signed-off-by: Karol Wrona <wrona.vy@gmail.com>
2018-07-13 12:57:44 +02:00
Hannu Nyman 666602f7f7
Merge pull request #6411 from crza/update-python
python3: update to python 3.7.0
2018-07-12 15:12:03 +03:00
Martin Strobel 2080550f76 python3: add override for uuid.h header check
Signed-off-by: Martin Strobel <arctus@crza.de>
2018-07-11 06:35:36 +02:00
Martin Strobel fe01c8fc05 python3: update to python 3.7.0
Fixes python3 host SSL build -> host-pip can use https:// urls again.
Updates Pip to 10.0.1
rebased patches

Signed-off-by: Martin Strobel <arctus@crza.de>
2018-07-11 06:34:54 +02:00
Sebastian Kemper 230bfc96ac python-mysql: fix uclibc build failure
libmariadb 10.2.x needs to be linked in together with iconv. On uclibc
iconv is not included in libc and libiconv-full needs to be used. This
commit helps python-mysql find the shared library.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-08 10:44:29 +02:00
Sebastian Kemper 9d236132c6 python-mysql: fix download URL
During a previous pull request the PKG_NAME was first changed and then
reverted back. But the download URL was not changed accordingly.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-08 10:41:33 +02:00
Hannu Nyman 5a27e1c4cd
Merge pull request #6202 from cotequeiroz/seafile_openssl-1.1
seafile: upgrade to 6.3.0
2018-07-07 20:29:21 +03:00
Hannu Nyman 4eda808119
Merge pull request #6332 from micmac1/mysql-python-up
python-mysql: upgrade to 1.3.12
2018-07-06 23:26:55 +03:00
Sebastian Kemper 91c6f4f82c python-mysql: upgrade to 1.3.12
- change source from MySQL-python to mysqlclient, which is a fork of the
  former. The former project hasn't seen any updates in years.
- this is also in anticipation of the upgrade of MariaDB from 10.1.x to
  10.2.x. With the latter python-mysql does not compile - mysqlclient
  does.
- the patch is dropped as libmaria is threadsafe anyway.
- add variant for Python3.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-06-26 19:27:57 +02:00
Jeffery To 4269a8b8ff twisted: update to 18.4.0, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-06-25 04:00:16 +08:00
Jeffery To a8c87eb1e4 python-zope-interface: update to 4.5.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-06-25 02:33:11 +08:00
Jeffery To 6d733be85c python-pyasn1: update to 0.4.3
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-06-25 02:32:26 +08:00
Jeffery To e977641b58 python-ply: update to 3.11
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-06-25 02:31:52 +08:00
Jeffery To 9645c2fa13 python-ipaddress: update to 1.0.22
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-06-25 02:31:02 +08:00
Jeffery To 76ccf6c556 python-hyperlink: update to 18.0.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-06-25 02:30:39 +08:00
Jeffery To 6e0c997405 python-automat: update to 0.7.0, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-06-25 02:30:08 +08:00
Jeffery To 1cede43ab7 python-attrs: update to 18.1.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-06-25 02:29:34 +08:00
Eneas U de Queiroz 65b01bb752 pyjwt: add new package
JSON Web Token implementation in Python.
This package is a direct dependency of python-requests-oauthlib, a
dependency of seafile-seahub.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-23 17:00:51 -03:00
Eneas U de Queiroz 441e270e2f python-oauthlib: add new package
A generic, spec-compliant, thorough implementation of the OAuth
request-signing logic.
This package is a direct dependency of python-requests-oauthlib, a
dependency of seafile-seahub.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-23 16:59:01 -03:00
Eneas U de Queiroz d53997d59a python-requests-oauthlib: add new package
OAuthlib authentication support for Requests.
This package is a direct dependency of seafile-seahub.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-23 16:57:21 -03:00
Eneas U de Queiroz 1f74df5b95 python-certifi: add new package
Python package for providing Mozilla's CA Bundle.
This package is a direct dependency of python-requests, a dependency of
seafile-seahub.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-23 16:55:55 -03:00
Eneas U de Queiroz 01d9b705bc python-requests: add new package
HTTP library for Python.
This package is a direct dependency of seafile-seahub.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-23 16:55:05 -03:00
Eneas U de Queiroz 2f6a99991d python-qrcode: add new package
QR Code image generator.
This package is a direct dependency of seafile-seahub.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-23 16:50:49 -03:00
Eneas U de Queiroz c6ce18f25c django-webpack-loader: add new package
Transparently use webpack with django.
This package is a direct dependency of seafile-seahub.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-23 16:48:01 -03:00
Eneas U de Queiroz ac62fb6188 django-ranged-response: add new package
Modified Django FileResponse that adds Content-Range headers.
This package is a direct dependency of django-simple-captcha, a
dependency of seafile-seahub.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-23 16:45:26 -03:00
Eneas U de Queiroz 84afee131d django-simple-captcha: add new package
A very simple, yet powerful, Django captcha application.
This package is a direct dependency of seafile-seahub.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-23 16:38:24 -03:00
Eneas U de Queiroz d9ad4b14cf django-formtools: add new package
A set of high-level abstractions for Django forms.
This package is a direct dependency of seafile-seahub.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-23 16:33:31 -03:00
Alexandru Ardelean 81894aa414 python-cryptography: bump to version 2.2.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-06-11 12:02:40 +03:00
Alexandru Ardelean 61929b083e python-idna: bump to version 2.7
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-06-11 12:02:40 +03:00
Alexandru Ardelean ee26caa72b python-cffi: bump to version 1.11.5
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-06-11 12:02:40 +03:00
Alexandru Ardelean 5ab6fb2c06 python-lxml: bump to version 4.2.1
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
2018-06-11 12:02:40 +03:00
Alexandru Ardelean fc0844e40a python-asn1crypto: bump to version 0.24.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-06-11 12:02:40 +03:00
Alexandru Ardelean 6c1cc1a8db python-pyopenssl: bump to version 18.0.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-06-11 12:02:40 +03:00
Hannu Nyman d4b7b2b571
Merge pull request #5620 from kvuorine/python-pyserial
python-pyserial: Update to version 3.4
2018-06-06 21:38:22 +03:00
Waldemar Konik c888c876d7 python-curl: Fix compilation error after upgrade to 7.43.0.2
Signed-off-by: Waldemar Konik <informatyk74@interia.pl>
2018-06-05 00:32:20 +02:00
Waldemar Konik fda40dbb3a python-curl: update to 7.43.0.2
Signed-off-by: Waldemar Konik <informatyk74@interia.pl>
2018-06-04 10:12:26 +02:00
Alexandru Ardelean 995b48121e python,python3: remove `--ignore-installed` flag for host packages
This was copied over from python-packages, when support for installing
packages host-side (via pip) was added.

Based on the discussion on this commit:
  612c53fc6c
it was mentioned that removing this may add more benefit in terms of
reducing build time, because packages won't get reinstalled every time.

I'm not entirely sure about any potential side-effects of this, but it's
worth trying it out.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-05-14 12:11:00 +03:00
Alexandru Ardelean b7d1d2149e python3: update to version 3.6.5
Add PKG_RELEASE for setuptools and pip.
Refresh all patches.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-05-03 14:46:35 +03:00
Alexandru Ardelean 2ef484615d python: update to version 2.7.15
This also updates pip and setuptools.
With this occasion, they also get PKG_RELEASEs of their own.

Dropped patch 011-remove-setupterm-definition.patch
Manually re-applied 005-fix-bluetooth-support.patch
Ran make package/python/refresh to refresh other patches.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-05-03 14:46:12 +03:00
Hauke Mehrtens f9016b5977 python/python3: remove zlib/host dependency
zlib is now a host tool and the zlib/host package was removed. this
dependency is not needed any more as there will always be a zlib host
library.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2018-04-28 16:20:44 +02:00
Alexandru Ardelean b6973e5deb python,python3: remove `--with-system-ffi=no` config arg
Report https://github.com/openwrt/packages/issues/5638
It was mentioned that this causes build failures on Mac OS X.

The default behavior [in the setup.py script] is to check whether
`--with-system-ffi` is present in the CONFIG_ARGS env var.

However that back-fires a bit when `--with-system-ffi=no`, because the
condition `not '--with-system-ffi' in sysconfig.get_config_var("CONFIG_ARGS")`
evaluates to true.

This is a small bug in the `setup.py` script, but it looks like the
easiest/cleanest way to address it on our end is to just remove it entirely
from the HOST_CONFIGURE_ARGS.
At least that's how it looks like when testing on a Linux machine.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-03-14 16:21:41 +02:00
Alexandru Ardelean ea62d1217c python,python3: limit underlinking behavior to linux platforms
This change was introduced in commit 1c54e2b0fb to address build
issues on Ubuntu 12.04.

However it was reported to cause issues on Mac OS X.
Report: https://github.com/openwrt/packages/issues/5310

It was also reported that removing this on MacOS X fixes the issue.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-03-14 16:18:30 +02:00
Alexandru Ardelean f53904ebda lang/python/python-package-install.sh: assign SOURCE_DATE_EPOCH to PYTHONHASHSEED
Following a discussion on bugs.python.org:
* https://bugs.python.org/issue29708
* https://bugs.python.org/msg313384

It seems that setting a fixed value to PYTHONHASHSEED guarantees that
the bytecodes are generated consistently/in a reproducible manner.

Hopefully, this is the last bit to make Python3 build reproducible.
Tested this locally on a few files [that were not reproducible without
this change].

The PYTHONHASHSEED is only assigned to the host Python/Python3 during
compilation of byte-codes [from python source].

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-03-07 20:52:15 +02:00
Gergely Kiss 3d34c3a94d pytz: update to version 2018.3
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2018-02-23 21:29:32 +01:00
Kimmo Vuorinen acfed5352c python-pyserial: Update to version 3.4
Update to version 3.4
Add build for python3
Add source packages

Signed-off-by: Kimmo Vuorinen <kimmo.vuorinen@gmail.com>
2018-02-16 15:48:16 +02:00
Gergely Kiss 14ddd5d4da django-statici18n: update to 1.6.1
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2018-01-28 01:55:52 +01:00
Hannu Nyman 7ced677124
Merge pull request #5456 from jefferyto/python-automat
python-automat: new package
2018-01-19 18:03:13 +02:00
Hannu Nyman fbae202394
Merge pull request #5455 from jefferyto/python-hyperlink
python-hyperlink: new package
2018-01-19 18:03:02 +02:00
Hannu Nyman 9da7e1eaf4
Merge pull request #5454 from jefferyto/python-incremental
python-incremental: new package
2018-01-19 18:02:53 +02:00
Hannu Nyman 60d47335d6
Merge pull request #5453 from jefferyto/python-constantly
python-constantly: new package
2018-01-19 18:02:40 +02:00
Jeffery To 3690cac14b twisted: updated to 17.9.0, add src package
There have been some new dependencies added in recent versions of
Twisted (mostly internal classes that have been spun out into their own
libraries):

* constantly (#5453), since 16.5.0
* incremental (#5454), since 16.5.0
* Automat (#5456), since 17.1.0
* hyperlink (#5455) since 17.5.0

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-19 01:24:46 +08:00
Alexandru Ardelean 6494642caf python,python3: fix recursive deps caused by dangling DEPENDS
For python `src` packages we should clear out the DEPENDS
to prevent recursive deps from happening.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-01-17 17:30:48 +02:00
Hannu Nyman f6f239f159
Merge pull request #5457 from jefferyto/python-pkg-setup-args-vars
python,python3: add vars to customize setup arguments / variables
2018-01-17 16:07:41 +02:00
Alexandru Ardelean 63dfa19812 python,python3: disable dependencies between python src packages
Related to:
 https://github.com/openwrt/packages/issues/5424

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-01-16 16:18:47 +02:00
Jeffery To 021271c1d3 python,python3: add vars to customize setup arguments / variables
This adds:

* PYTHON_PKG_SETUP_ARGS
* PYTHON_PKG_SETUP_VARS
* PYTHON3_PKG_SETUP_ARGS
* PYTHON3_PKG_SETUP_VARS

to customize Python package setup arguments / environment variables.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-16 04:10:49 +08:00
Jeffery To 39914d1f2c python-automat: new package
This is a new requirement for the Twisted package.

From the readme:

Automat is a library for concise, idiomatic Python expression of
finite-state automata (particularly deterministic finite-state
transducers).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-16 03:33:46 +08:00
Jeffery To 368d81a94d python-hyperlink: new package
This is a new requirement for the Twisted package.

From the readme:

Hyperlink provides a pure-Python implementation of immutable URLs. Based
on RFC 3986 and 3987, the Hyperlink URL makes working with both URIs and
IRIs easy.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-16 02:06:28 +08:00
Jeffery To c394db70b0 python-incremental: new package
This is a new requirement for the Twisted package.

From the readme:

Incremental is a small library that versions your Python projects.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-16 01:35:35 +08:00
Jeffery To 036d57e6b8 python-constantly: new package
This is a new requirement for the Twisted package.

From the readme:

A library that provides symbolic constant support. It includes
collections and constants with text, numeric, and bit flag values.
Originally twisted.python.constants from the Twisted project.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-16 01:07:47 +08:00
Hannu Nyman 72a4ac1585
Merge pull request #5440 from jefferyto/python-txsocksx-src
python-txsocksx: use variant PyBuild/Compile syntax, add src package, refresh patches
2018-01-15 09:36:28 +02:00
Hannu Nyman adca5fcdd6
Merge pull request #5441 from jefferyto/python-src-packages
python-*,python3-*: add src packages for multiple packages
2018-01-15 09:36:01 +02:00
Jeffery To 472514e606 python-cffi: update to 1.11.4, add src packages
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-15 01:59:14 +08:00
Jeffery To 64ae3625e1 python-*,python3-*: add src packages for multiple packages
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-15 01:33:01 +08:00
Jeffery To 44a362de08 python-txsocksx: use variant PyBuild/Compile syntax, add src package,
refresh patches

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-14 23:48:43 +08:00
Hannu Nyman f460719bf4
Merge pull request #5360 from commodo/python_reproducible
python,python3: honour the SOURCE_DATE_EPOCH for the build-info
2018-01-14 17:32:57 +02:00
Hannu Nyman 2cb09305ce
Merge pull request #5439 from jefferyto/python-pyptlib-src
python-pyptlib: use default variant build/compile rule, add src package
2018-01-14 17:30:22 +02:00
Hannu Nyman e7fba5f643
Merge pull request #5438 from jefferyto/python-ipaddress-src
python-ipaddress: use default variant build/compile rule, add src package
2018-01-14 17:29:51 +02:00
Jeffery To 953179225b python-pyptlib: use default variant build/compile rule, add src package
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-14 23:24:16 +08:00
Jeffery To b8e77a8990 python-ipaddress: use default variant build/compile rule, add src
package

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-14 23:01:51 +08:00
Jeffery To fa60629c99 python-crypto: add python3 variant, src packages, omit tests
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-14 22:31:01 +08:00
Jeffery To c52fa2a1cf python-enum34: use default variant build/compile rule, add src package
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-12 07:55:09 +08:00
Hannu Nyman f2313b4e7c
Merge pull request #5423 from jefferyto/zope-interface-4.4.3
zope-interface: update to 4.4.3, rename to python-zope-interface, add python3 variant
2018-01-12 00:32:24 +02:00
Jeffery To ed1993458f zope-interface: update to 4.4.3, rename to python-zope-interface, add
python3 variant

Renaming the package is needed to allow for a Python 3 variant
(python3-zope-interface). Packages that depend on this (only twisted)
also have their dependencies adjusted.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-12 06:27:23 +08:00
Jeffery To b549da3aea python-service-identity: update to 17.0.0, add python3 variant
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-12 01:55:16 +08:00
Hannu Nyman 48e1f18b8b
Merge pull request #5419 from commodo/python-package-mk-localize
treewide: re-organizing python-package.mk & python3-package.mk
2018-01-11 16:33:33 +02:00
Jeffery To 3720796b00 python-pyopenssl: update to 17.5.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-11 05:19:39 +08:00
Alexandru Ardelean 1476739d5f treewide: use local python-package.mk & python3-package.mk files
This guarantees for the package feeds that
the mk files will always be available for all packages.

Will need to see about external-feed Python packages
a bit later.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-01-10 23:06:23 +02:00
Alexandru Ardelean f4c098cc85 python,python3: merge package install scripts
The only difference just a parameter for Python3
[ -b to compile bytecodes in legacy mode ].
No need to keep 2 almost identical files now
that they're exported.

I'm a bit scared of that param, since it may get
removed at some point.
But let's see until then.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-01-10 23:06:22 +02:00
Alexandru Ardelean 57987b699b python,python3: simplify path to install shell-script
Now that all files are exported, it makes sense
to just reference the script directly.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-01-10 23:01:51 +02:00
Alexandru Ardelean ccdc6bc530 python,python3: export mk files outside of python package dirs
Since `lang/python` is it's own folder of Python packages
(for both Python 2 & 3), and these build rules are needed
in a lot of packages [especially Python packages],
putting them here makes sense architecturally,
to be shared.

This also helps get rid of the `include_mk` construct
which relies on OpenWrt core to provide, and seems
like a broken design idea that has persisted for a while.
Reason is: it requires that Python 2/3 be built to provide
these mk files for other Python packages,
which seems like a bad idea.

Long-term, there could be an issue where some other feeds
would require these mk files [e.g. telephony] for
some Python packages.
We'll see how we handle this a bit later.

For now we limit this to this feed.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-01-10 23:01:51 +02:00
Matthias Schiffer 55c0b5ae19 python,python3: do not install .mk snippets
The .mk snippets are not really usable at the moment, as they cannot be
considered for metadata collection (package DUMP) when included through
include_mk. Python packages do not use include_mk anymore for this reason,
so the install commands can be removed as well.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2018-01-10 23:01:51 +02:00
Hannu Nyman c6b24960cd
Merge pull request #5412 from jefferyto/python-pycparser-2.18
python-pycparser: update to 2.18, fix _build_tables error
2018-01-10 19:47:16 +02:00
Hannu Nyman ff8a9afd35
Merge pull request #5411 from jefferyto/python-pyasn1-modules-0.2.1
python-pyasn1-modules: update to 0.2.1
2018-01-10 18:22:57 +02:00
Hannu Nyman bc0adc7a6e
Merge pull request #5410 from jefferyto/python-pyasn1-0.4.2
python-pyasn1: update to 0.4.2
2018-01-10 18:22:36 +02:00
Hannu Nyman 970f7c2f07
Merge pull request #5409 from jefferyto/python-parsley-py3
python-parsley: add python3 variant
2018-01-10 18:22:14 +02:00
Hannu Nyman 6c1963d1e6
Merge pull request #5408 from jefferyto/python-ipaddress-1.0.19
python-ipaddress: update to 1.0.19
2018-01-10 18:21:45 +02:00
Hannu Nyman 5ceefacdd7
Merge pull request #5407 from jefferyto/python-gmpy2-py3
python-gmpy2: add python3 variant
2018-01-10 18:21:24 +02:00
Hannu Nyman 820b3325bf
Merge pull request #5404 from jefferyto/python-cryptography-2.1.4
python-cryptography: update to 2.1.4, refresh patches
2018-01-10 18:20:53 +02:00
Jeffery To 1a025036d8 python-pycparser: update to 2.18, fix _build_tables error
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-11 00:00:57 +08:00
Jeffery To 7e303024c1 python-pyasn1-modules: update to 0.2.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-10 23:10:26 +08:00
Jeffery To 3d2e61b47f python-pyasn1: update to 0.4.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-10 23:03:58 +08:00
Jeffery To ac9aaa7ad2 python-parsley: add python3 variant
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-10 22:55:28 +08:00
Jeffery To 6bd2eaf415 python-ipaddress: update to 1.0.19
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-10 21:53:18 +08:00
Jeffery To bbcd4b053a python-gmpy2: add python3 variant
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-10 21:37:30 +08:00
Jeffery To f47dfab5ae python-cryptography: update to 2.1.4, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-10 19:55:42 +08:00
Jeffery To 320857993b python-attrs: update to 17.4.0, add python3 variant
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-10 17:35:11 +08:00
Matthias Schiffer 00fce347a5
treewide: fix incorrect *_BUILD_DEPENDS
Build depends refer to source package names, not binary package names.

In many cases, PKG_BUILD_DEPENDS simply duplicated runtime dependencies of
a source package's binary packages; as the corresponding source packages
are implicitly added as bulid dependencies, PKG_BUILD_DEPENDS can simply be
dropped in these cases. In the other cases, *_BUILD_DEPENDS is fixed to
refer to the correct source package name.

Dependency of mysql-server is adjusted from libncursesw to libncurses
(as libncursesw is a virtual package provided by libncurses), so the build
dependency on ncurses is emitted unconditionally.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2018-01-09 16:36:02 +01:00
Alexandru Ardelean c54b312043 python,python3: honour the SOURCE_DATE_EPOCH for the build-info
The Modules/getbuildinfo.c allows the use of DATE and TIME
macros to be defined via CFLAGS.

These vars, control the build date & time when the
interpreter is opened, and can be read via the
`platform._sys_version()` function.

So, a conversion from SOURCE_DATE_EPOCH to DATE & TIME
is required at build-time.

This is especially needed for `platform._sys_version()`
to work.
The installation of pip seems to rely on this.

The logic has been adapted from:
 https://wiki.debian.org/ReproducibleBuilds/TimestampsProposal#Makefile

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-01-08 15:32:47 +02:00
Jeffery To c5cbd44cea python,python3: undo egg-info removal
This reverts commits 4333d1dcbf and
074d2863be, making Python packages
discoverable again by pkg_resources.

Fixes #5361.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-08 17:26:54 +08:00
Alexandru Ardelean 36bb5706a2 python,python3: add zlib/host to HOST_BUILD_DEPENDS (ver 2)
This reverts commit 3c6d14021e.
( which is a revert of commit c764f77dc1 )

The initiall commit ( c764f77dc1 )
was reverted, becase zlib did not have a host-build.

Now it does:
 cbe71649bc

So, now it should be good to put this in.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-01-02 18:59:53 +02:00
Alexandru Ardelean 4ec5d3d62f python3: bump to version 3.6.4
Re-worked patch `003-do-not-run-distutils-tests.patch`
to reduce patch-size.

Removed `011-fix-ncursesw-definition-colisions.patch`
it is fixed upstream.

Refreshed with `make package/python3/refresh`

Resetting PKG_RELEASE to 1.
This variable was never used for pip3 & setuptools, since
VERSION is specified in the package definitions.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-12-31 17:58:34 +02:00
Hannu Nyman 750f19ab26
Merge pull request #5303 from commodo/python-source-date-epoch
python,python3: add support for SOURCE_DATE_EPOCH var
2017-12-31 10:56:39 +02:00
Alexandru Ardelean 77ee36c7c8 python-cffi: fix host build/installation
Fixes:
https://github.com/openwrt/packages/issues/5318

Not sure how this worked before.
The host python-cffi needs a libffi installed on the host side.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-12-29 21:04:58 +02:00
Alexandru Ardelean 1b6dd4781f python,python3: add support for SOURCE_DATE_EPOCH var
See:
https://github.com/openwrt/packages/issues/5278

This should make Python & Python3 packages reproducible
when building.
In my local tests, I got the same sha256 for a sample
.pyc file, so likely this is the solution that should address
this.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-12-20 00:11:47 +02:00
Hannu Nyman 3c6d14021e Revert "python,python3: add zlib/host to HOST_BUILD_DEPENDS"
This reverts commit c764f77dc1.

The commit caused warnings to be displayed at make defconfig etc.
  WARNING: Makefile 'package/feeds/packages/python/python/Makefile'
  has a host build dependency on 'zlib/host' but
  'package/libs/zlib/Makefile' does not implement a 'host' build type

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-12-16 17:02:45 +02:00
Alexandru Ardelean c764f77dc1 python,python3: add zlib/host to HOST_BUILD_DEPENDS
This should fix the zlibmodule build on the host side.

Usually, if zlib is not found, Python/Python3 builds fine
without it, but there are some cases where the Python/Python3
interpreter on the host-side requires zlib to run.

At the moment, zlib does not have a host-build.
This should be available when this PR gets merged:
https://github.com/lede-project/source/pull/1329
[ or a similar one that contains host-build support for zlib ].

In the meantime, this change can go into Python/Python3.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-12-13 21:07:46 +02:00
champtar 1484eee759
Merge pull request #5259 from valdi74/update_python-curl
python-curl: update to 7.43.0.1
2017-12-10 16:51:32 -08:00
Waldemar Konik 04f6b4cdce python-curl: update to 7.43.0.1
Signed-off-by: Waldemar Konik <informatyk74@interia.pl>
2017-12-10 23:26:55 +01:00
Alexandru Ardelean 59f0506622 python,python3: define config option for bluetooth support
It was reported via
https://github.com/openwrt/packages/pull/5122#issuecomment-347395472
that if bluez-libs is selected as an installable package,
then the error below will show up:
```
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for python-light:
 *	bluez-libs *
 * opkg_install_cmd: Cannot install package python-light.
```

This looks like a limitation in the design of package deps,
and maybe a misuse of conditional deps (i.e. PACKAGE_bluez-libs:bluez-libs).

So, to fix this, an idea we're adding an extra symbol
that enfoces installation of bluez-libs if selected.

We also need to add a way to disable bluetooth build
if PYTHON(3)_BLUETOOTH_SUPPORT is de-selected.
Otherwise, bluetooth is installed and the socket
module is broken due to linker errors.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-12-10 19:49:23 +02:00
Alexandru Ardelean 00bb46866b python-pip-conf: split package away from python package
This should improve build time if you only want to
build Python3 (and not Python).

Because python-pip-conf was part of the python package,
the whole python package (host + target) would get built if Python3
would need to get built.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-12-10 19:49:23 +02:00
champtar 411b85b664
Merge pull request #4869 from apatrushev/master
micropython: updated to v1.9.2, micropython-lib: updated to v1.9
2017-12-02 15:13:09 -08:00
mike mcginty 0815c0211c python3-idna: Fix openwrt_repo 519, opkg segfault.
Signed-off-by: mike mcginty <mach327@gmail.com>
2017-11-17 22:27:13 -05:00
Alexandru Ardelean c2b3496977 python,python3: build bluetooth support if bluez-libs selected
This should hopefully fix the Python3 build on buildbot.

For a while I assumed it may be a build-bot issue, but
then looking through the packages repo [and finding
the bluez package] it looks like, if you try
to build all packages, Python3 detects the bluetooth
headers installed by bluez.

It looks like Python's bluetooth support was somewhat
broken ; it was not detecting the <bluetooth/bluetooth.h>
header, so a backport from Python3 to Python fixed that.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-11-14 13:50:14 +02:00
Daniel Golle d7253f8bcb pyodbc: update to version 4.0.21
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-11-07 01:30:02 +01:00
Alexandru Ardelean 8750a59d3d python,python3: apply PKG_FIXUP:=autoreconf
Should hopefully provide more consistent results
across distros.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-11-06 18:06:02 +02:00
Alexandru Ardelean 007c7a1428 python-asn1crypto: update to version 0.23.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-11-06 18:06:02 +02:00
Alexandru Ardelean 9f232051b8 python-cryptography: update to version 2.1.3
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-11-06 18:06:02 +02:00
Alexandru Ardelean 6b31702827 python-cffi: update to version 1.11.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-11-06 18:06:02 +02:00
Alexandru Ardelean 3a7d2c6794 python-pyasn1-modules: update to version 0.1.5
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-11-06 18:06:02 +02:00
Alexandru Ardelean 7eadc0912f python-pyasn1: update to version 0.3.7
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-11-06 18:06:02 +02:00
Alexandru Ardelean 2f3cc6eada python-lxml: upgrade to version 4.1.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-11-06 18:06:02 +02:00
Alexandru Ardelean 652553e552 python3: bump to version 3.6.3
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-11-06 18:05:59 +02:00
Mirko Vogt 32b60fa32b python3: package CGI component
Signed-off-by: Mirko Vogt <mirko-openwrt@nanl.de>
2017-10-31 13:45:29 +01:00
Gergely Kiss fdb8267c2d openpyxl: update to 2.5.0b1
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 07:28:12 +01:00
Gergely Kiss 8a54d94325 django-constance: update to 2.0.0
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 07:24:43 +01:00
Gergely Kiss 430dce852a django-restframework: update to 3.7.1
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 07:21:42 +01:00
Gergely Kiss e8dac18034 python-urllib3: update to 1.22
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 07:17:18 +01:00
Gergely Kiss bc1b9fa0e3 django-compressor: update to 2.2
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 07:13:03 +01:00
Gergely Kiss 467582f7d9 django-picklefield: update to 1.0.0
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 07:09:55 +01:00
Gergely Kiss 2c9a1f9b4e gunicorn: update to 19.7.1
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 07:07:20 +01:00
Gergely Kiss 68f0085fe2 jdcal: update to 1.3
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 07:04:19 +01:00
Gergely Kiss e3a971558a chardet: update to 3.0.4
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 07:00:58 +01:00
Gergely Kiss 90173afbbb pytz: update to 2017.2
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 06:56:07 +01:00
Gergely Kiss e6010224b5 simplejson: update to 3.11.1
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 06:52:08 +01:00
Gergely Kiss 23fc92b308 django-postoffice: update to 3.0.3
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 06:47:27 +01:00
Gergely Kiss 0bcfa490ef python-dateutil: update to 2.6.1
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 06:43:47 +01:00
Gergely Kiss 1ae1024041 django-statici18n: update to 1.4.0
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 06:36:29 +01:00
Gergely Kiss 326c336bd9 django: update to 1.8.18
Fixes CVE-2017-7233 and CVE-2017-7234

Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-17 22:15:30 +02:00
Alexandru Ardelean 8d011baf89 python-lxml: update to version 4.1.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-10-16 16:01:04 +03:00
Alexandru Ardelean 074d2863be python,python3: add option to keep egg-info dirs for python packages
That way some python packages can choose
to keep their egg-info dirs, if they want to, or they're needed.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-10-03 10:40:26 +03:00
Anton Patrushev dc0b2e60a7 micropython: updated to v1.9.2, micropython-lib: updated to v1.9
Signed-off-by: Anton Patrushev <apatrushev@gmail.com>
2017-09-23 16:51:06 +05:00
Alexandru Ardelean c0912ed80b python-idna: update to version 2.6
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-09-23 11:45:48 +03:00
Alexandru Ardelean 0ffa20d07e python-six: update to version 1.11.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-09-23 11:45:48 +03:00
Alexandru Ardelean a6f2c15791 python-pyopenssl: update to version 17.3.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-09-23 11:45:48 +03:00
Alexandru Ardelean aa1149b105 python-pyasn1-modules: update to version 0.1.4
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-09-23 11:45:48 +03:00
Alexandru Ardelean f05f3c7513 python-pyasn1: update to version 0.3.5
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-09-23 11:45:48 +03:00
Alexandru Ardelean a51bf20d08 python-lxml: update to version 4.0.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-09-23 11:45:48 +03:00
Alexandru Ardelean 630679cb14 python-cffi: update to version 1.11.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-09-23 11:45:48 +03:00
Alexandru Ardelean 79276ef7b7 python: bump to version 2.7.14
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-09-23 11:45:44 +03:00
Alexandru Ardelean 21a18bd97f python3: fix install mk filenames
Copy + paste error.

Seems I fixed it while testing but forgot to update PR with this.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-09-15 08:59:47 +03:00
champtar 622894c3fc Merge pull request #4632 from smutt/python-dpkt
python-dpkt:Add package lang/python-dpkt
2017-09-14 17:43:47 -07:00
Hannu Nyman 2f6c2a2e3e Merge pull request #4478 from valdi74/add_package_python-curl
python-curl: add new package
2017-09-14 17:27:36 +03:00
Alexandru Ardelean 2eb3979d28 python,python3: install mk files in both host build and InstallDev part
Not sure how it can happen that the files are not
installed via the host build.

Maybe some SDK-like build.

Let's make sure they are installed via InstallDev rule too.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-09-14 11:44:01 +03:00
Alexandru Ardelean 4d0a44d31a python,python3: add host-flags/settings to host pip install rules
The host pip install should have the host's CFLAGS, LDFLAGS, etc
available.
And not the target's flags.
Otherwise, weird things can happen when installing
packages (host-side) that need to build C code.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-09-14 11:44:01 +03:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Paulo Costa 0141c529b0 python-evdev: new package
This build script supports both Python 2.x (python-evdev) and 3.x (python3-evdev)

From the README:

This package provides bindings to the generic input event interface in Linux.
The evdev interface serves the purpose of passing events generated in the kernel
directly to userspace through character devices that are typically located in /dev/input/.

This package also comes with bindings to uinput, the userspace input subsystem.
Uinput allows userspace programs to create and handle input devices that can inject
events directly into the input subsystem.

Signed-off-by: Paulo Costa <me@paulo.costa.nom.br>
2017-08-18 16:43:56 -03:00
Waldemar Konik 253bcd2ce1 python-curl: add new package
Signed-off-by: Waldemar Konik <informatyk74@interia.pl>
2017-08-18 08:16:10 +02:00
Andrew McConachie ca2dd7d576 python-dpkt: Add package python-dpkt
Signed-off-by: Andrew McConachie <andrew@depht.com>
2017-08-17 16:28:57 -04:00
Daniel Golle 1b6e716edb python-gnupg: switch to python-gnupg 0.4.1
Aparently there are two python gnupg wrappers around
https://pypi.python.org/pypi/python-gnupg/
and
https://pypi.python.org/pypi/gnupg/

We used to package the latter, now we switched to the prior.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-08-14 18:59:13 +02:00
Alexandru Ardelean 439b0939fc python-pyopenssl: bump to 17.2.0 ; add python3 variant ; add myself co-maintainer
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-08-13 17:11:32 +03:00
Alexandru Ardelean d062793042 python-cryptography: bump to version 2.0.3
The dependency has changed from needing `pyasn1`
to needing `asn1crypto`.
Oh well...

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-08-11 17:09:15 +03:00
Alexandru Ardelean fae2b22537 python-asn1crypto: add new package (needed for python-cryptography)
Unfortunately python-cryptography (after version 2.0.<something>)
decided to replace `pyasn1` with `asn1crypto`.

Unfortunately `pyasn1` is needed for another package,
so it can't be dropped just yet.
Not sure if dropping it would bother people.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-08-11 17:09:15 +03:00
Alexandru Ardelean 70381b8d67 pyasn1-modules: bump to version 0.0.11 ; add python3 variant ; add myself as maintainer
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-08-11 16:31:52 +03:00
Alexandru Ardelean 4cf90c157a python-pyasn1: bump to version 0.3.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-08-11 15:55:31 +03:00
Alexandru Ardelean d7fe1c624f python,python3: fix opkg collisions with -src packages
Fixes:
 https://github.com/openwrt/packages/issues/4681

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-08-08 23:52:40 +03:00
Alexandru Ardelean 6cbed9fe15 python-cryptography: bump to version 1.9 and add python3 variant
And add myself as 2nd maintainer.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-27 14:07:51 +03:00
Alexandru Ardelean b6ba77b289 python-cffi: install host-side via pip + add myself 2nd maintainer
python-cryptography needs this dep to build
the sources.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-27 14:07:39 +03:00
Alexandru Ardelean 8291361cc7 python-idna: bump to version 2.5 and add python3 variant
And add myself as 2nd maintainer.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-27 14:05:48 +03:00
Alexandru Ardelean 990ddfffe2 python-pyasn1: bump to version 0.2.3 and add python3 variant
And add myself as 2nd maintainer.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-27 14:05:03 +03:00
Alexandru Ardelean b61864cdce python-six: add python3-six variant + add myself as 2nd maintainer
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-27 14:04:13 +03:00
Alexandru Ardelean 5986c5f5cd python3: refresh patches `make package/python3/refresh` cmd
This was a bit overdue.
I did not know about this methodology.
Reduces patch fuzz.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-26 23:56:51 +03:00
Alexandru Ardelean 1660549e92 python: refresh patches `make package/python/refresh` cmd
This was a bit overdue.
I did not know about this methodology.
Reduces patch fuzz.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-26 23:56:14 +03:00
Hannu Nyman eaac2b03b0 Merge pull request #4601 from commodo/python-cffi-upgrade
python-cffi: upgrade to 1.10.0 (together with dependencies)
2017-07-25 09:49:15 +03:00
Alexandru Ardelean 77bf1f09ad python3: upgrade to version 3.6.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-24 13:57:54 +03:00
Alexandru Ardelean 2ac7e0b6c8 python-cffi: bump to version 1.10.0
And drop the host-build.
This was needed, simply to cross-build the package.

I'm not a religious man, but "praise the lord" for
dropping this :D

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-19 16:55:18 +03:00
Alexandru Ardelean 69a86dbb88 python-pycparser: bump to version 2.17 and drop host-build
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-19 16:51:38 +03:00
Alexandru Ardelean 4bec8be130 python-ply: bump to version 3.10 and drop the host-build
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-19 16:51:38 +03:00
Alexandru Ardelean 612c53fc6c python,python3: add host python pip install support
To install Python packages host side, that
may be needed for a build.

The intent, is to try to reduce host-side Python
packages being installed via LEDE/OpenWrt build system.
Because those seem like a pain to maintain.

The idea is adapted from Yousong's `python-packages`
package.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-19 16:50:25 +03:00
Alexandru Ardelean 93a6545591 python,python3: drop HostPy/Compile/Default rules
Not used, and will not be used.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-19 16:50:25 +03:00
Alexandru Ardelean 0df253cc04 python,python3: drop PKG_MD5SUM fields ; will use only PKG_HASH
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-19 16:50:25 +03:00
Alexandru Ardelean 84202f17e1 python,python3: remove multi-arch support, and /usr/local paths
This should hopefully reduce weird behaviour caused
by the host system.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-19 16:50:25 +03:00
Alexandru Ardelean e066fdaf11 python,python3: handle install script errors better
Depending on execution order the `python-package-install.sh`
script would return a non-zero err code.

So, this enforces that all commands in the script
don't fail (via the `set -e` directive).

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-19 16:50:25 +03:00
Daniel Golle 7a2623d12d pyodbc: use WORDS_BIGENDIAN instead of OS-specific defines
Python provides the WORDS_BIGENDIAN macro, use it to figure out the
native endian of the host.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-07-17 14:36:48 +02:00
Daniel Golle 667674731f pyodbc: really fix endianess of SQL_WCHAR
auto-endian auf UTF-16 doesn't work with all drivers, some fail to
interpret the byte-order-marking. Hence explicitely use UTF16BE on
big-endian systems and UTF16LE otherwise.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-07-16 11:58:31 +02:00
Daniel Golle 7524d8558a Flask: add package
Flask is a microframework for Python based on Werkzeug, Jinja 2 and
good intentions. And before you ask: It.s BSD licensed!

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-07-14 17:09:30 +02:00
Daniel Golle 30c7c71e3f python: Werkzeug: add package
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-07-14 17:00:58 +02:00
Daniel Golle fb8dc3ffd4 python: click: add package
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-07-14 17:00:58 +02:00
Daniel Golle 4feb91a915 python: itsdangerous: add package
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-07-14 17:00:58 +02:00
Daniel Golle 7772c9e10b python: MarkupSafe: add package
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-07-14 17:00:58 +02:00
Daniel Golle 7d65ecb3e7 python: Jinja2: add package
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-07-14 17:00:58 +02:00
Daniel Golle 7b53052f4e
pyodbc: assume SQL_C_WCHAR is native endian
Bump PKG_REV and remove obsolete PKG_MD5SUM while at it.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-07-14 16:50:06 +02:00
Daniel Golle 80cd2bb8b7 python-yaml: update source and build for python3
Update source to version 3.12 and build for both, python and python3.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-07-14 15:59:13 +02:00
Hannu Nyman 3c29561888 Merge pull request #4558 from commodo/python-cleanup1
python,python3: rename PyBuild/Compile rules & remove .egg-info from packages
2017-07-09 21:04:38 +03:00