Commit Graph

725 Commits

Author SHA1 Message Date
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