Commit graph

1212 commits

Author SHA1 Message Date
Rosen Penev
a8f2fb9750
Merge pull request #10529 from BKPepe/sentry
python-sentry-sdk: Update to version 0.13.2
2019-11-12 19:14:29 -08:00
Rosen Penev
d4be80cba0
Merge pull request #10530 from BKPepe/pahomqtt
python-paho-mqtt: Update to version 1.5.0
2019-11-12 19:13:10 -08:00
Rosen Penev
323dbc4fbf
Merge pull request #10469 from peter-stadler/django-etesync-journal
django-etesync-journal: add python3 package
2019-11-12 19:08:30 -08:00
Josef Schlehofer
f8e36f9fd6
python-paho-mqtt: Update to version 1.5.0
Try to fix license according to SPDX.
Add PKG_LICENSE_FILES.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-11-11 23:07:55 +01:00
Josef Schlehofer
af39ec8a72
python-sentry-sdk: Update to version 0.13.2
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-11-11 22:45:14 +01:00
Hannu Nyman
90e91ee464
Merge pull request #10522 from cotequeiroz/requests-oathlib
phython-requests-oauthlib: bump to v1.3.0
2019-11-11 19:37:31 +02:00
Eneas U de Queiroz
03fc32571f
python-requests-oauthlib: bump to 1.3.0
- Instagram compliance fix
- Added force_querystring argument to fetch_token() method on
  OAuth2Session

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2019-11-11 08:18:07 -03:00
Jeffery To
5be603a836 python-six: Update to 1.13.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-11-11 18:36:14 +08:00
Peter Stadler
efe695f93d django-etesync-journal: add python3 package
This is the reusable django app that implements the server side of EteSync.
There will be another package that makes it available through Nginx using uwsgi.

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2019-11-08 11:10:28 +01:00
Hannu Nyman
c21b6c51a2
Merge pull request #10468 from peter-stadler/django
django: bump version to 2.2.7 and fix minor problems
2019-11-07 21:33:15 +02:00
Jeffery To
dad0415215 python: Fix filespec example in readme
While the filespec example is technically correct, the more likely
scenario is that the files to be omitted would be inside of a package
subdirectory.

This adds an example_package directory into the example to illustrate
this case.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-11-07 22:32:57 +08:00
Peter Stadler
18c99e8d07 django: bump version to 2.2.7 and fix minor problems
Add dependency on python3-sqlparse and use django-admin.py instead of django-admin as the latter depends on python3-pkg-resources.

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2019-11-05 15:50:03 +01:00
Rosen Penev
f095101399
Merge pull request #10374 from peter-stadler/django-cors-headers
django-cors-headers: add python3 package
2019-11-05 02:00:35 -08:00
Rosen Penev
e1af55fdf5
Merge pull request #10375 from peter-stadler/sqlparse
sqlparse: add python3 package
2019-11-05 01:59:31 -08:00
Rosen Penev
f246780450
Merge pull request #10376 from peter-stadler/drf-nested-routers
drf-nested-routers: add python3 package
2019-11-05 01:58:29 -08:00
Jeffery To
6f987b727f python: Add pypi.mk usage to readme
This adds documentation on including pypi.mk and its required/optional
variables to the Python section readme.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-11-05 03:28:12 +08:00
Jeffery To
446bc30c52 python: Remove PKG_BUILD_DIR/PKG_UNPACK sections from readme
PKG_BUILD_DIR now takes variants into account
(openwrt/openwrt@e545fac8d9), so it should
not be necessary for Python packages to set these variables anymore.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-11-05 02:20:37 +08:00
Rosen Penev
c17af1cd50
Merge pull request #10457 from jefferyto/python-cffi-1.13.2
python-cffi: Update to 1.13.2
2019-11-04 09:27:59 -08:00
Jeffery To
c21eee0df4 python-cffi: Update to 1.13.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-11-04 23:42:39 +08:00
Alexandru Ardelean
0c8b0b0bf7 python3: fix build on Ubuntu/Debian multi-arch
This issue was introduced after upgrading to 3.8.
Patch `006-remove-multi-arch-and-local-paths.patch` was dropped. It was
tested on x86, but when using the x86_64 compiler in OpenWrt, the issue is
present.

The issue seems to be about Ubuntu/Debian's multi-arch support in
Python/Python3 setup [which I forgot about]. The code runs it regardless of
whether it cross-compiles or not, and for OpenWrt, this causes issues, as
it introduces absolute include paths from the host system.

Fixes https://github.com/openwrt/packages/issues/10452

Fixes: 48277ec915 ("python3: bump to version 3.8")
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-11-04 14:10:36 +02:00
Josef Schlehofer
426ed75dbe
python-zipp: fix python-more-itertools dependency
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-11-03 13:13:12 +01:00
Jan Pavlinec
f0a79ca148
python-zipp: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-11-02 15:53:09 +01:00
Rosen Penev
c59f56e8ac
Merge pull request #10410 from ja-pa/python-py
python-py: add new package
2019-11-01 16:52:02 -07:00
Rosen Penev
7578d6e639
Merge pull request #10408 from ja-pa/python-wcwidth
python-wcwidth: add new package
2019-11-01 16:51:28 -07:00
Rosen Penev
98cd1adf7a
Merge pull request #10407 from ja-pa/python-more-itertools
python-more-itertools: add new package
2019-11-01 16:51:15 -07:00
Rosen Penev
5c204b8574
Merge pull request #10405 from ja-pa/python-pyparsing
python-pyparsing: add new package
2019-11-01 16:50:58 -07:00
Jan Pavlinec
455fe3dc03
python-pyparsing: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-11-01 12:49:18 +01:00
Jan Pavlinec
4bade3b2f7
python-more-itertools: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-11-01 12:36:38 +01:00
Jan Pavlinec
4624bf6a5d
python-wcwidth: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-11-01 11:05:03 +01:00
Jan Pavlinec
f5211510d4
python-py: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-11-01 10:52:06 +01:00
Jan Pavlinec
92398d28a5
python-atomicwrites: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-11-01 10:45:53 +01:00
Peter Stadler
9298aa6c8b django-cors-headers: add python3 package
This is a dependency for the etesync-server and is using django and urllib.

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2019-11-01 02:38:47 +01:00
Peter Stadler
d5a478bbe8 drf-nested-routers: add python3 package
This is a dependency of the etesync-server and uses the rest framework of django.

Edit: Remove runtests and add dependencies on python3-django and python3-light.

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2019-11-01 01:57:31 +01:00
Peter Stadler
14e51044d7 sqlparse: add python3 package
This is a dependency for django-cors-headers.

Install sqlformat without using pkg-resources:
Upstream uses the entry_point function to call the __main__.py script.
We copy it for avoiding the dependency on pkg_resources and full python3 in turn.

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2019-11-01 00:32:05 +01:00
Jeffery To
635cb1309c treewide: Use pypi.mk for Python packages
This updates all Python packages that download their source from PyPi to
use pypi.mk.

This will allow future improvements/changes to pypi.mk to affect all
relevant packages.

