Commit graph

1411 commits

Author SHA1 Message Date
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
Eneas U de Queiroz
65009e8127
treewide: Add PACKAGE_* conds to python packages
If a package builds python & python3 variants, then the respective
PACKAGE-python* conditional DEPENDS were added, since circular
dependencies should all be resolved now.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-05-20 16:18:06 -03:00
Eneas U de Queiroz
36d0c59e99
python: README.md: adjust recursive dep text, misc
Adding the conditionals to DEPENDS should not cause circular
dependencies any more.  This adjusts the text to point out that it used
to be a problem, and if it happens again, one should open an issue.

Also, some spotted trivial errors were fixed.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-05-20 16:17:30 -03:00
Eneas U de Queiroz
016ef28dff
django-compressor: add missing dependencies.
Added python-rcssmin, and django-appconfig as dependencies, and a note
in the package help text about not having a rjsmin package, so the
jsmin (javascript) filter will not work.
Adjusted the Makefile to conform to current python-package style, and to
display the package title correctly in menuconfig.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-05-20 11:24:37 -03:00
Eneas U de Queiroz
ef77f9940e
python-rcssmin: restore & update removed package
This is a dependency of django-compressor.

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-20 11:03:54 -03:00
Eneas U de Queiroz
8b03ed3124
python-qrcode: adjust Makefile style
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-05-17 23:10:40 -03:00
Eneas U de Queiroz
37ebbb545e
python-oauthlib: adjust Makefile style
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-05-17 23:10:39 -03:00
Eneas U de Queiroz
e0a0f92eb6
python-defusedxml: adjust Makefile style
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-05-17 23:10:39 -03:00
Eneas U de Queiroz
436426307d
python-certifi: adjust Makefile style
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-05-17 23:10:39 -03:00
Eneas U de Queiroz
f33f686f40
pyjwt: adjust Makefile style
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-05-17 23:10:38 -03:00
Eneas U de Queiroz
4e8697e1fe
django-webpack-loader: adjust Makefile style
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-05-17 23:10:38 -03:00
Eneas U de Queiroz
a7308d266b
django-simple-captcha: adjust Makefile style
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-05-17 23:10:38 -03:00
Eneas U de Queiroz
fe71210446
django-ranged-response: adjust Makefile style
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-05-17 23:10:37 -03:00
Eneas U de Queiroz
65d36f0191
django-formtools: adjust Makefile style
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-05-17 23:10:37 -03:00
Josef Schlehofer
70be46618d
python-requests: update to version 2.22.0
Remove patch, which is included in this release

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-05-16 23:26:33 +02:00
Eneas U de Queiroz
d3f8d69711 python-defusedxml: add new package
The defusedxml package contains several Python-only workarounds and
fixes for denial of service and other vulnerabilities in Python's XML
libraries. In order to benefit from the protection you just have to
import and use the listed functions / classes from the right defusedxml
module instead of the original module.

Currently, openpyxl detects, and uses defusedxml, if installed.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-05-16 08:48:38 -03:00
Val Kulkov
0dd445a248 python-curl: remove hardcoded dependency on mbedtls
Fixes issue #8978. If libcurl's SSL library is set to an SSL
library other than libmbedtls, compilation fails. This patch
configures python-curl to use the currently selected SSL library
for libcurl.

