Commit graph

1730 commits

Author SHA1 Message Date
Josef Schlehofer
bcc7f0c55b
Merge pull request #17492 from jefferyto/python-attrs-21.4.0
python-attrs: Update to 21.4.0
2022-01-07 21:40:50 +01:00
Jeffery To
6ab9051695
Merge pull request #17429 from erdoukki/2to3
2to3: add package host tool
2022-01-07 10:42:40 +08:00
Josef Schlehofer
ab7db4491a
Merge pull request #17481 from jefferyto/python-3.10.1
python3: Update to 3.10.1, refresh/remove patches
2022-01-06 23:24:27 +01:00
Kerma Gérald
2f91e1c9c5 2to3: add package host tool
2to3 is a Python program that reads Python 2.x source code and applies a
  series of fixers to transform it into valid Python 3.x code. The standard
  library contains a rich set of fixers that will handle almost all code. 2to3
  supporting library lib2to3 is, however, a flexible and generic library, so it
  is possible to write your own fixers for 2to3. lib2to3 could also be adapted
  to custom applications in which Python code needs to be edited automatically.

This tool is necessary for fail2ban package because of issue
  https://github.com/openwrt/packages/issues/17311
  https://github.com/openwrt/packages/pull/17341

Simple 2to3.py script from Debian, thanks to Matthias Klose <doko@ubuntu.com>
From: https://salsa.debian.org/cpython-team/python3-defaults

Co-authored-by: Jeffery To <jeffery.to@gmail.com>
Signed-off-by: Kerma Gérald <gandalf@gk2.net>
2022-01-05 15:20:13 +01:00
Jeffery To
d63664a5e7
python3: Update to 3.10.1, refresh/remove patches
Removed patches:
* 027-bpo-43158-Use-configure-values-for-building-_uuid-ex.patch
  Already merged.
* 029-disable-deprecation-warning.patch
  Packages should be patched/fixed to remove the use of distutils
  instead of disabling this warning.

Also:
* Updates PKG_LICENSE to use the correct SPDX license identifier
* Fixes build for mipsel_24kc_24kf

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

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-01-05 16:10:01 +08:00
Jeffery To
8a10f69761
python-attrs: Update to 21.4.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-01-04 14:48:29 +08:00
Jeffery To
3aefcd25c9
Merge pull request #17460 from BKPepe/stem
python-stem: backport patch to fix Python 3.10
2022-01-04 01:56:20 +08:00
Jeffery To
8df2fb4fe5
Merge pull request #17442 from commodo/django-restframework
django-restframework: bump to version 3.13.1
2022-01-04 01:44:14 +08:00
Jeffery To
c40c3edf58
Merge pull request #17466 from BKPepe/markdown
python-markdown: update to version 3.3.6
2022-01-03 22:57:05 +08:00
Jeffery To
490dd780fe
Merge pull request #17463 from BKPepe/voluptuous-serialize
python-voluptuous-serialize: update to version 2.5.0
2022-01-03 22:54:40 +08:00
Josef Schlehofer
47a279128a
python-stem: backport patch to fix Python 3.10
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-01-03 15:52:33 +01:00
Jeffery To
9e08a03056
Merge pull request #17462 from BKPepe/zeroconf-update
python-zeroconf: update to version 0.38.1
2022-01-03 22:52:30 +08:00
Jeffery To
bce5ce9299
Merge pull request #17458 from BKPepe/dnspython-2.1.0
python-dns: update to version 2.1.0
2022-01-03 22:42:05 +08:00
Josef Schlehofer
79d3401c6f
python-markdown: update to version 3.3.6
- Update copyright

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-12-31 12:38:05 +01:00
Josef Schlehofer
aaa31d30a1
python-voluptuous-serialize: update to version 2.5.0
- Release notes:
https://github.com/home-assistant-libs/voluptuous-serialize/releases/tag/2.5.0