This also makes it easier for future Python packages to start using
pypi.mk, when it's clear how it is used in existing packages.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-10-30 23:16:18 +08:00
Rosen Penev
b266e7f5fc
Merge pull request #10387 from commodo/cffi-update
python-cffi: bump to version 1.13.1
2019-10-29 07:25:49 -07:00
Rosen Penev
b09986d286
Merge pull request #10386 from commodo/pillow-update
pillow: bump to version 6.2.1
2019-10-29 07:25:39 -07:00
Alexandru Ardelean
dff2fe2963 python-cffi: bump to version 1.13.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-10-29 11:35:37 +02:00
Alexandru Ardelean
e78f33dace pillow: bump to version 6.2.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-10-29 11:34:36 +02:00
Alexandru Ardelean
e9e687a1f1 django1: bump to version 1.11.25
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-10-29 10:52:29 +02:00
Hannu Nyman
2865853485
Merge pull request #10349 from dynasticorpheus/pytz-2019.03
python-pytz: update to 2019.03
2019-10-26 16:23:30 +03:00
Alexandru Ardelean
85887ed427
python-asn1crypto: bump to version 1.2.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-10-25 16:08:30 +02:00
Fabian Lipken
0f2cf9ebd6 python-pytz: update to 2019.03
Signed-off-by: Fabian Lipken <dynasticorpheus@gmail.com>
2019-10-24 15:30:58 +02:00
Alexandru Ardelean
c21a453ffd django: split django1 package and update to 2.2.6
After many failed attempts at upgrading Django to 2.2.6, the solution seems
to be to split a `python-django1` package that works with Python2 and
upgrade `python3-django` to the latest 2.2[.6] LTS release.

This also means that all Python2 Django packages will be stuck & based on
Django 1.11[.24] LTS release. But, it's currently the sanest approach I
could find to be able to perform an upgrade of Django to 2.2, and not break
Seafile.

Upgrading Seafile is also pretty difficult, as their Python3 support is not
yet finished & released. And in the meantime, we want to allow people to
use newer Django versions.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-10-24 09:13:38 -03:00
Hannu Nyman
94c344bb92
Merge pull request #10322 from jefferyto/python-2.7.17
python: Update to 2.7.17, refresh patches
2019-10-21 21:53:23 +03:00
Hannu Nyman
7a49d8a232
Merge pull request #10314 from commodo/python-3-8
python3: bump to version 3.8
2019-10-21 18:36:13 +03:00
Jeffery To
83b300aa83 python: Update to 2.7.17, refresh patches
Patches already merged and so removed:
* 011-fix-ssl-build-use-have-npn.patch
* 019-bpo-36216-Add-check-for-characters-in-netloc-that-normalize-to-separators-GH-12216.patch
* 020-bpo-36216-Only-print-test-messages-when-verbose-GH-12291.patch
* 021-2.7-bpo-35121-prefix-dot-in-domain-for-proper-subdom.patch
* 022-bpo-30458-Disallow-control-chars-in-http-URLs-GH-13315.patch
* 023-bpo-35907-Avoid-file-reading-as-disallowing-the-unnecessary-URL-scheme-in-urllib-GH-11842.patch
* 027-bpo-38243-Escape-the-server-title-of-DocXMLRPCServer.patch
* 028-bpo-34155-Dont-parse-domains-containing-GH-13079.patch

Patches no longer necessary and so removed:
* 017_lib2to3_fix_pyc_search.patch

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-10-21 23:30:53 +08:00
Jeffery To
1bacdd52f7 python,python3: Add PYPI_SOURCE_NAME to pypi.mk
This adds a new (optional) variable, PYPI_SOURCE_NAME, to pypi.mk.

For some PyPi packages (e.g. aiohttp_cors, click, django-compressor),
the name of the package and the source tarball name are slightly
different (usually by capitalisation or hyphen/underscore change).

This new variable is to make this difference explicit. PYPI_NAME is
meant for the "official" package name, whereas PYPI_SOURCE_NAME is meant
for the source tarball name.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-10-21 15:27:04 +02:00
Jeffery To
a8bf6a8bd6 python-ipaddress: Update to 1.0.23
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-10-21 21:10:55 +08:00
Jeffery To
46c43b29f7 python-automat: Update to 0.8.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-10-21 21:10:35 +08:00
Jeffery To
f2d744d31a python-attrs: Update to 19.3.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-10-21 21:10:04 +08:00
Alexandru Ardelean
48277ec915 python3: bump to version 3.8
This required a bit work to get working, compared to other versions. So,
some things have changed a bit more significantly.

Some highlights:
* there is no longer a pgen executable, seems this is now part of
  libpython; let's see what this means for us in the future
* blake2 hash (from OpenSSL) detection needs some fixing; will upstream
  added patch 002-fix-blake2-detection.patch
* removed all bpo patches; those should be fixed in upstream
* some needed to be manually re-applied as stuff changed:
  - 001-enable-zlib.patch  - file changed
  - 004-do-not-write-bytes-codes.patch  - file changed
  - 015-abort-on-failed-modules.patch - variable was renamed
    cross_compiling -> CROSS_COMPILING
* 017_lib2to3_fix_pyc_search.patch - the code changed, it does not seem to
     have the original problem with respect to file-extension, as there
     does not seem to be any special extension logic anymore there
* 006-remove-multi-arch-and-local-paths.patch - dropped patch; I can't
     remember the full-details of this issue; it was something with
     Debian/Ubuntu's multi-arch stuff; it was probably added maybe due to
     some overzealous (on my part) thingy caused by some weird reports,
     that I could never solve; let's have this patch dropped and see
* make package/python3/refresh to reduce fuzz for the rest

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-10-21 15:24:51 +03:00
Jeffery To
9d892e3cf8
python-cryptography: Update to 2.8
With this update, the package no longer depends on python-asn1crypto[1].

[1]: https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst#28---2019-10-16

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-10-21 13:41:33 +02:00
Jeffery To
141ead6bd7 python-cffi: Update to 1.13.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-10-21 05:19:23 +08:00
Rosen Penev
758865fa16
Merge pull request #10242 from jefferyto/pypi-mk
python,python3: Add pypi makefile
2019-10-18 13:26:37 -07:00
Jeffery To
add4c42191 python,python3: Add pypi makefile
This adds pypi.mk, which can be included in Python packages that
download their sources from PyPI, to auto-fill various PKG_* variables
based on the value of PYPI_NAME.