Signed-off-by: Val Kulkov <val.kulkov@gmail.com>
2019-05-14 01:47:09 -04:00
Jeffery To
afeb7e8a78 python-pyasn1-modules: Update to 0.2.5
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-05-13 20:44:20 +08:00
Josef Schlehofer
5d2eb58aa3
Merge pull request #8807 from BKPepe/requests
python-requests: allow urllib3 1.25.x
2019-05-13 10:42:49 +02:00
Rosen Penev
61cfd69327
Merge pull request #8933 from commodo/readme-ext-feeds
lang/python/README.md: add note about use in other packages feeds
2019-05-11 12:29:32 -07:00
Daniel Golle
8849bf6fa4 Werkzeug: update to version 0.15.2
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2019-05-10 23:36:49 +02:00
Yousong Zhou
bb7893ed72 python-packages: strip quotes around index-url
With pip3.7, `--index-url ""` is different from absence of --index-url
argument.  Apply the same for python3 variant

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-05-10 16:49:51 +08:00
Yousong Zhou
ac66e2329d python3-packages: port from python-packages
This is largely done by suffixing "python" or "py" with "3".  The
README.md file is also copied here and we intend to maintain it
independently from its python2 counterpart.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-05-10 16:49:51 +08:00
Josef Schlehofer
8e04393a11
python-requests: polishing Makefile
Add PKG_CPE_ID, PKG_LICENSE_FILES
Reorder things in Makefile
Update URL

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-05-08 19:42:21 +02:00
Josef Schlehofer
245d3b69a4
python-requests: allow urllib3 1.25.x
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-05-08 19:42:21 +02:00
Josef Schlehofer
dad7c2eaaf
Merge pull request #8806 from BKPepe/python-urllib3
python-urllib3: update to version 1.25.2
2019-05-08 19:31:58 +02:00
Josef Schlehofer
d1b9966806
Merge pull request #8831 from BKPepe/zeroconf
python-zeroconf: update to version 0.22.0
2019-05-08 17:57:29 +02:00
Josef Schlehofer
8b9607e29c
Merge pull request #8802 from dddaniel/master
python-boto3: Add new package
2019-05-08 15:26:31 +02:00
Alexandru Ardelean
dab8f49f82 lang/python/README.md: add note about use in other packages feeds
By popular demand, via:
   https://github.com/openwrt/packages/issues/8892#issuecomment-489992926

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-05-08 14:49:04 +03:00
Daniel Danzberger
128fa745e9 python-boto3: Add new package
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2019-05-06 17:30:09 +02:00
Eneas U de Queiroz
47ba0c066c django-simple-captcha: bump to 0.5.11
This is a bugfix release.
Made some cosmetic changes to the Makefile.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-05-05 08:35:15 -03:00
Rosen Penev
6b9c6ee6ff
Merge pull request #8840 from cotequeiroz/django_pytz
django: Add pytz dependency
2019-05-03 12:49:24 -07:00
Rosen Penev
efbcf695b8
Merge pull request #8786 from commodo/readme-encodings-update
python/README.md: fix note about python[3]-codecs
2019-05-03 12:45:12 -07:00
Alexandru Ardelean
d0fcfc52a1 python/README.md: fix note about python[3]-codecs
The note was note correct when mentioning encodings vs python[3]-codecs.
This change fixes this confusion.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-05-03 22:34:51 +03:00
Jeffery To
3a036339e8 python/README: Add deprecation notice / schedule
This describes the proposal outlined in #8520, with a few
additions/modifications:

* Describes the handling of the Python 2 interpreter

* Allows for normal updates of Python 2 libraries that share the same
  Makefile as their Python 3 version

* Mass removal event has a name

Supersedes #8788.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-05-04 02:13:11 +08:00
Hannu Nyman
b57a79dd2c
Merge pull request #8760 from commodo/remove-un-needed
jdcal,et_xmlfile,rcssmin: remove un-needed python packages
2019-05-02 18:57:07 +03:00
Eneas U de Queiroz
96802374c4
django: Add pytz dependency
pytz is a run-time dependency of django.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-04-30 16:17:24 -03:00
Alexandru Ardelean
ffb716efb7 treewide,python: take over maintainership from Gergely Kiss
This change changes the maintainer to
 `Alexandru Ardelean <ardeleanalex@gmail.com`
for all Python packages owned by
 `Gergely Kiss <mail.gery@gmail.com>`

