Commit Graph

926 Commits (b5b2fa187d189740fa897bb49e331f2f7d3e7f34)

Author SHA1 Message Date
Eneas U de Queiroz 8061b28ea0
python-chardet: fix Makefile typo
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-03-13 14:34:49 -03:00
Eneas U de Queiroz d8de24183f
python-requests: fix circular dependency
Removing python3 conditional DEPENDS to avoid a circular dependency.
Fixes a typo in Makefile.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-03-13 14:34:49 -03:00
Eneas U de Queiroz 1bf60e9b58
python-ply: fix circular dependency
Removing python3 conditional DEPENDS to avoid a circular dependency.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-03-13 14:34:49 -03:00
Eneas U de Queiroz 5590cda91b
python-simplejson: fix circular dependency
Removing python2 conditional DEPENDS to avoid a circular dependency.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-03-13 14:34:49 -03:00
Hannu Nyman f9dd076a46
Merge pull request #8371 from neheb/patch-1
python: Add PKG_CPE_ID for proper CVE tracking
2019-03-12 19:06:41 +02:00
Hannu Nyman 840d05eb8e
Merge pull request #8368 from neheb/p
python: Refresh patches
2019-03-12 19:06:18 +02:00
Rosen Penev 3b935060e8 python3: Fix compilation with deprecated OpenSSL APIs
Also refreshed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-03-11 15:08:09 -07:00
Rosen Penev 1d04e54651 python: Add PKG_CPE_ID for proper CVE tracking
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-03-11 13:14:26 -07:00
Hannu Nyman 9e5a4bf4fb python-requests: adjust to chardet rename
Adjust to the rename of chardet to python-chardet

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-03-11 21:31:00 +02:00
Karel Kočí 37633c97d7
python-influxdb: add package
Signed-off-by: Karel Kočí <karel.koci@nic.cz>
2019-03-11 17:21:32 +01:00
Karel Kočí 83e76672d7
python-paho-mqtt: add package
Signed-off-by: Karel Kočí <cynerd@email.cz>
2019-03-11 17:21:32 +01:00
Karel Kočí 82b47309d8
python-appdirs: add package
Signed-off-by: Karel Kočí <cynerd@email.cz>
2019-03-11 17:21:31 +01:00
Karel Kočí 091d93d2a5
python-schema: add package
Signed-off-by: Karel Kočí <karel.koci@nic.cz>
2019-03-11 17:21:31 +01:00
Karel Kočí c9f70feec3
python-contextlib2: add package
Signed-off-by: Karel Kočí <cynerd@email.cz>
2019-03-11 17:21:31 +01:00
Karel Kočí 1418f401b5
python-jsonpath-ng: add package
Signed-off-by: Karel Kočí <karel.koci@nic.cz>
2019-03-11 17:21:31 +01:00
Karel Kočí 0361b39628
python-decorator: add package
Signed-off-by: Karel Kočí <karel.koci@nic.cz>
2019-03-11 17:21:31 +01:00
Karel Kočí d0e3345aca
click-log: add package
Signed-off-by: Karel Kočí <karel.koci@nic.cz>
2019-03-11 17:21:31 +01:00
Hannu Nyman c332e6420a
Merge pull request #8377 from Cynerd/add-python3-packages
Add python3 variant for chadet, simplejson, requests and pytz
2019-03-11 16:31:48 +02:00
Hannu Nyman 3a5fd27aac
Merge pull request #8033 from ysc3839/add-pycryptodome
python-cryptodome: add new package
2019-03-11 16:29:20 +02:00
Eneas U de Queiroz c0e4ecac3a
python-certifi: Update to 2019.3.9
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-03-11 08:30:51 -03:00
Jeffery To 450891679b python-pyopenssl,python-service-identity: Update package data
This updates the Python 2 and 3 versions of each package to share the
same title field.

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

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-03-11 19:30:06 +08:00
Eneas U de Queiroz 9c4d764b27
python-qrcode: bump to 6.1, fix dependencies
The package was missing dependencies on pillow and python-setuptools.

The Makefile was simplified.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-03-11 08:29:46 -03:00
Karel Kočí 3e1f90967e
python-pytz: add Python3 version
Signed-off-by: Karel Kočí <cynerd@email.cz>
2019-03-11 10:43:38 +01:00
Karel Kočí e47c03c7d5
python-requests: add Python3 version
Signed-off-by: Karel Kočí <cynerd@email.cz>
2019-03-11 10:43:37 +01:00
Karel Kočí 82565d1e73
python-simplejson: add Python3 specific package
Package is rewritten to be current type of python package with variants
but for backward compatibility the simplejson package name was left as
is and new Python3 specific package was named correctly as
python3-simplejson.