This makefile should be included after $(TOPDIR)/rules.mk but before
$(INCLUDE_DIR)/package.mk (and $(INCLUDE_DIR)/host-build.mk).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-10-19 00:16:26 +08:00
Jeffery To
5848f67e41 python-pyasn1-modules: Update to 0.2.7
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-10-16 02:12:51 +08:00
Rosen Penev
2dc860e24b
Merge pull request #10181 from commodo/python-simple-json-drop-tests
python[3]-simplejson: drop tests from simplejson package
2019-10-14 01:03:18 -07:00
Josef Schlehofer
fd9ebe3d70
python-sentry-sdk: Update to version 0.12.3
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-10-12 23:55:36 +02:00
Rosen Penev
96f44c5c33
Merge pull request #10182 from jefferyto/python-attrs-19.2.0
python-attrs: Update to 19.2.0
2019-10-09 12:50:07 -07:00
Rosen Penev
25d0c17dfb
Merge pull request #10187 from commodo/python-asn1crypto-update
python-asn1crypto: bump to version 1.0.1
2019-10-09 12:43:20 -07:00
Alexandru Ardelean
03f625047d python-asn1crypto: bump to version 1.0.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-10-09 13:23:28 +03:00
Alexandru Ardelean
929df778cc python-pillow: bump to version 6.2.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-10-09 11:53:46 +03:00
Jeffery To
d62dc51634 python-attrs: Update to 19.2.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-10-09 05:18:44 +08:00
Alexandru Ardelean
2f19a94d65 python[3]-simplejson: drop tests from simplejson package
These tests take-up a bit of space. And they aren't typically needed.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-10-08 16:53:36 +03:00
Jeffery To
a3be5cfa92 python,python3: Fix CVE-2019-16056, CVE-2019-16935
These patches address issues:
CVE-2019-16056: email.utils.parseaddr mistakenly parse an email
CVE-2019-16935: A reflected XSS in python/Lib/DocXMLRPCServer.py (for
Python 2.7)

CVE-2019-16935 was fixed for python3 in #10109

Links to Python issues:
https://bugs.python.org/issue34155
https://bugs.python.org/issue38243

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-10-04 23:54:46 +08:00
Jeffery To
47d6d8e514 python-simplejson: Fix python[3]-decimal dependency
simplejson depends on the decimal module[1][2]. This adds
python[3]-decimal to the package's DEPENDS.

[1]: https://github.com/simplejson/simplejson/blob/v3.16.0/simplejson/__init__.py#L110
[2]: https://github.com/simplejson/simplejson/blob/v3.16.0/simplejson/encoder.py#L7

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-10-04 22:40:25 +08:00
Rosen Penev
15dfcc3611
Merge pull request #10121 from BKPepe/werkzeug
Werkzeug: Update to version 0.16.0
2019-10-02 12:37:06 -07:00
Rosen Penev
0d3d4ca894
Merge pull request #10122 from BKPepe/flask
Flask: Update to version 1.1.1
2019-10-02 12:36:11 -07:00
Josef Schlehofer
1ccf2377fc
python3-maxminddb: Update to version 1.5.1
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-10-01 00:38:47 +02:00
Josef Schlehofer
19e12971b8
Flask: Update to version 1.1.1
- Change TITLE and URL to better one
- Add source package

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-10-01 00:21:42 +02:00
Josef Schlehofer
267796c316
Werkzeug: Update to version 0.16.0
- Remove PKG_BUILD_DEPENDS as it is no longer necessary.
- The Python3 is already included in DEPENDS.
- Remove PKG_BUILD_DIR and PKG_UNPACK was for dual Python version.
- Change TITLE and description
- Add source package

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-10-01 00:15:35 +02:00
Josef Schlehofer
144c8da84a
python-pyrsistent: Update to version 0.15.4
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-09-30 21:22:35 +02:00
Josef Schlehofer
80def9e653
python3: backport three security patches
Fixes: CVE-2019-16935

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-09-29 23:18:29 +02:00
Rosen Penev
014ebb2f16
Merge pull request #10083 from BKPepe/sentrysdk
python-sentry-sdk: Update to version 0.12.2
2019-09-27 12:09:09 -07:00
Richard Yu
ad9fe1b60b
python-cryptodome: update to 3.9.0
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
2019-09-27 17:05:44 +08:00
Josef Schlehofer
ff106ae376
python-sentry-sdk: Update to version 0.12.2
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-09-26 18:21:43 +02:00
Josef Schlehofer
da51877e7f
python-urllib3: Update to version 1.25.6
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-09-26 11:45:40 +02:00
Jan Pavlinec
ceadbcbb64
treewide: add PKG_CPE_ID for cvescanner
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-09-24 13:51:22 +02:00
Alexandru Ardelean
5f9ea76e7a gunicorn: convert to Python packaging format + add Python3 variant
And splitting the gunicorn[3] binary/executable away from the
python[3]-gunicorn libraries. This was inspired from Debian packaging.

The gunicorn[3] binaries require the new `python[3]-pkg-resources`
libraries to run, which add ~1.1 MB on the [ram]disk when uncompressed.

For the Python2 variant, the `_gaiohttp.py` is dropped as it fails to
compile, so it would likely be unusable anyway:
```
  File "/usr/lib/python2.7/site-packages/gunicorn/workers/_gaiohttp.py", line 84
    yield from self.wsgi.close()
             ^
  SyntaxError: invalid syntax

```

People around the web recommend this as well:
 https://stackoverflow.com/questions/25611140/syntax-error-installing-gunicorn
 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803170
 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803202

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-09-20 14:11:08 +03:00
Alexandru Ardelean
721642908c python,python3: add Py[3]Shebang functions & move outside of script
Some packages just install some Python binaries, that may need their
shebang fixed.
This change adds some utilities to help with that and try to centralize the
sed rules a bit.

It also removes the logic from the `python-package-install.sh` into the
`python-package[3].mk` files. This does 2 things:
1. It minimizes the need for the shell script to know the Python
   version 2/3
2. Makes the logic re-usable in packages; especially if the install rules
   differ a bit

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-09-20 14:10:00 +03:00
Alexandru Ardelean
ed0e77f3c3 python,python3: split python[3]-pkg-resources from setuptools
This package is required by other packages to run some binaries via
`load_entry_point`.

So, this splits this package away from setuptools.
setuptools is pretty big, akd pkg-resources is also big, but not as big.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-09-20 13:42:40 +03:00
Alexandru Ardelean
b104c56e2b python: change condition check for legacy opt for Python3
As I remember this worked.
But since `set -e` is set, I am a bit paranoid about it. In the sense that
it may fail if `ver` != 3.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-09-20 13:42:21 +03:00
Eneas U de Queiroz
acf7c540ca
python-certifi: bump to 2019.9.11
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2019-09-19 14:30:35 -03:00
Rosen Penev
64a02079da
django: Update to 1.11.24
Fixes a whole bunchs of CVEs:

CVE-2019-3498
CVE-2019-6975
CVE-2019-12308
CVE-2019-12781
CVE-2019-14232
CVE-2019-14233
CVE-2019-14234
CVE-2019-14235

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-18 14:40:47 -07:00
Karel Kočí
7bb6d72a47
python-schema: update to version 0.7.1
Signed-off-by: Karel Kočí <karel.koci@nic.cz>
2019-09-16 14:00:43 +02:00
Rosen Penev
61ccd29d37
Merge pull request #9705 from commodo/python-mysqlclient
python-mysql[client]: rename to python-mysqlclient & bump to version 1.4.4
2019-09-12 08:53:27 -07:00
Sven Eckelmann
bbb1ea7345 treewide: Change .*GPL.*+ licenses to SPDX compatible identifier
The CONTRIBUTING.md requests an (or multiple) SPDX identifier for GPL
licenses. But a lot of packages did use a different, non-SPDX style with a
"+" at the end instead of "-or-later".

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-09-10 07:45:15 +02:00
Rosen Penev
6637feefce
Merge pull request #9885 from BKPepe/voluptuous
Voluptuous & Voluptuous Serialize: update to their latest versions
2019-09-03 12:24:24 -07:00
Rosen Penev
c64cc596e5
Merge pull request #9887 from BKPepe/sqlalchemy
python-sqlalchemy: Update to version 1.3.7
2019-09-03 11:57:13 -07:00
Rosen Penev
077ff50192
Merge pull request #9895 from BKPepe/sentry
python-sentry-sdk: Update to version 0.11.2
2019-09-03 11:56:59 -07:00
Daniel Engberg
d6e7293cb6
Merge pull request #9888 from BKPepe/slugify
python-slugify: Update to version 3.0.3
2019-09-03 08:44:30 +02:00
Jeffery To
34aa2843b7 python-pyasn1: Update to 0.4.7
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-09-03 02:50:10 +08:00
Alexandru Ardelean
817cdbd7c9 python-mysql: rename to python-mysqlclient & bump to version 1.4.4
The package on PyPi is named `mysqlclient`.
This should have been named `python-mysqlclient` from the start.
There is a `mysql` package on PyPi already but that's a different
code/package.

Doing this should avoid any future confusion.
There is no good time to do this rename; at least 19.07 has been branched
already and this can go into the next release [in a year or so].

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-09-02 15:06:28 +03:00
Josef Schlehofer
69a65de35b
python-sentry-sdk: Update to version 0.11.2
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-09-01 18:18:32 +02:00
Josef Schlehofer
2ee4b09760
python-sqlalchemy: Update to version 1.3.7
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-09-01 11:00:40 +02:00
Josef Schlehofer
d3c2ff35b5
python-slugify: Update to version 3.0.3
Change indentation in dependencies and as well in description

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-09-01 10:56:28 +02:00
Josef Schlehofer
3cfbdbf25b
python-yaml: Update to version 5.1.2
PKG_NAME should match the name of the folder

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-09-01 09:56:04 +02:00
Josef Schlehofer
af213059f5
python-voluptuous-serialize: Update to version 2.2.0
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-09-01 09:32:53 +02:00
Josef Schlehofer
0835e5e6dc
python-voluptuous: Update to version 0.11.7
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-09-01 09:32:41 +02:00
Eneas U de Queiroz
ab990af307
python-oauthlib: bump to 3.1.0
This is a feature release including improvement to OIDC and security
enhancements, as well as bugfixes.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2019-08-22 14:40:20 -03:00
Josef Schlehofer
4f6a727042
python-sentry-sdk: Update to version 0.11.1
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-08-21 23:41:16 +02:00
Josef Schlehofer
907287be1a
ruamel-yaml: Update to version 0.15.100
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-08-21 22:09:48 +02:00
Rosen Penev
8c49062998
Merge pull request #9757 from BKPepe/sentrysdk
python-sentry-sdk: Update to version 0.10.2
2019-08-17 11:57:15 -07:00
Jeffery To
229c23a440 python,python3: Fix host Python compilation for macOS
* Remove $$$$(pkg-config --static --libs libcrypto libssl) from
  HOST_LDFLAGS

  Having this leads to an "unknown type name 'u_int'" error on Mac.
  Removing it doesn't appear to affect Python's ability to find
  buildroot LibreSSL.

* Change -Wl,-rpath=... to -Wl,-rpath,... in HOST_LDFLAGS

  The equals sign version is not supported by the Mac linker (appears to
  be an GNU extension). The comma version is supported; -rpath and its
  argument will be separated by a space when passed to the linker.

* Add ac_cv_header_libintl_h=no to HOST_CONFIGURE_VARS for Mac

  Python on Mac doesn't expect to use libintl, but if gettext-full is
  compiled for host, it will try, leading to undefined symbol errors
  during compilation. This prevents configure from finding libintl.h.

Fixes #7171.
Fixes #9621.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-08-17 04:45:58 +08:00
Josef Schlehofer
df03098352
python-sentry-sdk: Update to version 0.10.2
Signed-off-by: Josef Schlehofer <josef.schlehofer@nic.cz>
2019-08-16 17:30:35 +02:00
Jeffery To
bc8c9e55d9 python-twisted: Update to 19.7.0, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-08-14 20:28:42 +08:00
Eneas U de Queiroz
903a6564de django-simple-captcha: bump to 0.5.12
This is a bugfix release.  Relevant to openwrt, it removes the binary
flag while opening the dictionary file.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2019-08-14 09:21:35 -03:00
Hannu Nyman
28b1e0134a
Merge pull request #9698 from commodo/python-ver-bumps
pytz,lxml,dateutil: bump package versions
2019-08-12 19:28:58 +03:00
Hannu Nyman
43090a3b75
Merge pull request #9696 from commodo/python-src
python-{asn1crypto,evdev,lxml}: add -src packages
2019-08-12 19:28:44 +03:00
Eneas U de Queiroz
90527d75af django: move django* packages under django submenu
This changes the python[3]-django dependencies in packages to be
non-selecting, and adds an MDEPENDS line so that the *-src packages get
placed inside the django menu as well.