No functional changes.
Bumping PKG_RELEASE on each package that is updated.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-04-30 08:12:58 -03:00
Josef Schlehofer
6246994130
python-urllib3: update to version 1.25.2
Add me as maintainer

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-04-29 21:54:24 +02:00
Josef Schlehofer
5b9cff35ac
python-zeroconf: update to version 0.22.0
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-04-28 23:51:35 +02:00
Hannu Nyman
f32f1a314a
Merge pull request #8795 from commodo/python-evdev-bump
Python evdev bump
2019-04-27 19:06:21 +03:00
Yousong Zhou
92e0bbfbd2 python-six: remove python2 variant of host install
The python2 host variant is not needed anymore as openvswitch has now
switch to using python3 for building

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-04-26 21:03:37 +08:00
Yousong Zhou
ab61214827 python-six: add python3 variant for host install
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-04-26 21:03:37 +08:00
Josef Schlehofer
dea374e9fd
Merge pull request #8738 from BKPepe/xmltodict
python-xmltodict: add a new package
2019-04-26 11:47:52 +02:00
Josef Schlehofer
8c12df8fad
python-xmltodict: add a new package
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-04-26 11:18:07 +02:00
Josef Schlehofer
1d00dab07e
Merge pull request #8787 from BKPepe/ruamel.yaml
ruamel-yaml: update to version 0.15.94
2019-04-25 14:06:37 +02:00
Alexandru Ardelean
83c349caee python-evdev: use PYTHON[3]_PKG_SETUP_GLOBAL_ARGS vars for build
This is a minor cleanup.
Use PYTHON[3]_PKG_SETUP_GLOBAL_ARGS variable to specify extra build args.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-04-25 10:44:14 +03:00
Alexandru Ardelean
3e961f7689 python-evdev: bump to version 1.2.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-04-25 10:43:15 +03:00
Josef Schlehofer
0f21b03a46
Merge pull request #8754 from BKPepe/urllib3
python-urllib3: update to version 1.25
2019-04-25 00:06:04 +02:00
Josef Schlehofer
1d21bd4d1e
ruamel-yaml: update to version 0.15.94
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-04-24 15:32:32 +02:00
Josef Schlehofer
c06badc4c5
Merge pull request #8749 from BKPepe/home-assistant-deps
Add Python packages (ifaddr, zeroconf, netdisco)
2019-04-24 14:58:13 +02:00
Josef Schlehofer
6dcaa769d8
python-urllib3: update to version 1.25
Add PKG_CPE_ID

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-04-24 14:13:12 +02:00
Josef Schlehofer
ea7df85c0b
Merge pull request #8214 from dddaniel/master
Adding awscli to python packages
2019-04-24 14:07:08 +02:00
Daniel Golle
13914fac46
Merge pull request #8689 from BKPepe/jinja
Jinja2: update to version 2.10.1
2019-04-23 23:12:00 +02:00
Josef Schlehofer
60b94e4217
python3-ifaddr: add a new package
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-04-23 17:49:38 +02:00
Josef Schlehofer
2275823e01
python3-zeroconf: add a new package
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-04-23 17:49:37 +02:00
Josef Schlehofer
caed02b74d
python3-netdisco: add a new package
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-04-23 17:49:36 +02:00
Alexandru Ardelean
c74c1a22ec jdcal,et_xmlfile,rcssmin: remove un-needed python packages
This change removes a series of Python packages that are added to
seafile-seahub and are not needed.
After some investigation into seafile, there are no references for it.

These are some of the low-hanging fruits.
They're not used [not sure when they were], and these packages were born
out of some weird sprints somewhere and forgotten on web and left
un-maintained.