- Update copyright

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-12-31 00:10:40 +01:00
Josef Schlehofer
f62565423b
python-zeroconf: update to version 0.38.1
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-12-31 00:06:28 +01:00
Josef Schlehofer
447c6fd57b
python-dns: update to version 2.1.0
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-12-30 20:02:57 +01:00
Alexandru Ardelean
e8d92cd559 django-restframework: bump to version 3.13.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-12-27 16:15:31 +02:00
Alexandru Ardelean
9a231e4301 numpy: bump to version 1.21.5
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-12-27 12:17:58 +02:00
Javier Marcet
6bdc4038fa python3-paramiko: update to version 2.9.1
Signed-off-by: Javier Marcet <javier@marcet.info>
2021-12-26 23:15:49 +01:00
Alexandru Ardelean
b766794c05 python-lxml: update to version 4.7.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-12-20 20:58:58 +01:00
W. Michael Petullo
41f3106144 python3-networkx: update to 2.6.3
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2021-12-14 08:55:51 -06:00
W. Michael Petullo
59ee9a7119 python3-libselinux: update to 3.3
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2021-12-14 08:55:27 -06:00
Eneas U de Queiroz
c7766f0b95
python-rcssmin: bump to version 1.1.0
Relevant changes:
 * quoted data urls which are not base64 encoded keep their spaces now
 * accept bytes and text as input. All other types now raise a TypeError
 * update python & gcc support
 * python version will only accept the C implementation if the versions
   match exactly. This should prevent using older installed C versions.

Along with the version bump:
 - update maintainer email address
 - use $(AUTORELEASE)

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-11-30 17:56:47 -03:00
Alexandru Ardelean
add867a001
Merge pull request #17206 from cotequeiroz/seafile-broken
treewide: mark django1 and dependents BROKEN
2021-11-29 22:02:57 +02:00
Javier Marcet
acb795c626 python-dotenv: update to v0.19.2
What's Changed:

Fixed:

 - Add missing trailing newline before adding new entry with set_key
 by @bbc2 in #361

Signed-off-by: Javier Marcet <javier@marcet.info>
2021-11-29 01:42:56 -08:00
Eneas U de Queiroz
9d97f4ba14
treewide: mark django1 and dependents BROKEN
Django 1.x is not compatible with python 3.10.
Mark the package as BROKEN.  Since its dependent packages will also
select it, they will need to be marked BROKEN as well to avoid recursive
dependencies--packages not marked as BROKEN will be able to select the
broken package.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-11-27 10:27:16 -03:00
Alexandru Ardelean
122ee76623
Merge pull request #17154 from jefferyto/python-pycparser-2.21
python-pycparser: Update to 2.21, update patch
2021-11-23 13:35:19 +02:00
Alexandru Ardelean
48ce6e48b6 python-packages: remove myself as maintainer
There's been a bit of overlapping opinions on some of these packages.
The best thing to do here is to reduce ownership and relinquish my
control.

This patch does that.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-11-23 13:14:43 +02:00
Alexandru Ardelean
c8644bd19a
Merge pull request #17142 from commodo/python-yaml
python-yaml: bump to version 6.0
2021-11-22 10:29:24 +02:00
Alexandru Ardelean
1024d42ac6 python-yaml: bump to version 6.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-11-21 10:00:28 +02:00
Jeffery To
320da906a2
python-pycparser: Update to 2.21, update patch
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-11-19 21:47:38 +08:00
Alexandru Ardelean
4e05541782 python3: bump to version 3.10.0
Manually re-applied:
  008-distutils-use-python-sysroot.patch
  016-adjust-config-paths.patch

Drop patch: 003-do-not-run-distutils-tests.patch
There is now a configure option '--disable-test-modules'
And seems we left the '_ctypes_test' around for quite some time.
Dropped now.
Refs:
  https://bugs.python.org/issue27640
  https://bugs.python.org/issue43282

Drop patch: 013-getbuildinfo-date-time-source-date-epoch.patch
Python build honors SOURCE_DATE_EPOCH pretty well now.

Drop setuptools patches. Setuptools should be reproducible with Python 3.6+
according to a mention here:
  https://github.com/pypa/setuptools/pull/1690#issuecomment-536517456
