Commit graph

1078 commits

Author SHA1 Message Date
Alexandru Ardelean
545cff8b63 django-simple-captcha: update packaging format + add python3 variant
This change also updates the maintainer email to cotequeiroz@gmail.com, as
requested on a different change.

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

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

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

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

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

Makefile python3:
- Move PKG_MAINTAINER above PKG_LICENSE

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

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

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

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

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

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

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

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

Without this, it fails with
SSL_get0_next_proto_negotiated: symbol not found

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

This disables this default inclusion for host Python.

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

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

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

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

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

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

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

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

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

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

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

This renames the Python 3 script to chardetect3.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-05-20 18:18:23 -03:00
Eneas U de Queiroz
65009e8127
treewide: Add PACKAGE_* conds to python packages
If a package builds python & python3 variants, then the respective
PACKAGE-python* conditional DEPENDS were added, since circular
dependencies should all be resolved now.

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

Also, some spotted trivial errors were fixed.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* Describes the handling of the Python 2 interpreter

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

* Mass removal event has a name

Supersedes #8788.

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

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

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

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

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

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

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

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

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

So, remove them.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Signed-off-by: Josef Schlehofer <josef.schlehofer@nic.cz>
2019-03-13 21:45:10 +01:00