Added MENU:= to the src-package definitions in python[3]-package.mk,
so it does not import that setting from the binary package.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2019-08-12 09:06:53 -03:00
Alexandru Ardelean
436e0ef5c4 python-{asn1crypto,evdev,lxml}: add -src packages
They seem to have become popular, so adding src packages for these as well.
Not bumping PKG_RELEASE intentionally, since these packages are new.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-08-12 10:18:29 +03:00
Alexandru Ardelean
0699a69ba1 python-dateutil: bump to version 2.8.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-08-12 09:53:27 +03:00
Alexandru Ardelean
621f5777d3 python-lxml: bump to version 4.4.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-08-12 09:50:36 +03:00
Alexandru Ardelean
16c9fcdda8 python-pytz: bump to version 2019.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-08-12 09:47:16 +03:00
Rosen Penev
d339cd9cff
Merge pull request #9648 from jefferyto/python-pyasn1-0.4.6
python-pyasn1: Update to 0.4.6
2019-08-04 22:50:34 -07:00
Jeffery To
0f1bcf04e5 python-pyasn1-modules: Update to 0.2.6
Requires python-pyasn1 0.4.6 (#9648).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-08-05 04:03:36 +08:00
Jeffery To
d2f216bb5f python-pyasn1: Update to 0.4.6
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-08-05 03:41:05 +08:00
Rosen Penev
608df65a62
python: Replace utime with utimes
Optionally fixes compilation with uClibc-ng.

Based on the surrounding code, this looks like an oversight.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-07-30 23:44:43 -07:00
Rosen Penev
bc63d21dee
Merge pull request #9454 from BKPepe/markupsafe
MarkupSafe: Makefile polishing and add src package
2019-07-25 10:39:19 -07:00
Rosen Penev
ed6ea52acd
Merge pull request #9489 from BKPepe/egenix
python-egenix-mx-base: Makefile polishing
2019-07-25 10:28:45 -07:00
Josef Schlehofer
ad6ed836a5
Merge pull request #9521 from shenek/feature_python-cachelib
python: cachelib package added
2019-07-22 22:57:30 +02:00
Josef Schlehofer
41241f0f12
Merge pull request #9532 from jefferyto/python-musl-find_library
python,python3: Fix ctypes.util.find_library()
2019-07-22 15:21:34 +02:00
Josef Schlehofer
725eb84462
python: add patch for CVE-2018-20852
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-07-22 15:20:00 +02:00
Jeffery To
e14c4e5c0a python,python3: Fix ctypes.util.find_library()
Python's ctypes.util.find_library() function currently doesn't work for
musl libraries/systems[1].

This adds a patch to fix this function, based on a patch from Alpine
Linux[2].

Fixes #9448.

[1]: https://bugs.python.org/issue21622
[2]: https://git.alpinelinux.org/aports/tree/main/python2/musl-find_library.patch

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-07-22 04:42:54 +08:00
Stepan Henek
ebdeca0108
python-cachelib: package added
Signed-off-by: Stepan Henek <stepan.henek@nic.cz>
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-07-21 22:31:06 +02:00
Josef Schlehofer
adaf400881
python-egenix-mx-base: Makefile polishing
Correct SPDX License Identifier

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-07-17 07:34:41 +02:00
Josef Schlehofer
2fedc207bd
python-pyrsistent: add a new package
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-07-16 15:41:17 +02:00
Josef Schlehofer
3decf75f97
python-cachetools: add a new package
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-07-16 15:40:47 +02:00
Rosen Penev
36c487aba9 python-egenix-mx-base: Clean up Makefile
The librt depends are not needed. EGLIBC is not even in the tree.

Rearranged some stuff for consistency between packages.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-07-15 11:43:25 -07:00
Josef Schlehofer
39934610fa
MarkupSafe: Makefile polishing and add src package
- Improve TITLE and Description
- Remove PKG_UNPACK as it is not necessary
- Correct LICENSE file

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-07-11 20:16:22 +02:00
Rosen Penev
18d612648c
Merge pull request #9436 from cotequeiroz/oauthlib
python-oauthlib: update to 3.0.2 (bugfix release)
2019-07-11 08:11:54 -07:00
Alexandru Ardelean
8c96971c08 django-webpack-loader: update packaging format + add python3 variant
This change also updates the maintainer email to cotequeiroz@gmail.com, as
requested on a different change.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-07-11 15:16:36 +03:00
Alexandru Ardelean
b239483365 django-statici18n: update packaging format + add python3 variant
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-07-11 15:16:36 +03:00
Alexandru Ardelean
545cff8b63 django-simple-captcha: update packaging format + add python3 variant
This change also updates the maintainer email to cotequeiroz@gmail.com, as
requested on a different change.

Also, changing here is the download URL to github's codeload, since that
one offers .tar.gz archives.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-07-11 15:16:34 +03:00
Alexandru Ardelean
70ebc7a2f4 django-ranged-response: update packaging format + add python3 variant
This change also updates the maintainer email to cotequeiroz@gmail.com, as
requested on a different change.

Not updating deps here, since that will be done in the next changeset that
will convert packages to the Python[3] packaging format.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-07-11 15:15:23 +03:00
Alexandru Ardelean
f5eb040e6b python-qrcode: update Eneas' email as per prev request
The email change was part of a previous request from a different PR series.
In this series, the change is the only thing left to do (from what the
original changeset intended to do).

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-07-11 15:10:09 +03:00
Josef Schlehofer
5fc56ba8f0
Merge pull request #8337 from BKPepe/python-qr
python-qrcode: add Python3
2019-07-11 13:51:07 +02:00
Josef Schlehofer
d9b46c2239
Merge pull request #8715 from BKPepe/pillow
pillow: update to version 6.0.0, add Python3 variant
2019-07-11 13:50:12 +02:00
Eneas U de Queiroz
6c4ba3a58d
python-oauthlib: update to 3.0.2 (bugfix release)
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2019-07-10 15:33:06 -03:00
Josef Schlehofer
4a7b407d70
python-sentry-sdk: Update to version 0.10.1
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-07-10 10:13:44 +02:00
Josef Schlehofer
ce769db007
python3: Update to version 3.7.4
- Update setuptools to 40.8.0
- Update pip to 19.0.3
- Refreshed patches
- Removed 4 patches (2 of them was included in 3.7.3 and other two are
included in this release)

Makefile python3:
- Move PKG_MAINTAINER above PKG_LICENSE

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-07-10 10:11:50 +02:00
Josef Schlehofer
f265bfb171
pillow: add Python3 variant and update to 6.1.0
- Add @commodo as maintainer

Co-Authored-By: Jeffery To <jeffery.to@gmail.com>
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-07-09 22:05:59 +02:00
Karel Kočí
306e276a3b
python-intelhex: add new package
This is Python library to parse, generate and in general handle files
in Intel HEX format.

Signed-off-by: Karel Kočí <cynerd@email.cz>
2019-07-08 15:56:50 +02:00
Josef Schlehofer
f8d595169a
Merge branch 'sqlalchemy' of BKPepe/packages 2019-07-08 10:38:30 +02:00
Rosen Penev
891cec81f2
Merge pull request #9404 from BKPepe/bcrypt
bcrypt: Update to version 3.1.7
2019-07-07 21:47:02 -07:00
Josef Schlehofer
cd13d5d4de
python-sentry-sdk: Update to version 0.10.0
- Reorder alphabetically dependencies
- Add python3-logging as a dependency

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-07-07 18:46:33 +02:00
Josef Schlehofer
43c89c56a2
bcrypt: Update to version 3.1.7
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-07-06 08:37:30 +02:00
Josef Schlehofer
b728e84ec6
bcrypt: Reorder Makefile and change TITLE
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-07-06 08:37:13 +02:00
Rosen Penev
6295937662
Merge pull request #8734 from BKPepe/aiohttp-cors
python-aiohttp-cors: add package
2019-07-05 20:00:40 -07:00
Josef Schlehofer
f5fae3dee8
python-sqlalchemy: add package with version 1.3.5
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-07-05 21:39:19 +02:00
Josef Schlehofer
eb38ddfa13
python-aiohttp-cors: add package
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-07-05 21:25:13 +02:00
Rosen Penev
e3c8bd7b37
Merge pull request #9402 from BKPepe/sentrysdk
python-sentry-sdk: add package with version 0.9.0
2019-07-05 11:58:52 -07:00
Josef Schlehofer
7fb6466435
python-sentry-sdk: add package with version 0.9.5
Signed-off-by: Josef Schlehofer <josef.schlehofer@nic.cz>
2019-07-05 20:28:31 +02:00
Josef Schlehofer
6c7a31ec5e
python-qrcode: add Python3
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-07-05 18:07:24 +02:00
Josef Schlehofer
0a3e4d8294
python3-bottle: update to version 0.12.17
Shorter TITLE
- The longer one was not shown in make menuconfig.
Reodered stuff in Makefile
Removed PKG_UNPACK and change PKG_BUILD_DIR

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-07-05 10:30:55 +02:00
Rosen Penev
272a4f6611
Merge pull request #9380 from BKPepe/yaml-update
python-yaml: update to version 5.1.1
2019-07-04 22:50:14 -07:00
Rosen Penev
23c36d475f
Merge pull request #9379 from BKPepe/unidecode-update
python3-unidecode: update to version 1.1.1
2019-07-04 22:40:38 -07:00
Josef Schlehofer
bec7011401
python-yaml: update to version 5.1.1
Reorder one thing in Makefile and add two spaces in description

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-07-03 21:19:49 +02:00
Josef Schlehofer
a5ad8f70f5
python3-unidecode: update to version 1.1.1
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-07-03 21:10:17 +02:00
Rosen Penev
e2aa918e0e
Merge pull request #9372 from neheb/pyt
python-cryptography: Remove NPN
2019-07-03 07:42:15 -07:00
Alexandru Ardelean
441f486081 django-restframework: update packaging format + add python3 variant
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-07-02 18:10:34 -03:00
Alexandru Ardelean
15272fcc65 django-postoffice: update packaging format + add python3 variant
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-07-02 18:10:34 -03:00
Alexandru Ardelean
6a7f547a38 django-picklefield: update packaging format + add python3 variant
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-07-02 18:10:34 -03:00
Alexandru Ardelean
7bbc5131f2 django-jsonfield: update packaging format + add python3 variant
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-07-02 18:10:34 -03:00
Alexandru Ardelean
e4d8127cae django-formtools: update packaging format + add python3 variant
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-07-02 18:10:34 -03:00
Alexandru Ardelean
35cddd9b6f django-compressor: update packaging format + add python3 variant
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-07-02 18:10:34 -03:00
Alexandru Ardelean
3392fbc6fc django-appconf: update packaging format + add python3 variant
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-07-02 18:10:34 -03:00
Eneas U de Queiroz
8bdb697671 python-curl: add ssl locking support to wolfssl
Patch was merged upstream.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2019-07-02 16:53:47 -03:00
Eneas U de Queiroz
3e78945eaf python-curl: fix compilation with libcurl-wolfssl
This allows compilation when libcurl is build with wolfssl as its SSL
backend.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2019-07-02 16:53:47 -03:00
Rosen Penev
08599312d4
python-cryptography: Remove NPN
Upstream backport. It seems the holdup is on python-twisted.

Without this, it fails with
SSL_get0_next_proto_negotiated: symbol not found

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-07-02 11:36:18 -07:00
Josef Schlehofer
aa8685e025
python-schedule: Add a new package
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-07-02 18:52:41 +02:00
Josef Schlehofer
2c4d3abb05
Merge pull request #9262 from BKPepe/unidecode_update
python3-unidecode: Update to version 1.1.0
2019-06-30 14:54:17 +02:00
Josef Schlehofer
899d5cee89
Merge pull request #9161 from BKPepe/click
click: update to version 7.0
2019-06-30 14:53:19 +02:00
Eneas U de Queiroz
523c52f6f2 python3: use _python_sysroot for cross-compilation
This patch, taken from buildroot, avoids the use of host paths when
compiling third-party extensions.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2019-06-26 18:50:07 -03:00
Josef Schlehofer
166c4ac5be
Merge pull request #9261 from BKPepe/flup
flup: migrate to Python3 and add src package
2019-06-26 14:50:24 +02:00
Rosen Penev
c5d7317c47
Merge pull request #9223 from BKPepe/itsdangerous
itsdangerous: Makefile polishing
2019-06-25 19:00:41 -07:00
Josef Schlehofer
a5b2ba9b4d
flup: add Python3 variant and src package
- Add PKG_LICENSE_FILES
- Reorder things in Makefile
- Add dependency python3-logging otherwise I cannot import
flup.server.ajp
flup.server.scgi

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-06-26 03:19:07 +02:00
Rosen Penev
d1517aa627
Merge pull request #9264 from cotequeiroz/bcrypt
bcrypt: add python-cffi/host build dependency
2019-06-19 12:19:10 -07:00
Jeffery To
4521b13477 python: Clarify README for Python 2-only libraries
This clarifies that Python 2-only libraries will have a Python 3 version
added, instead of being replaced by a Python 3 version (before the 2020
mass removal).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-06-19 21:09:10 +08:00
Josef Schlehofer
cbdcca8f73
Merge pull request #9224 from BKPepe/markdown
python-markdown: add a new package
2019-06-19 12:25:24 +02:00
Rosen Penev
8530ae7cfd
Merge pull request #9256 from BKPepe/pycurl
python-curl: update to version 7.43.0.3
2019-06-18 23:28:42 -07:00
Eneas U de Queiroz
86fb008751
bcrypt: add python-cffi/host build dependency
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-06-18 19:11:42 -03:00
Josef Schlehofer
4ed575c4e4
python3-unidecode: Update to version 1.1.0
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-06-18 23:22:57 +02:00
Karel Kočí
6cdcfd906f
python-markdown: add a new package
Signed-off-by: Karel Kočí <karel.koci@nic.cz>
[Add me as maintainer]
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-06-18 23:19:24 +02:00
Josef Schlehofer
3856573798
python-curl: update to version 7.43.0.3
Patch was accepted.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-06-18 19:59:14 +02:00
Alexandru Ardelean
1b2936a2d0 django-constance: convert to python pkg format + add python3 variant
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-06-18 15:12:22 +03:00
Alexandru Ardelean
f026dba26e django: convert to python pkg format + add python3 variant
This also updates all dependencies to use the new `python-django` package.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-06-18 15:12:19 +03:00
Alexandru Ardelean
83277d8bf3 python-pytz: remove host-build
seafile-seahub was the only user of this.
Remove this from the build.
Having it here is a bit messy.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-06-18 15:08:12 +03:00
Eneas U de Queiroz
0b781fd23b python-certifi: bump to 2019.6.16
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-06-17 16:18:10 -03:00
Josef Schlehofer
41063bada1
itsdangerous: Makefile polishing
- Change Website URL
- Add src package

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-06-15 12:28:24 +02:00
Rosen Penev
3acd543a53
Merge pull request #9208 from BKPepe/zeroconf
zeroconf: update to version 0.23.0
2019-06-10 08:43:24 -07:00
Rosen Penev
da2f5a7217
Merge pull request #9207 from BKPepe/ruamel
ruamel-yaml: update to version 0.15.97
2019-06-10 08:42:07 -07:00
Rosen Penev
15fba58d0b
Merge pull request #9199 from jefferyto/python-config-staging-dir-host
python,python3: Move python-config to $(STAGING_DIR)/host
2019-06-10 08:37:57 -07:00
Rosen Penev
76ec2891e3
Merge pull request #9213 from ja-pa/python3-flask-login
python3-flask-login: add new package
2019-06-10 08:36:37 -07:00
Rosen Penev
e4355175b3
Merge pull request #9214 from jefferyto/python-twisted-19.2.1
python-twisted: Update to 19.2.1
2019-06-10 08:35:40 -07:00
Daniel Golle
e3bc499b54
Merge pull request #9169 from ja-pa/flask-1.0.3
python3-flask: update to version 1.0.3
2019-06-10 15:53:27 +02:00
Jeffery To
909bbc6563 python-twisted: Update to 19.2.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-06-10 21:42:47 +08:00
Jan Pavlinec
21f01685af
python3-flask-login: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-06-10 15:42:23 +02:00
Josef Schlehofer
54525f97dc
Merge pull request #9171 from ja-pa/python3-maxminddb
python3-maxminddb: add new package
2019-06-10 15:42:09 +02:00
Jan Pavlinec
694c5fe421
python3-flask: update to version 1.0.3
Changes:
Makefile cleanup
change url to https
add src package

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-06-10 15:22:03 +02:00
Jeffery To
64959a1dd0 python,python3: Move python-config to $(STAGING_DIR)/host
Build/InstallDev is passed a second argument, a path where host binaries
should be placed (ultimately $(STAGING_DIR)/host).

This change moves python[3]-config to that directory.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-06-10 20:33:06 +08:00
Jan Pavlinec
feaed6bcb6
python3-maxminddb: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-06-10 13:03:06 +02:00
Josef Schlehofer
e8b1f3efeb
zeroconf: update to version 0.23.0
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-06-10 00:42:38 +02:00
Josef Schlehofer
ad6fbb9ef2
ruamel-yaml: update to version 0.15.97
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-06-09 23:19:50 +02:00
Martin Matějek
596990974c python3-pyroute2: Update to version 0.5.6
Signed-off-by: Martin Matějek <martin.matejek@gmx.com>
2019-06-07 13:21:18 +02:00
Josef Schlehofer
25e8b2cda2
click: update to version 7.0
- Change URL of the website and for PKG_SOURCE_URL
- Change TITLE and description
- Remove PKG_BUILD_DEPENDS, PKG_UNPACK as they are not necessary
- Add src package

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-06-05 23:09:53 +02:00
Rosen Penev
8f0f613af0
Merge pull request #9131 from jefferyto/python-bpo-35907
python,python3: Fix CVE-2019-9948 - local_file:// allowed in urllib
2019-06-05 01:23:46 -07:00
Hannu Nyman
438326179e
Merge pull request #9129 from ysc3839/pycryptodome
python-cryptodome: update to 3.8.2.
2019-06-04 21:25:18 +03:00
Jeffery To
53838903fe python,python3: Fix CVE-2019-9948 - local_file:// allowed in urllib
These patches address issue:
CVE-2019-9948: Unnecessary URL scheme exists to allow local_file://
reading file in urllib

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

Issue 35907 is still currently open, waiting for a decision for
Python 3.5; these patches for Python 2.7 and 3.7 have been merged.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-06-04 22:20:21 +08:00
Hannu Nyman
1e39f3189b
Merge pull request #9114 from jefferyto/python-host-setuptools-pip-installed-pkg-release
python,python3: Record PKG_RELEASE for host setuptools/pip
2019-06-03 17:02:44 +03:00
Rosen Penev
15a0606403
Merge pull request #9100 from jefferyto/isolate-host-python
python,python3: Better isolate host Python
2019-06-03 02:11:20 -07:00
Rosen Penev
bb5a8c43b6
Merge pull request #9121 from jefferyto/python-cryptography-2.7
python-cryptography: Update to 2.7
2019-06-03 02:09:20 -07:00
Richard Yu
81bffa694a
python-cryptodome: update to 3.8.2.
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
2019-06-03 05:09:36 +08:00
Jeffery To
b74d45e88a python-cryptography: Update to 2.7
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-06-03 02:56:01 +08:00
Jeffery To
9331fbb1a0 python,python3: Fix CVE-2019-9740 and CVE-2019-9947
These patches address issues:
CVE-2019-9740: Python urllib CRLF injection vulnerability
CVE-2019-9947: Header Injection in urllib

Links to Python issues:
https://bugs.python.org/issue36276 (resolved duplicated of 30458)
https://bugs.python.org/issue35906 (resolved duplicated of 30458)
https://bugs.python.org/issue30458

Issue 30458 is still currently open, waiting for a decision for
Python 3.5; these patches for Python 2.7 and 3.7 have been merged.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-06-03 00:38:53 +08:00
Jeffery To
1f1eacc484 python,python3: Record PKG_RELEASE for host setuptools/pip
This changes the "patched" indicator files for host setuptools and pip
to include their PKG_RELEASE values. This also removes host setuptools
and/or pip before host install, if the installed copy does not match the
version (and PKG_RELEASE) of the copy to be installed.

This will allow added or removed patches to affect host setuptools /
pip, since these changes will cause PKG_RELEASE to be incremented.

This also fixes the host install error, when the install tries to patch
an already patched copy of setuptools. (This error occurs because the
existing indicator files do not have version numbers in their file
names, whereas host install expected version numbers to be present.)

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-06-01 03:52:23 +08:00
Josef Schlehofer
26b31c2645
Merge pull request #9087 from BKPepe/urllib3
python-urllib3: update to version 1.25.3
2019-05-30 15:19:21 +02:00
Hannu Nyman
e3dbc87bd9
Merge pull request #9103 from jefferyto/python-host-patch-upgraded-setuptools-pip
python,python3: Allow upgraded host setuptools/pip to be patched
2019-05-30 11:11:26 +03:00
Hannu Nyman
b7e689aefd
Merge pull request #9101 from jefferyto/python-setuptools-pip-install
python-setuptools,python-pip: Installation changes
2019-05-30 11:10:23 +03:00
Hannu Nyman
9d65877b5c
Merge pull request #9102 from jefferyto/python-cffi-cryptography-build-depends
python-cffi,python-cryptography: Fix build depends
2019-05-30 11:09:39 +03:00
Jeffery To
e074cbc285 python,python3: Allow upgraded host setuptools/pip to be patched
This adds the current setuptools/pip version numbers to the indicator
files' names, which should allow upgraded versions to be patched.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-05-30 01:48:29 +08:00
Hannu Nyman
e9d59949ce
Merge pull request #8979 from val-kulkov/python-curl
python-curl: remove hardcoded dependency on mbedtls
2019-05-29 19:38:32 +03:00
Hannu Nyman
96ae56b1e5
Merge pull request #9093 from jefferyto/python-host-ensurepip-upgrade-uninstall
python,python3: Use ensurepip=upgrade for host Python
2019-05-29 19:36:29 +03:00
Hannu Nyman
7d9511ae9d
Merge pull request #9085 from commodo/readme-multi-package-feeds
lang: python: readme: document mechanism for corner-case python[3]-package.mk location
2019-05-29 19:35:43 +03:00
Jeffery To
c94c98efca python-cffi,python-cryptography: Fix build depends
python-cryptography's build depends (host cffi, libffi) were transferred
to python-cffi at some point; this corrects the situation.

python-cryptography's host Python build depends is copied from its
setup.py[1].

[1]: https://github.com/pyca/cryptography/blob/2.6.1/setup.py#L47

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-05-29 23:08:19 +08:00
Jeffery To
b8e7a197db python3-setuptools,python3-pip: Use more predictable pycache cleanup
This uses two find commands to delete __pycache__ contents then the
__pycache__ directories, rather than a for loop.

The second command omits a -empty test, so that if the first command
doesn't remove all directory contents for some reason, the second
command will return an error (find will not delete a non-empty
directory).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-05-29 22:42:02 +08:00
Jeffery To
be751236aa python-setuptools,python-pip: Change prefix to /usr
This changes the --prefix option, passed to host pip when "installing"
target setuptools and pip, to /usr, in case the prefix is recorded in
the packages.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-05-29 22:38:30 +08:00
Jeffery To
688825f37a python-setuptools,python-pip: Set pip cache dir, disable version check
This adds --cache-dir and --disable-pip-version-check options for host
pip, when "installing" target setuptools and pip.

This also changes the pip command to use $(HOST_PYTHON[3]_PIP) from
python[3]-host.mk.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-05-29 22:29:20 +08:00
Jeffery To
87a31e49f7 python,python3: Disable user site-packages for host Python
Normally, Python will include the user's site-packages directory
(~/.local/lib/python$(PYTHON_VERSION)/site-packages) in it's internal
search path for modules.

This disables this default inclusion for host Python.

This change is applied during Host/Configure instead of as a patch to
keep this setting unchanged for target Python.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-05-29 22:03:18 +08:00
Jeffery To
ae80ddc7ab python,python3: Update host pip[3] install functions
* Add --cache-dir option to set the pip cache to a directory in
$(DL_DIR), instead of pip's default (build user's ~/.cache/pip),
fixes #9066

