Commit graph

1212 commits

Author SHA1 Message Date
Jeffery To
f2d744d31a python-attrs: Update to 19.3.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-10-21 21:10:04 +08:00
Alexandru Ardelean
48277ec915 python3: bump to version 3.8
This required a bit work to get working, compared to other versions. So,
some things have changed a bit more significantly.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

```

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* Add ac_cv_header_libintl_h=no to HOST_CONFIGURE_VARS for Mac

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

Fixes #7171.
Fixes #9621.

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

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

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

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

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

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

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

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

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

Fixes #9448.

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

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

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

Rearranged some stuff for consistency between packages.

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

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

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

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

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

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

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

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

Makefile python3:
- Move PKG_MAINTAINER above PKG_LICENSE

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

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

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

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

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

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

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

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

Without this, it fails with
SSL_get0_next_proto_negotiated: symbol not found

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

This disables this default inclusion for host Python.

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

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

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

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

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

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

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

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

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

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

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

This renames the Python 3 script to chardetect3.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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