Commit graph

1539 commits

Author SHA1 Message Date
Jeffery To
f082f8150f
python-zope-interface: Update to 5.4.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit ffbde739c6)
2021-06-11 23:46:35 +08:00
Alexandru Ardelean
958b495b37 python-idna: bump to version 3.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit fe698b5fca)
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-06-11 16:49:51 +02:00
Jan Pavlinec
e2b25c5036
python-cryptodomex: update to version 3.10.1
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit d6cb4edb4a)
2021-05-27 17:04:35 +02:00
Alexandru Ardelean
8131eaf08c
python3: bump version to 3.9.5
Refreshed Python patches.
Updated pip & setuptools version.

For pip, patch '001-pep517-pyc-fix.patch' was reworked.

Also, the current version of the bundled pip (21.1.1) no longer supports
Python2, so the 'py2.py3' suffix gets replaced with just py3.

For setuptools, there is no longer a script/module:
  https://github.com/pypa/setuptools/pull/2544

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit e312275dd9)
2021-05-17 13:12:31 +02:00
Alexandru Ardelean
bc4ebdc085
python3: introduce libpython3 with ABI_VERSION flag
Related to discussion:
  https://github.com/openwrt/packages/pull/14060

Every once in a while a version bump will occur that requires an ABI
change. Example: Python 3.8 to 3.9. When this happens some Python packages
would need to be rebuilt. In setups where everything gets rebuilt, this
isn't a problem.

It's usually a bigger problem when needing to upgrade something via
opkg.
To accommodate for this, we add a libpython with it's own ABI_VERSION
flag. If this ABI_VERSION changes, then this should propagate forward.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit 27aee1fbf0)
2021-05-17 13:12:27 +02:00
Alexandru Ardelean
48fd33a730
python3: bump to version 3.9.4
For some reason Python3 jumped from 3.9.2 to 3.9.4 in about a week.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit 156e2e354e)
2021-05-17 13:12:22 +02:00
Jan Pavlinec
1d9a8b3546
python-engineio: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit 9e011b2fc8)
2021-05-08 10:52:47 +02:00
Jan Pavlinec
763f8b467b
python-bidict: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit ae0556e6a5)
2021-05-08 10:52:31 +02:00
Alexandru Ardelean
672b7c1d82
python-greenlet: support MIPS architecture
Fixes: https://github.com/openwrt/packages/issues/15370

This is inspired from:
   330bc94dcc/lang/python-greenlet/Makefile

The `PKG_USE_MIPS16:=0` is not taken into consideration when building
Python modules. That's because the sysconfig is used.

This is only an issue with greenlet (on MIPS) so far.

One option is to do `PKG_USE_MIPS16:=0` in the core Python package.
But, since we know that the `wlanslovenija` group has successfully used
greenlet on MIPS with this construct, we might as well adopt it until GCC10
becomes the main compiler.

As noted here:
  https://github.com/openwrt/packages/issues/15370#issuecomment-817015484
GCC10 doesn't have this problem.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit bde027188a)
2021-05-08 10:44:01 +02:00
Jan Pavlinec
d2085c2231
python-greenlet: add new package
Notes:
Build is disabled for arc and mips because
greenlet isn't ported for these platforms

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit 837f1b5924)
2021-05-08 10:43:52 +02:00
Jan Pavlinec
ba0b60f50a
python-socketio: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit decbd7b43a)
2021-05-08 10:43:26 +02:00
Jan Pavlinec
96726c6ce4
python-eventlet: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit d303bd6aac)
2021-05-08 10:41:36 +02:00
Jan Pavlinec
be42ff8e99
python-pysocks: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit 780fc502d2)
2021-05-08 10:41:19 +02:00
Jan Pavlinec
9c24b20a13
python-flask-socketio: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit 8133922a02)
2021-05-08 10:41:04 +02:00
Jan Pavlinec
7eea426c98
python-flask-httpauth: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit 6c9627b45d)
2021-05-08 10:40:50 +02:00
Daniel Golle
d54b6fe090
python-gnupg: update to version 0.4.7
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 7b32ab78c0)
2021-05-08 01:09:31 +02:00
Daniel Golle
fe2e5c27f8
Jinja2: update to version 2.11.3
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit e70965b1aa)
2021-05-08 01:07:18 +02:00
Daniel Danzberger
ed645bce9c
python-psycopg2: Add new package
Psycopg is the most popular PostgreSQL adapter for the Python programming language
It's used by the python-sqlalchemy for postgresql

This package was removed by this commit for lacking python3 support:
c37b15e1c4