Signed-off-by: Karel Kočí <cynerd@email.cz>
2019-03-11 10:43:37 +01:00
Karel Kočí f80fd7e44d
python-chardet: add Python3 variant
Signed-off-by: Karel Kočí <karel.koci@nic.cz>
2019-03-11 10:43:37 +01:00
Hannu Nyman 2cfecc66a0
Merge pull request #7789 from neheb/pcapy
python-pcapy: Add uclibc++ support
2019-03-10 18:48:25 +02:00
Hannu Nyman c13b537885
Merge pull request #8211 from cshoredaniel/pr-update-bcrypt
bcrypt: Update to 3.1.6
2019-03-10 09:53:59 +02:00
Rosen Penev 5d4f817865 python: Refresh patches
git is intollerant when it comes to fuzz. this fixes it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-03-08 18:48:45 -08:00
Alexandru Ardelean 8e493eb19d python: bump to version 2.7.16
This change updates Python to version 2.7.16, which is a bugfix release
in the Python 2.7 series.
This also removes patches back-ported from upstream.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-03-08 19:34:38 +08:00
Daniel Golle 17835f4b04 Flask: now depends on python3-setuptools
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2019-03-08 02:03:16 +01:00
Hannu Nyman 39fe02525e
Merge pull request #8338 from BKPepe/python-dns
python-dns: Add Python3 variant, update to 1.16.0
2019-03-06 18:00:18 +02:00
Karel Kočí 35c7bcc85e
Jinja2: add missing dependency on markupsafe
Signed-off-by: Karel Kočí <karel.koci@nic.cz>
2019-03-05 17:19:51 +01:00
Rosen Penev 39f763f0ee pyodbc: Added ability to compile with uclibc++
Allows a smaller size.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-03-03 16:15:31 -08:00
Josef Schlehofer ae9cfe503b
python-dns: Add Python3 variant, update to 1.16.0
As it was suggested in PR from the current package maintainer, I have become a new maintainer.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-03-03 21:43:02 +01:00
Daniel Golle 993d0414f7 python-gnupg: update to version 0.4.4
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2019-03-02 23:20:10 +01:00
Daniel Golle d898a8ac1f pyodbc: update to version 4.0.26
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2019-03-02 23:10:46 +01:00
Daniel Golle c843d478f5 MarkupSafe: update to version 1.1.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2019-03-02 22:46:54 +01:00
Hannu Nyman 8be3292b1e
Merge pull request #8322 from jefferyto/python-cryptography-update
python-cryptography: Update to latest version
2019-03-01 23:07:39 +02:00
Hannu Nyman c722f6e5e1
Merge pull request #8308 from commodo/python3-pip-fix
python3-pip: fix install rule
2019-03-01 23:07:09 +02:00
Hannu Nyman b710d098f2
Merge pull request #8307 from commodo/python3-split-urllib
python3: split python3-urllib from python3-light
2019-03-01 23:06:25 +02:00
Jeffery To fc8c0c4f95 python-cryptography: Update to latest version
Version 2.6 includes OpenSSL no-engine support.

This also removes python-idna as a dependency. idna became optional with
version 2.5 (https://cryptography.io/en/latest/changelog/#v2-5).

This also updates the package title field and updates both Python 2 and
3 versions to use the same field.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-03-02 01:46:48 +08:00
Richard Yu 2c63742f25
python-cryptodome: add new package
PyCryptodome is an almost drop-in replacement for the old PyCrypto library.

Signed-off-by: Richard Yu <yurichard3839@gmail.com>
2019-03-01 14:12:24 +08:00
Alexandru Ardelean 998ff3471a python,python3: add Jeffery To as co-maintainer
For a while now, Jeffery has helped quite a lot with Python, and is now
unofficial go-to guy [for problems] with Python packages.

This change adds him as co-maintainer [if he also agrees].

I'm not going away; I'll be still doing the same work for Python.
This change serves to recognize Jeffery in an official way, since he's
already taking on these things. And 2 co-maintainers is better in case one
kicks the bucket [by accident].

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-02-27 12:33:27 +02:00
Alexandru Ardelean 1b96dc0171 python3-pip: fix install rule
Fixes: https://github.com/openwrt/packages/issues/8301

This seems to have slipped for some time. No idea if it ever worked.
It could be that this worked at some point.

In any case, the shebang is properly updated now.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-02-27 12:18:19 +02:00
Alexandru Ardelean 82981d1d55 python3: split python3-urllib from python3-light
This is the result of this discussion:
  https://github.com/openwrt/packages/issues/8285

`urllib.request` requires the `email` module/lib, which was part of
python3-light.
This change moves the Lib/urllib folder from the python3-light into it's
own package, making it lighter. At least this way, users that want `urllib`
(on top of `python3-light`) will be forced to install it via opkg and this
will make sure `python3-email` gets installed as well.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-02-26 15:37:48 +02:00
Hannu Nyman e3e139d927
Merge pull request #8263 from Cynerd/python-fix-collision
python,python3: do not package binary files to base packages
2019-02-24 10:14:42 +02:00
Hannu Nyman 5345d9e49f
Merge pull request #8273 from jefferyto/python-pkg-setup-dir
python,python3: Add PYTHON_PKG_SETUP_DIR
2019-02-23 19:40:03 +02:00
Alexandru Ardelean 9b36b449dc python,python3: allow users to override python args & vars
If users want to define these before including python[3]-package.mk, these
vars will be overridden during the include.
So, override these vars if they haven't been defined.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-02-23 17:00:59 +08:00
Jeffery To 5d72e9bf7e python,python3: Add PYTHON_PKG_SETUP_DIR
This adds a variable (PYTHON_PKG_SETUP_DIR / PYTHON3_PKG_SETUP_DIR) that
allows a Python package Makefile to control the directory where setup.py
is called (as part of PyBuild/Compile/Default /
Py3Build/Compile/Default).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-02-23 16:59:22 +08:00
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