Commit graph

807 commits

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