* Add --disable-pip-version-check option, since the version check only
prints a message saying a new version is available

* Combine host_python_pip_install and host_python_pip_install_host into
Build/Compile/HostPy[3]PipInstall

* Remove --root and --prefix options, since this function is only used
to install packages to host Python's default site-packages directory
(setting these may serve to confuse pip)

* Pass all of $(HOST_PYTHON[3]_PACKAGE_BUILD_DEPENDS) to the function,
since pip can handle multiple arguments/packages

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-05-29 21:45:16 +08:00
Alexandru Ardelean
d607b4da7b lang: python: readme: document mechanism for corner-case python[3]-package.mk location
After some thinking over this, documenting this behavior makes sense
versus adding some functionst to handle this.
There is some validity/use-cases where some users may want to reference
a python[3]-package.mk from some other location as well as have the
flexibility to change it (locally). One example can be when the local
`packages` is renamed to something else.

This does not fall on the responsibility of the Python maintainers, but
it can be documented.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-05-28 21:38:01 +03:00
Jeffery To
af5288827e python,python3: Use ensurepip=upgrade for host Python
This changes --with-ensurepip=install to upgrade, to upgrade host
versions of setuptools and pip to the Python-bundled versions.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-05-28 20:27:13 +08:00
Jeffery To
6952970b2e python,python3: Clear more fields for src packages
This clears the CONFLICTS, PROVIDES, EXTRA_DEPENDS, and USERID fields
for -src packages.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-05-28 00:43:26 +08:00
Josef Schlehofer
9a76b31814
python-urllib3: update to version 1.25.3
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-05-26 23:57:01 +02:00
Rosen Penev
10dd4f4720
Merge pull request #9060 from jefferyto/python-setuptools-reproducible
python-setuptools: Add reproducibility patches from Debian
2019-05-25 16:11:43 -07:00
Jeffery To
6bd527df2e python-chardet: Rename Python 3 script
The Python 2 and 3 versions of chardet both install a script with the
same name (/usr/bin/chardetect). This is the issue identified in #9006
(https://github.com/openwrt/packages/pull/9006#issuecomment-493709812).

This renames the Python 3 script to chardetect3.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-05-25 04:28:53 +08:00
Eneas U de Queiroz
ea781a938c python-requests-oauthlib: add python3, clean deps
Added a python3 variant, and removed python-cryptography, and pyjwt from
the dependencies.  They are required only to run one test, that is not
even being installed.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-05-24 13:59:55 -03:00
Jeffery To
da35e6770d python-setuptools: Add reproducibility patches from Debian
This adds the ability to patch setuptools (and pip), and adds 3
reproducibility patches from Debian[1].
(003-PKG-INFO-output-reproducible.patch addresses the issue identified
in #9039.)

The patching is not perfect, in that the patches are applied to
setuptools and pip after they have been installed, since they are
installed from wheels which are already "precompiled".

Also, patching for the host install cannot be updated in place, for
example if a patch is added or removed.

[1]: https://sources.debian.org/patches/python-setuptools/40.8.0-1/

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-05-24 13:18:09 +08:00
Rosen Penev
35c93de128
Merge pull request #9047 from cotequeiroz/python-license
python-{pip,setuptools}: add LICENSE, CPE information
2019-05-21 17:14:44 -07:00
Eneas U de Queiroz
5f447b9020
python-python3-pip: add LICENSE information
CVE id was left commented out as it is not handled by uscan.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-05-21 14:46:13 -03:00
Eneas U de Queiroz
bbd4930ccd
python-python3-setuptools: add LICENSE information
CVE id was left commented out as it is not handled by uscan.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-05-21 14:44:40 -03:00
Eneas U de Queiroz
5ea5d69ed3 openpyxl: bump to 2.6.2, add python3, fix depends
The current package does not work, due to missing dependencies, so they
are being added now, along with python3 support.

This versions brings many bugfixes, and the option to use defusedxml if
available, protecting against many xml exploits.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-05-21 10:53:52 -03:00
Eneas U de Queiroz
1044ca095f python-et_xmlfile: restore & update removed package
This is a dependency of the openpyxl package.

The package Makefile was reworked, and a python3 variant was added.
Maintainer was changed to Alexandru Ardelean & Eneas U de Queiroz.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-05-21 10:53:52 -03:00
Eneas U de Queiroz
d396d84d5d python-jdcal: restore & update removed package
This is a dependency of the openpyxl package.

The package Makefile was reworked, and a python3 variant was added.
Maintainer was changed to Alexandru Ardelean & Eneas U de Queiroz.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-05-21 10:53:52 -03:00
Rosen Penev
05cd0c24a4
Merge pull request #8993 from cotequeiroz/rcssmin
python-rcssmin: restore & update removed package, add depend to django-compressor
2019-05-21 01:20:09 -07:00
Rosen Penev
c552f138e0
Merge pull request #9040 from cotequeiroz/python-license
Python/python3: refresh license information
2019-05-21 00:45:49 -07:00
Rosen Penev
a505e173d6
Merge pull request #9039 from cotequeiroz/python_conditional
treewide: add PACKAGE_* DEPENDS conditionals to python packages building both variants, update README.md
2019-05-21 00:45:17 -07:00
Eneas U de Queiroz
00f90974b6
python3: refresh LICENSE information
Changed PKG_LICENSE to reflect spdx license tag, and PKG_LICENSE_FILES
to include all lincense-related files applicable to the parts of the
code we are actually using to build and/or distributing.  The
Windows-only files, and the python-bundled Tools we're not using have
been left out.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-05-20 18:20:43 -03:00
Eneas U de Queiroz
971b2a5218
python: refresh LICENSE information
Changed PKG_LICENSE to reflect spdx license tag, and PKG_LICENSE_FILES
to include all lincense-related files applicable to the parts of the
code we are actually using to build and/or distributing.  The
Windows-only files, and the python-bundled Tools we're not using have
been left out.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-05-20 18:18:23 -03:00