Commit graph

739 commits

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