Commit graph

711 commits

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