Commit graph

1184 commits

Author SHA1 Message Date
Jeffery To
3642b18441 python3: Remove HostPython3 in python3-host.mk
HostPython3 only adds a few environment variables before running host
Python. It has only two users, Build/Compile/HostPy3RunHost and
Build/Compile/HostPy3RunTarget.

HostPython3 also accesses $(PYTHON3PATH), even though python3-host.mk
does not include python3-package.mk, where the variable is defined.

This removes HostPython3 and has its two users run host Python directly.
This also combines the environment variables of HostPython3 and the two
users into HOST_PYTHON3_VARS and PYTHON3_VARS.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-19 01:56:07 +08:00
Jeffery To
2dfdef66a3 python3: Remove include guard for python3-host.mk
Since it only defines variables and canned recipes, it is safe to
include python3-host.mk more than once.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-17 23:19:13 +08:00
Jan Pavlinec
33f3aa525d
python-pyparsing: update to version 2.4.7
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-04-14 14:08:22 +02:00
Josef Schlehofer
6bae8487ef
Merge pull request #11817 from cotequeiroz/python-src
python3: hide -src package until main pkg selected
2020-04-12 12:25:45 +02:00
Richard Yu
ff6fc93987
python-cryptodome: update to 3.9.7
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
2020-04-11 00:21:57 +08:00
Eneas U de Queiroz
3d28b776bc
python3: hide -src package until main pkg selected
This adds a 'Package/<pkg>-src/config' definition with a 'depends on
<pkg>' line, which will hide <pkg>-src unless <pkg> is selected.  This
makes the long list of python packages a bit shorter, and also indents
the src package:

<M> python3-base................................ Python 3.8 interpreter
< >   python3-base-src................. Python 3.8 interpreter (sources)

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2020-04-10 12:41:37 -03:00
Hannu Nyman
e086343cb5
Merge pull request #11793 from commodo/python3-default-bin
python3: symlink 'python' to '/usr/bin/python3'
2020-04-08 18:03:39 +03:00
Alexandru Ardelean
eeda0f939b python3: symlink 'python' to '/usr/bin/python3'
Time to make it more official.
Running 'python' should get you an interpreter running, and that one is now
Python3.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-04-08 14:40:26 +03:00
Alexandru Ardelean
33525fa8d5 lang: python: flup: drop package
Was mostly required for Seafile.
Now it isn't.
It's also pretty ancient.
   https://www.saddi.com/software/flup/

Page was last updated in 2005.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-04-07 18:12:59 +03:00
Hannu Nyman
2e6a9bfb16
Merge pull request #11744 from ja-pa/pytest-new
python-pytest: add new package
2020-04-07 17:23:11 +03:00
Jan Pavlinec
5ed30d1003
python-pytest: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-04-07 11:13:37 +02:00
Hannu Nyman
d94e27b836
Merge pull request #11792 from commodo/gunicorn-update
gunicorn: bump to version 20.0.4
2020-04-07 11:50:34 +03:00
Alexandru Ardelean
f16cdc340a gunicorn: bump to version 20.0.4
This change bumps gunicorn to version 20.0.4.
It also installs the binary for gunicorn without any suffix, via symlink.
And remove gunicorn_paster; that was removed from the package and moved
into the gunicorn library.
Also, now we need to use the full python3-setuptools package for the
gunicorn executable, as it won't start without it.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-04-07 11:04:53 +03:00
Josef Schlehofer
d6239f87d7 python-yaml: update to version 5.3.1
Fixes CVE-2020-1747

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-04-06 21:43:02 -10:00
Alexandru Ardelean
4c6c1b9678 python3-package.mk: fix typo PYTHON3_PKG_SETUP_GLOABL_ARGS -> PYTHON3_PKG_SETUP_GLOBAL_ARGS
This fixes a typo with the default PYTHON3_PKG_SETUP_GLOBAL_ARGS.
Since in make context non-defined variables are empty anyway, this doesn't
produce any issues. The fix is more semantic in nature.

Fixes https://github.com/openwrt/packages/issues/11790

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-04-07 10:07:29 +03:00
Hannu Nyman
2d16c6fc57
Merge pull request #11779 from commodo/pillow-bump
pillow: bump to version 7.1.1
2020-04-06 17:25:47 +03:00
Alexandru Ardelean
e6e1c89c50 pillow: bump to version 7.1.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-04-06 17:06:18 +03:00
Hannu Nyman
1326c9d146
Merge pull request #11778 from jefferyto/python-cryptography-2.9
python-cryptography: Update to 2.9, remove setup patch
2020-04-06 16:22:43 +03:00
Hannu Nyman
bba80c4ae8
Merge pull request #11777 from jefferyto/python-zope-interface-5.0.2
python-zope-interface: Update to 5.0.2
2020-04-06 16:22:14 +03:00
Hannu Nyman
2e0bfa830d
Merge pull request #10449 from ja-pa/python-pluggy
python-pluggy: add new package
2020-04-06 11:14:20 +03:00
Jeffery To
8659757df8 python-cryptography: Update to 2.9, remove setup patch
Since cffi is installed by HOST_PYTHON3_PACKAGE_BUILD_DEPENDS, it
shouldn't be necessary to clear setup_requirements anymore.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-06 15:54:04 +08:00
Jeffery To
3f7f4df32c python-zope-interface: Update to 5.0.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-06 15:13:38 +08:00
Jeffery To
932bfe4cf3 python3-pip: Symlink pip3 to pip3.8
Currently, python3-pip installs the same script as pip3 and pip3.8 to
usr/bin. This changes pip3 to be a symlink to pip3.8.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-04 06:21:39 +08:00
Jeffery To
8c7039fa7d python: Update readme
* Replace the Python 2 pending removal notice/schedule with a brief
  message about the removal