So, remove them.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-04-23 11:43:18 +03:00
Hannu Nyman
cd4919ef0d
Merge pull request #8726 from jefferyto/python-hyperlink-19.0.0
python-hyperlink: Update to 19.0.0
2019-04-23 11:16:18 +03:00
Hannu Nyman
23dcc72935
Merge pull request #8727 from jefferyto/python-twisted-19.2.0
python-twisted: Update to 19.2.0, refresh patches
2019-04-23 11:16:08 +03:00
Rosen Penev
fe0747b37f
Merge pull request #8753 from jefferyto/python-cffi-1.12.3
python-cffi: Update to 1.12.3
2019-04-22 09:26:57 -07:00
Jeffery To
73dccda56d python-cffi: Update to 1.12.3
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-04-22 21:18:58 +08:00
Josef Schlehofer
aec5d9ed19
python3-netifaces: add a new package
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-04-22 10:06:39 +02:00
Josef Schlehofer
8cf1287139
python-urllib3: update to version 1.24.2 (#8714)
Changed TITLE as the current was too long
Added PKG_LICENSE_FILES

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-04-21 19:08:07 +02:00
Daniel Danzberger
41ef6b91f7 python-awscli: Add new package
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2019-04-20 08:10:12 +02:00
Daniel Danzberger
999c01f8c2 python-botocore: Add new package
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2019-04-20 08:03:22 +02:00
Jeffery To
9fb2d52191 python-twisted: Update to 19.2.0, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-04-19 20:18:45 +08:00
Daniel Danzberger
11c659dde5 python-colorama: Add new package
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2019-04-19 11:43:14 +02:00
Daniel Danzberger
542800e401 python-docutils: Add new package
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2019-04-19 11:43:14 +02:00
Daniel Danzberger
55dd6b5fee python-futures: Add new package
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2019-04-19 11:43:14 +02:00
Daniel Danzberger
423bb29d78 python-jmespath: Add new package
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2019-04-19 11:43:14 +02:00
Daniel Danzberger
8300efde48 python-rsa: Add new package
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2019-04-19 11:43:09 +02:00
Daniel Danzberger
c4e1070f77 python-s3transfer: Add new package
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2019-04-19 11:13:41 +02:00
Jeffery To
9b58e6bd65 python-hyperlink: Update to 19.0.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-04-19 16:28:46 +08:00
Josef Schlehofer
e689372b37
python3-unidecode: add package
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-04-18 23:13:43 +02:00
Josef Schlehofer
9e3caae704
Jinja2: update to version 2.10.1
- Reordered things in Makefile
- Removed PKG_BUILD_DIR and PKG_UNPACK as it isn't necessary
- Changed TITLE from python3-jinja2 to Jinja2
- Added src package

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-04-18 15:11:11 +02:00
Josef Schlehofer
949796044c
Merge pull request #8646 from mmtj/pyroute2
python3-pyroute2: add new package
2019-04-18 14:06:56 +02:00
Josef Schlehofer
f7efcc0f26
Merge pull request #8675 from BKPepe/slugify
python-slugify: update to version 3.0.2
2019-04-15 23:07:16 +02:00
Josef Schlehofer
43ad983470
python-slugify: update to version 3.0.2
Add python3-codecs and python3-setuptools as dependencies

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-04-14 14:29:17 +02:00
Rosen Penev
7b86f17da1
Merge pull request #8655 from BKPepe/ruamel-yaml
ruamel-yaml: update to version 0.15.91
2019-04-11 09:35:17 -07:00
Josef Schlehofer
ad79691d2e
python-pytz: update to version 2019.1
Add LICENSE file
Changed URL of the project
Reordered stuff in Makefile

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-04-11 14:29:34 +02:00
Josef Schlehofer
ceede8ae54
ruamel-yaml: update to version 0.15.91
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-04-11 14:15:47 +02:00
Martin Matějek
d65204093c python3-pyroute2: add new package
Signed-off-by: Martin Matějek <martin.matejek@gmx.com>
2019-04-10 16:26:31 +02:00
Rosen Penev
de5f39ae34
Merge pull request #8604 from ysc3839/pycryptodome
python-cryptodome: update to 3.8.1
2019-04-08 08:24:28 -07:00
Jeffery To
f16064783c python: Update readme
This adds more details on the PYTHON[3]_PKG_SETUP_* variables, the
filespec format, and the build/install processes in general.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-04-08 21:21:21 +08:00
Richard Yu
f0869d663c
python-cryptodome: update to 3.8.1
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
2019-04-08 18:55:27 +08:00
Josef Schlehofer
d9b464b06e
Merge pull request #8482 from BKPepe/pyaml
python-yaml: update to version 5.1
2019-04-07 20:37:03 +02:00
Josef Schlehofer
b20e4d0978
Merge pull request #8325 from BKPepe/python3-curl
python-curl: Add variant for Python3
2019-04-07 16:34:08 +02:00
Josef Schlehofer
c06a04c754
python-yaml: update to version 5.1
- COPYING as a license is no longer available. It's LICENSE
- Add PKG_CPE_ID
- Add a description
- Add Python sources
- Add me as maintainer as the previous maintainer is inactive in OpenWrt
- Changed URL to Git repository, where you can find more details
- Moved TITLE to Default

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-04-07 14:50:28 +02:00
Josef Schlehofer
62c53ccf09
python-voluptuous-serialize: add dependency for voluptuous
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-04-07 14:34:06 +02:00
Jeffery To
9995fe7732 python,python3: Add PYTHON[3]_PKG_SETUP_GLOBAL_ARGS
Some packages (PyYAML,
https://github.com/openwrt/packages/pull/8482#discussion_r270692276)
recognize "global" options to setup.py; these must appear before the
"install" command on the command line.

This adds PYTHON[3]_PKG_SETUP_GLOBAL_ARGS, which let packages set these
global options.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-04-05 16:44:55 +08:00
Rosen Penev
9f15edf744
Merge pull request #8584 from jefferyto/python-compileall-recursion-level
python,python3: Increase max recursion level when generating bytecode
2019-04-04 00:19:55 -07:00
Rosen Penev
5be14931bd
Merge pull request #8516 from jefferyto/python-config
python,python3: Include python-config for target Python in InstallDev
2019-04-04 00:18:24 -07:00
Jeffery To
85c805d0ad python,python3: Increase max recursion level when generating bytecode
"python -m compileall" has a default maximum recursion level of 10, i.e.
it will descend up to 10 levels of subdirectories when looking for
source files to compile. This is usually sufficient but there are
packages that include more than 10 levels (botocore,
https://github.com/openwrt/packages/pull/8214#discussion_r270056741).

This adds the "-r" command line option to the call to compileall to
increase the max recursion level (currently set to 20).

This also patches Python 2's compileall.py to add this max recursion
level option. (Python 3's compileall.py already supports this option.)

This also applies some related changes to python-package-install.sh:

* Use the "-delete" option with find instead of exec'ing rm / rmdir. For
  the case of removing empty directories (in delete_empty_dirs()), this
  has the added benefit of simplifying the code, as the "-delete" option
  implies "-depth", and thus find "does the right thing" (removing empty
  directories depth-first).

* Remove the backslash in "-name" patterns (for find), as they are not
  regular expression but glob patterns.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-04-04 03:07:02 +08:00
Josef Schlehofer
ff8ce9a3d5
Merge pull request #8550 from jefferyto/python-fix-bin-symlinks
python,python3: Fix overridden usr/bin symlinks
2019-04-03 20:35:37 +02:00
Jeffery To
0280c67103 python,python3: Fix overridden usr/bin symlinks
Currently, all files in usr/bin (presumably all Python scripts) are run
through sed to replace the shebang; sed will overwrite the file whether
or not a match is found. This causes symlinks to be overridden and made
into copies of their targets. python[3]-base and python[3]-dev are
affected by this.

This adds the --follow-symlinks flag to sed, in addition to using
$(SED), so that symlinks are not overridden.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-04-03 21:05:14 +08:00
Josef Schlehofer
b3d1401dcc
python-curl: Add variant for Python3
- Use mbedTLS as default and add patches for it
- Use files.pythonhosted.org in PKG_SOURCE_URL
- Changed description
- Reordered things in Makefile

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-04-01 10:00:37 +02:00
Josef Schlehofer
7f5e18f0d9
Merge pull request #8526 from BKPepe/voluptuous-serialize
python-voluptuous-serialize: add package for Python3
2019-04-01 02:50:10 +02:00
Josef Schlehofer
e924f1be7f
Merge pull request #8485 from BKPepe/aiohttp
python-aiohttp: add a new package
2019-04-01 02:45:48 +02:00
Josef Schlehofer
81e1601b2b
Merge pull request #8551 from BKPepe/pyotp
python-pyotp: add new package for Python3
2019-04-01 02:43:53 +02:00
Josef Schlehofer
b09593bf43
Merge pull request #8481 from BKPepe/yarl
python-yarl: add a new package
2019-04-01 02:43:02 +02:00
Josef Schlehofer
8f30577144
Merge pull request #8484 from BKPepe/async_timeout
async-timeout: add a new package
2019-04-01 02:41:36 +02:00
Josef Schlehofer
fb9cf44c92
Merge pull request #8515 from BKPepe/python-slugify
python-slugify: add new package for Python3
2019-04-01 02:40:53 +02:00
Josef Schlehofer
673bfd1f87
Merge pull request #8503 from BKPepe/voluptuous
python-voluptuous: add a new package
2019-04-01 02:40:04 +02:00
Josef Schlehofer
6c37f32306
Merge pull request #8480 from BKPepe/multidict
python-multidict: add a new package
2019-04-01 02:39:31 +02:00
Josef Schlehofer
76874c1f62
python-voluptuous-serialize: add package for Python3
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-04-01 02:36:52 +02:00
Josef Schlehofer
2edf5034f1
python-aiohttp: add a new package
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-04-01 02:29:26 +02:00
Josef Schlehofer
680eaeb05d
python-yarl: add a new package
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-04-01 02:26:29 +02:00
Josef Schlehofer
46db45fd40
async-timeout: add a new package
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-04-01 02:22:05 +02:00
Josef Schlehofer
60c8c13969
python-pyotp: add new package for Python3
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-04-01 02:13:59 +02:00
Josef Schlehofer
5b2b6029c7
python-multidict: add a new package
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-04-01 02:08:16 +02:00
Josef Schlehofer
d90516182b
python-slugify: add Python3 package
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-04-01 01:28:53 +02:00
Josef Schlehofer
091fcaf553
Merge pull request #8478 from BKPepe/python_astral
python-astral: add new package
2019-03-31 23:14:38 +02:00
Rosen Penev
42e370ee7c
Merge pull request #8511 from BKPepe/ruamel-yaml
ruamel-yaml: add package
2019-03-31 14:13:46 -07:00
Rosen Penev
56f4e3a692
Merge pull request #8514 from BKPepe/text-unidecode
text-unidecode: add new package
2019-03-31 12:24:12 -07:00
Jeffery To
8de8ff4f25 python,python3: Include python-config for target Python in InstallDev
This installs python{2.7,3.7}-config in $(STAGING_DIR)/usr/bin as part
of Build/InstallDev, to be used by other packages to get build
configuration for target Python.

The treatment for Python 2 and 3 are a bit different:

* For Python 2, python-config is a Python script that is expected to be
  run with, and return data for, the installed Python interpreter. This
  installs a modified version of this script, to be run using host
  Python, and read/return data for target Python.

* Python 3 includes a shell script version of python-config (expected to
  be used in cross-compilation scenarios). This simply installs the
  script into the right place.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-03-31 19:33:12 +08:00
Jeffery To
c23bea8dc8 python,python3: Fix CVE-2019-9636 - urlsplit missing NFKC normalization
These patches address issue:
CVE-2019-9636: urlsplit does not handle NFKC normalization

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

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-03-31 05:18:14 +08:00
Karel Kočí
4b9a0ff6b6
python-astral: add new package
Signed-off-by: Karel Kočí <cynerd@email.cz>
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-03-28 14:41:23 +01:00
Josef Schlehofer
5f24ab841b
python-voluptuous: add a new package
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-03-28 14:34:39 +01:00
Josef Schlehofer
e08b0a877d
ruamel-yaml: add package
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-03-28 14:33:15 +01:00
Josef Schlehofer
2002e47732
text-unidecode: add new package
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-03-28 14:32:21 +01:00
Jeffery To
e436e73f1c python,python3: Use only target package data for Build/InstallDev
This changes Build/InstallDev for both Python 2 and 3 to only copy files
from target Python, not from host Python, since InstallDev files are
used for target packages to link to other target packages.

In particular, usr/lib/python{2.7,3.7}/_sysconfigdata.py holds system
configuration data generated at build time, and is different for target
Python and host Python.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-03-27 03:44:31 +08:00
Hannu Nyman
9c1a54a6f1
Merge pull request #8474 from jefferyto/python-cffi-1.12.2
python-cffi: Update to latest version
2019-03-22 20:48:04 +02:00
Jeffery To
52167d7f2c python-cffi: Update to latest version
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-03-22 21:50:36 +08:00
Jeffery To
6b15619ef7 python-attrs: Update to latest version
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-03-22 21:48:27 +08:00
Hannu Nyman
f2b1f9d432
Merge pull request #8445 from cotequeiroz/python-requests-oauthlib_1.2.0
python-requests-oauthlib: update to 1.2.0; python-oauthlib: update to 3.0.1
2019-03-21 17:36:13 +02:00
Karel Kočí
b8106eb291
python-influxdb: update to 5.2.2
Signed-off-by: Karel Kočí <karel.koci@nic.cz>
2019-03-20 16:26:18 +01:00
Hannu Nyman
e2884eb99a
Merge pull request #8446 from cotequeiroz/python-qrcode_6.1
python-qrcode: bump to 6.1, fix dependencies
2019-03-19 16:37:23 +02:00
Alexandru Ardelean
b485a90aa3 python3: remove OpenSSL deprecated API patch
Fixes: https://github.com/openwrt/packages/issues/8399

These 2 patches cause some breakage for other packages.
For now, we drop them and wait for upstream to finalize a fix.
We can live with deprecated SSL APIs for a while. No need to hurry, since
this doesn't seem to help.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-03-19 14:09:03 +08:00
Eneas U de Queiroz
ad001446d5
python-requests-oauthlib: update to 1.2.0
This version adds compatibility with OAuthlib 3.0.0 and above.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-03-18 18:16:11 -03:00
Eneas U de Queiroz
ef59c595d4
python-oauthlib: update to 3.0.1
This is a major update with bufixes, new features and API changes.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-03-18 18:16:11 -03:00
Hannu Nyman
c06179ba98
Merge pull request #8381 from cotequeiroz/python-certifi_2019.3.9
python-certifi: Update to 2019.3.9
2019-03-17 06:55:15 +02:00
Hannu Nyman
6c001178c1
Merge pull request #8376 from jefferyto/python-package-data-2
python-pyopenssl,python-service-identity: Update package data
2019-03-16 08:26:07 +02:00
Hannu Nyman
6c5f68ad14
Merge pull request #8404 from BKPepe/bottle
python3-bottle: update to version 0.12.16
2019-03-15 08:41:54 +02:00
Josef Schlehofer
98c704d3f0
python3-bottle: update to version 0.12.16
Add LICENSE file
Add CPE ID
Remove current maintainer and add me as maintainer

Signed-off-by: Josef Schlehofer <josef.schlehofer@nic.cz>
2019-03-13 21:45:10 +01:00
Stepan Henek
2aa66b0a6f
python3-bottle: use Py3Package for installation
Signed-off-by: Stepan Henek <stepan.henek@nic.cz>
2019-03-13 21:41:03 +01:00
Eneas U de Queiroz
9429b83840
click-log: 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
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