Version 2.8.6 used in this package now supports pyhton3

Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
(cherry picked from commit 7cfb9a04af)
2021-04-20 18:58:05 +02:00
Jan Pavlinec
7f2d84615e
python-pytest: update to version 6.2.3
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit 4e979ceb6b)
2021-04-07 14:18:59 +02:00
Josef Schlehofer
f5246aaa29
zeroconf: update to version 0.29.0
Update copyright in Makefile

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 757b0ea647)
2021-04-07 14:18:42 +02:00
Rosen Penev
e1b21ddda2 python3-libsemanage: update to 3.2
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit acb72e7452)
2021-04-06 15:59:19 -07:00
Martin Matějek
c07c27ce7f
python3-pyroute2: update to version 0.5.16
Signed-off-by: Martin Matějek <martin.matejek@gmx.com>
(cherry picked from commit df4b1ae24e)
2021-03-30 21:47:40 +02:00
Jan Pavlinec
7bd8b26e1e
python-zipp: update to version 3.4.1
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit 7f85073979)
2021-03-29 00:23:44 +02:00
Jan Pavlinec
7bc80b5956
python-aiohttp: update to version 3.7.4
Note:
Fixes CVE-2021-21330
Add new required dependecy python3-typing-extensions

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit c99a19f614)
2021-03-07 02:16:50 +01:00
Jan Pavlinec
dd3747ea18
python-typing-extensions: add new package
Note:
Dependency for python3-aiohttp

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit 034cba33c6)
2021-03-07 02:16:39 +01:00
Jeffery To
b35fb7e8f9
python3: Update to 3.9.2, refresh patches
Includes fixes for:
* CVE-2021-3177 - ctypes: Buffer overflow in PyCArg_repr
* CVE-2021-23336 - urllib parse_qsl(): Web cache poisoning - semicolon
  as a query args separator

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 6d9005d5ac)
2021-03-02 23:14:19 +08:00
Alexandru Ardelean
cac54a66f4
django: bump to version 3.1.7
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmai.com>
(cherry picked from commit dd58d24699)
2021-02-26 07:38:51 +01:00
Ilya Lipnitskiy
b1cbd93bcd
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
(cherry picked from commit 5d8d4fbbcb)
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-02-25 01:26:05 +08:00
Jeffery To
6ce32c3b5e
python3: Fix target python-config when building on macOS
The Python version of python-config is installed when building on macOS,
rather than the shell script version when building on Linux. When run on
macOS, the Python version of python-config will return values with
Mac-specific customizations.

This patches the python-config install recipe so that which version is
installed can be controlled by the package makefile. When building on
macOS, this installs the Python version for host Python and the shell
script version for target Python.

This also updates Host/Compile and Host/Install to use the default host
build recipes, so that the various HOST_* variables are taken into
account automatically.

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

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 18330902a0)
2021-02-22 22:09:54 +08:00
Rosen Penev
ac4cbab7d8
Merge pull request #14743 from jefferyto/python-cffi-1.14.5
python-cffi: Update to 1.14.5
2021-02-15 03:08:19 -08:00
Rosen Penev
ceb32dc42c
Merge pull request #14753 from commodo/python-updates1
python-pytz,numpy: bump versions
2021-02-15 02:30:03 -08:00
Rosen Penev
3fc29f4716
Merge pull request #14744 from jefferyto/python-cryptography-3.3.2
python-cryptography: Update to 3.3.2
2021-02-15 00:49:06 -08:00
Alexandru Ardelean
09214dec38 numpy: bump to version 1.20.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-02-15 10:42:16 +02:00
Alexandru Ardelean
ca45446f16 python-pytz: bump to version 2021.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-02-15 09:14:59 +02:00
Rosen Penev
2726eb5bf1
Merge pull request #14722 from BKPepe/sqlalchemy
python-sqlalchemy: update to version 1.3.23
2021-02-14 16:06:22 -08:00
Jeffery To
b86890b899
python-cryptography: Update to 3.3.2
This fixes CVE-2020-36242 (buffer overflows caused by integer overflow
in OpenSSL).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-02-15 06:26:38 +08:00
Jeffery To
4aba039a2d
python-cffi: Update to 1.14.5
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-02-15 05:35:23 +08:00
Josef Schlehofer
eef638f587
python-sqlalchemy: update to version 1.3.23
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-02-12 05:29:49 +01:00
Rosen Penev
4e00dc2048
Merge pull request #14689 from peter-stadler/django
django: update to 3.1.6 (fixing CVE-2021-3281)
2021-02-09 13:28:49 -08:00
Peter Stadler
18e696fedc django: update to 3.1.6
fix for CVE-2021-3281

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2021-02-09 08:45:29 +01:00
Erik Larsson
f8e15596fc python-ubus: add package
Python bindings for ubus.

Signed-off-by: Erik Larsson <who+github@cnackers.org>
2021-02-09 03:20:17 +01:00
Jeffery To
0101070676
python-hyperlink: Update to 21.0.0, refresh patch
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-02-08 04:49:55 +08:00
Alexandru Ardelean
005e77c7cb numpy: bump to version 1.20.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-02-02 16:25:10 +02:00
Jan Pavlinec
42b50c1da0 python-execnet: update to version 1.8.0
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-02-01 23:33:48 +02:00
Erik Larsson
b6a85b9272 python-uci: add package
Python bindings for libuci, useful for writing ansible modules to manage OpenWRT systems.
Reused Makefile from upstream: https://gitlab.nic.cz/turris/turris-os-packages/-/blob/develop/lang/python-uci/Makefile

Signed-off-by: Erik Larsson <who+github@cnackers.org>
2021-01-31 18:58:00 +01:00
Jan Pavlinec
7adb6d2599 python-pytest: update to version 6.2.2
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-01-27 17:52:14 +02:00
Jan Pavlinec
b38bf0bd97 python-pytest-xdist: update to version 2.2.0
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-01-27 17:51:41 +02:00
Jan Pavlinec
edf63727c3 python-psutil: update to version 5.8.0
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-01-27 17:51:12 +02:00
Josef Schlehofer
f9ecc43442
python-flask-seasurf: update to version 0.3.0
- Update copyright

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-01-24 10:08:04 +01:00
Alexandru Ardelean
0f21ed774c python-evdev: bump to version 1.4.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-01-20 18:56:06 +02:00