* Replace mentions of "Python & Python 3" with just "Python" (references
  to the version number are kept only in cases where it is necessary)
* Update Makefile example code to use Python 3 conventions/names

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-04 03:09:25 +08:00
Jan Pavlinec
b4ca8aaccc
python-pluggy: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-04-03 12:02:14 +02:00
Jeffery To
2e48a26b17 python: Remove package
This package will be added to the abandoned packages feed.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-03 03:26:40 +08:00
Hannu Nyman
803dd9c739
Merge pull request #11740 from jefferyto/python2-remove-libraries
python-libraries: Remove Python 2 variants/libraries
2020-04-02 14:46:58 +03:00
Hannu Nyman
8d53a5605d
Merge pull request #11743 from peter-stadler/django
python3-django: update to version 3.0.5
2020-04-02 14:46:05 +03:00
Hannu Nyman
227a16ac85
Merge pull request #11742 from peter-stadler/asgiref
python3-asgiref: update version to 3.2.7
2020-04-02 14:45:56 +03:00
Hannu Nyman
913db5a390
Merge pull request #11664 from ja-pa/python-packaging-new
python-packaging: add new package
2020-04-02 14:45:36 +03:00
Jan Pavlinec
13c1efe234
python-packaging: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-04-02 13:08:04 +02:00
Peter Stadler
fa77f4aecd python3-django: update to version 3.0.5
Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-04-02 12:06:44 +02:00
Peter Stadler
24b1378084 python3-asgiref: update version to 3.2.7
Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-04-02 11:59:09 +02:00
Jeffery To
658b1b6758 python-libraries: Remove Python 2 variants
The Python 2 variants will be added to the abandoned packages feed.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-02 14:57:30 +08:00
Jeffery To
c37b15e1c4 python-libraries: Remove Python 2-only packages
These are either libraries that backport Python 3 features for Python 2
programs, or libraries that have not had Python 3 variants added to them
by anyone.

These packages will be added to the abandoned packages feed.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-02 14:57:30 +08:00
Jan Pavlinec
2d5ba44c78
python-wcwidth: update to version 0.1.9
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-03-31 16:26:05 +02:00
Hannu Nyman
3ca125971d
Merge pull request #11642 from jefferyto/python-zope-interface-5.0.1
python-zope-interface: Update to 5.0.1, refresh patch
2020-03-23 21:08:44 +02:00
Hannu Nyman
b4c303f88f
Merge pull request #11638 from jefferyto/twisted-20.3.0
python-twisted: Update to 20.3.0, refresh patches
2020-03-23 21:07:47 +02:00
Jeffery To
7662e1ea9b python-zope-interface: Update to 5.0.1, refresh patch
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-03-24 01:18:33 +08:00
Jeffery To
633c81e7a9 python-twisted: Update to 20.3.0, refresh patches
This update includes fixes for:
* CVE-2020-10108
* CVE-2020-10109

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-03-23 23:17:45 +08:00
Jan Pavlinec
7fb8beee7c
python-zipp: update to version 3.1.0
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-03-23 14:19:48 +01:00
Daniel F. Dickinson
290ab508ab treewide: Remove myself as maintainer
Life changes, I'm no longer avaiable to be an sufficiently active
OpenWrt developer.  Therefore removing myself from maintainer from
all packages I maintained in OpenWrt.

All the best for those who keep up the good work!

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2020-03-20 14:12:55 -04:00
Jeffery To
7513448d20 python3: Update to 3.8.2, fix python3-xml dependency
xml.sax.saxutils has a dependency on urllib[1].

[1]: https://github.com/python/cpython/blob/v3.8.2/Lib/xml/sax/saxutils.py#L6

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-03-20 16:30:22 +08:00
Hannu Nyman
d6583e3d66
Merge pull request #11582 from jefferyto/python-zope-interface-4.7.2
python-zope-interface: Update to 4.7.2, refresh patch
2020-03-16 20:45:44 +02:00
Hannu Nyman
ee9cb3c81d
Merge pull request #11565 from jefferyto/seafile-7.1.2
seafile-server: Update to 7.1.2, update dependencies
2020-03-16 20:22:49 +02:00
Jeffery To
a178662fce python-zope-interface: Update to 4.7.2, refresh patch
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-03-17 02:04:38 +08:00
Jeffery To
48af5b2abb python-enum34: Update to 1.1.10, refresh patch
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-03-17 01:49:24 +08:00
Jeffery To
931dcfe3aa python-pycparser: Update to 2.20
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-03-16 22:46:25 +08:00
Jeffery To
5792851234 django-ranged-response: Fix project URL
django-ranged-response is a fork of django-ranged-fileresponse, but they
did not update the URL on PyPI[1].

The URL in this change appears to be the correct one.

[1]: https://github.com/wearespindle/django-ranged-fileresponse/issues/10#issuecomment-509965566

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-03-14 04:35:00 +08:00
Jeffery To
69c67fe9f7 django-postoffice: Update to 3.2.1
This version is not the latest available update, but is the last version
compatible with Python 2.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-03-14 04:35:00 +08:00