It's time to let upstream fix Setuptools reproduce-ability.

Drop patch: 010-do-not-add-rt-lib-dirs-when-cross-compiling.patch
I can't seem to fully remember why it's there.
And it seem to build fine without it.

Drop patch: 015-abort-on-failed-modules.patch
Python build supports a similar PYTHONSTRICTEXTENSIONBUILD=1 env-var
option.

Add patch: 026-openssl-feature-flags.patch
We need to keep this in our tree for a while.
See:
  https://bugs.python.org/issue45627

Backport patch: 027-bpo-43158-Use-configure-values-for-building-_uuid-ex.patch
Link: https://github.com/python/cpython/pull/29353
Fixes the build for uuid C module.

Add patch: 028-host-python-support-ssl-with-libressl.patch
We need the _ssl module working on the host-side with LibreSSL for pip to
work to download from https://pypi.org
Refs: https://github.com/openwrt/openwrt/pull/4749

Add patch: 029-disable-deprecation-warning.patch
Fixes apparmor build. The warning causes a configure error.

Refreshed the rest of patches.

Some old build-flags were removed. They don't seem to be necessary anymore.

Split python3-uuid from python3-light. To better manage the libuuid library
(if needed). Also, fixing the uuid C module build. Seems this was failing,
and was falling back to using hashlib.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-11-19 13:30:14 +02:00
Alexandru Ardelean
7cead5b8e6
Merge pull request #17143 from commodo/py-greenlet
python-greenlet: bump to version 1.1.2
2021-11-19 10:27:14 +02:00
Alexandru Ardelean
35910b2673
Merge pull request #17123 from commodo/python-updates1
python-lxml,django,numpy: bump versions
2021-11-17 15:35:22 +02:00
Alexandru Ardelean
571e6af347 ruamel-yaml: bump to version 0.17.17
The older one won't build with Python 3.10.0

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-11-17 14:15:10 +02:00
Alexandru Ardelean
b1009ff543 python-greenlet: bump to version 1.1.2
The older version won't build with Python 3.10.0

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-11-17 10:55:17 +02:00
Daniel Golle
e020b6347a
Flask: update to version 2.0.2
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-11-15 02:16:20 +00:00
Daniel Golle
e971718892
Werkzeug: update to version 2.0.2
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-11-15 02:16:14 +00:00
Daniel Golle
7c3d48497f
Jinja2: update to version 3.0.3
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-11-15 02:16:08 +00:00
Daniel Golle
6ea6c94a48
click: update to version 8.0.3
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-11-15 02:16:00 +00:00
Alexandru Ardelean
5ae76d9d60 django: bump to version 3.2.9
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-11-14 09:26:33 +02:00
Alexandru Ardelean
d8b38b1102 numpy: bump to version 1.21.4
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-11-14 09:24:39 +02:00
Alexandru Ardelean
7d1c3560d8 python-lxml: bump to 4.6.4
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-11-14 09:23:07 +02:00
Alexandru Ardelean
b84b71c149 python-six: remove host-build
There are no more users left in this tree.
So, remove it.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-11-10 14:54:44 +02:00
Peter Stadler
55c3bc14f7 nginx, python3-{asgiref,django-cors-headers,drf-nested-routers,sqlparse}: bump versions
Update to the newest versions and switch to $(AUTORELEASE) for the python3 packages (where I am the maintainer).

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2021-10-30 01:12:02 -07:00
Alexandru Ardelean
784f2a519b python-paho-mqtt: bump to version 1.6.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-10-27 20:56:05 +03:00
Alexandru Ardelean
52aadf9579 numpy: bump to version 1.21.3
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-10-27 20:56:05 +03:00
Alexandru Ardelean
0f84091abe django: bump to version 3.2.8
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-10-19 13:22:25 -07:00
Alexandru Ardelean
ee2a4278d9 python-cffi: bump to version 1.15.0
And use AUTORELEASE for PKG_RELEASE.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-10-19 13:22:25 -07:00