Commit Graph

2174 Commits

Author SHA1 Message Date
Jeffery To
882ce5ddf9 python-semantic-version: Add new host-only package
From the README:

This small python library provides a few tools to handle SemVer in
Python. It follows strictly the 2.0.0 version of the SemVer scheme.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit b078e01f0c)
2023-10-02 19:15:02 +08:00
Jeffery To
032b5506c7 python3-networkx: Update to 3.1, rename source package
This renames the source package to python-networkx to match other Python
packages.

This also updates the list of dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 77cebb0d03)
2023-09-27 16:40:32 -07:00
Jeffery To
76e87af99d python-bidict: Update to 0.22.1
The package no longer has a build dependency on setuptools-scm.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 0434413108)
2023-09-27 16:37:43 -07:00
Alexandru Ardelean
5f8895386e django: bump to version 4.2.5
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
(cherry picked from commit 331b5f75f4)
2023-09-25 09:40:10 +03:00
Jeffery To
7512e421d2 python-build: Update to 1.0.3
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 21eb9b7456)
2023-09-17 07:38:31 +02:00
Jeffery To
f0bb5ce09a python-build: Update to 1.0.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit ba17298db5)
2023-09-17 07:38:31 +02:00
Jeffery To
f33c8977a0 python-setuptools: Update to 68.2.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit e309346104)
2023-09-17 07:38:22 +02:00
Josef Schlehofer
51acc2633b treewide: change my no longer used email
Since February 2023, I decided to no longer work with Turris, I mean CZ.NIC company
due to some reasons how the development goes and since that day my work address is not
available and not sure if there is some redirect to someone else, but if anyone wants to
reach me, use my email address, where they can find me.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 1e1b2051db)
2023-09-16 12:24:30 +02:00
Jeffery To
e05cf558ff python3: Update to 3.11.5, refresh patches
Includes fix for CVE-2023-40217 (Bypass TLS handshake on closed
sockets).

This also:

* Remove 027-install-python3-symlink-after-stdlib.patch

  This was merged upstream in
  https://github.com/python/cpython/pull/104693.

* Remove fix for unnecessary linking with libbsd
  (60bf01cb60)

  This was fixed upstream in
  https://github.com/python/cpython/pull/105236.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit e42c845039)
2023-09-14 15:45:05 +02:00
Jeffery To
f22b83f670 python-crcmod: Fix package section
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 8e5ca3fc3e)
2023-09-14 21:37:15 +08:00
Jeffery To
f2a59c9163 python-pyserial: Update to 3.5, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 4f3a0fe623)
2023-09-14 21:37:09 +08:00
Jeffery To
1d3737dfc7 python-cryptodomex: Update to 3.18.0, refresh patches
This also updates the list of dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit a1b3595550)
2023-09-14 21:37:01 +08:00
Jeffery To
1e5785e169 python-cryptodome: Update to 3.18.0, refresh patches
This also updates the list of dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 03f1f4b9bb)
2023-09-14 21:36:55 +08:00
Jeffery To
1c0e4fc274 ruamel-yaml: Update to 0.17.32, rename source package
This renames the source package to python-ruamel-yaml to match other
Python packages.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit fdff92f085)
2023-09-14 21:36:49 +08:00
Jeffery To
cedbb68a0b python-zipp: Update to 3.16.2, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 202140aeff)
2023-09-14 21:36:42 +08:00
Jeffery To
eb4ab356cb python-yaml: Update to 6.0.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 60315a6638)
2023-09-14 21:36:34 +08:00
Tianling Shen
12d65dece1 Merge pull request #22048 from jefferyto/python-platform-triplet-openwrt-23.05
[openwrt-23.05] python3: Restore platform triplet to paths
2023-09-12 10:52:17 +08:00
Jeffery To
b4aaffc0ec python-zeroconf: Update to 0.97.0, update list of dependencies
The package changed to the poetry-core build backend (and also requiring
python-cython/host).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 8957d34d09)
2023-09-11 12:45:30 +02:00
Jeffery To
c876fc96be xmltodict: Update to 0.13.0, rename source package
This renames the source package to python-xmltodict to match other
Python packages.

This also updates the list of dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 4872c32580)
2023-09-11 12:45:12 +02:00
Jeffery To
359a6d5117 python-websockets: Update to 11.0.3, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 98453732e2)
2023-09-08 19:01:04 +08:00
Jeffery To
e47c399cb4 python-wcwidth: Update to 0.2.6
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 3684df0dc3)
2023-09-08 19:00:23 +08:00
Jeffery To
ef04b76dc0 python-voluptuous-serialize: Update to 2.6.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 92d49899e4)
2023-09-08 19:00:11 +08:00
Quintin Hill
9da8115e8f python-ble2mqtt: update to 0.2.0
Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
(cherry picked from commit bfe98f95b6)
2023-09-08 18:59:55 +08:00
Quintin Hill
fe702c9f11 python-dbus-fast: update to 1.94.1
Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
(cherry picked from commit 689f0e0105)
2023-09-08 18:59:55 +08:00
Jeffery To
6bb9bdd5db python-voluptuous: Update to 0.13.1, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 6c7a53bd7d)
2023-09-08 18:59:38 +08:00
Jeffery To
646800830b python-urllib3: Update to 2.0.4
The package changed to the hatchling build backend.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 1b2811920a)
2023-09-08 18:59:28 +08:00
Jeffery To
08b5fe210e python-ubus: Update to 0.1.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 99d8554bcd)
2023-09-08 18:59:15 +08:00
Jeffery To
ec9d61450e python3: Restore platform triplet to paths
This removes 014-remove-platform-so-suffix.patch and
016-adjust-config-paths.patch, restoring the platform triplet to paths
for:

* C extensions (*.cpython-311-*.so)

* Build config data directory (/usr/lib/python3.11/config-3.11-*/)

* sysconfig data file (/usr/lib/python3.11/_sysconfigdata_*.py)

Setting `_PYTHON_SYSCONFIGDATA_NAME` during package builds ensures that
sysconfig data for target Python is loaded, in particular so that C
extensions built will have the correct extension / platform triplet.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 0fe1011420)
2023-09-05 12:42:50 +08:00
Jeffery To
2438d49f10 python3: Fix/expand platform triplet detection
Currently, configure does not find the correct platform triplet for musl
as the default build/host values passed by OpenWrt buildroot does not
contain the text "linux-musl".

This backports
c163d7f0b6
to add detection for mips soft float and musl.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 5a0055df06)
2023-09-05 12:42:32 +08:00
Jeffery To
b8d9ad62e0 python3: Centralize config file adjustments in Build/Install
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit b595362b85)
2023-09-05 12:42:09 +08:00
Jeffery To
ae845a260c python: Rework filespec install script
* Support wildcards in install (`+`) paths

* Add fourth parameter to set directory permissions

  If file permissions are given (third parameter), these will now apply
  to files only.

* Add non-recursive set permissions command (`==`)

* Be more strict about filespec format

  Blank lines and lines starting with `#` will be ignored. Other errors
  (unknown command, missing path parameter, etc.) will cause the script
  to exit.

* Be more strict about ensuring paths exist for all commands

* Avoid spawning subshells

This also removes outdated filespec paths in the python3 package; these
paths delete files that are no longer present.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 2ffb87726b)
2023-09-05 12:41:56 +08:00
Jeffery To
1479200790 python3: Fix package descriptions
* Fix default Python package description not included in individual
  package descriptions

* Update default Python package description text (from General Python
  FAQ, "What is Python?")

* Add package descriptions for Python module packages

* Reduce duplication in package titles

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 329f9a1391)
2023-09-05 12:41:29 +08:00
Jeffery To
dc08776ef3 python3: Use regular package recipes for python3 package
There is no need to use Py3Package for python3 as it does not package
any Python files; it is an empty package with dependencies to install
the full Python installation.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 87631ecdd4)
2023-09-05 12:41:10 +08:00
Jeffery To
8067a8e389 python-wheel: Update to 0.41.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 0b99bec49b)
2023-09-03 22:58:11 +08:00
Jeffery To
e7cbf1218c python-pluggy: Update to 1.3.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 88632b7b64)
2023-09-03 22:58:02 +08:00
Jeffery To
ad909595a5 python-trio: Update to 0.22.2, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 6b6ea7efe1)
2023-09-03 22:57:39 +08:00
Jeffery To
e298edaa84 python-tornado: Update to 6.3.3, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit e7a8d18385)
2023-09-03 22:57:22 +08:00
Jeffery To
ec47038bc8 python-sqlalchemy: Update to 2.0.20, update list of dependencies
This also adds a build dependency on python-cython/host.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 8b6a817af2)
2023-09-03 22:57:11 +08:00
Jeffery To
0df1114500 python-slugify: Update to 8.0.1, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 1ec68a6e98)
2023-09-03 22:57:01 +08:00
Jeffery To
09ac1b403f python-sentry-sdk: Update to 1.29.2, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit f279ae9418)
2023-09-03 22:56:45 +08:00
Jeffery To
765c405d91 python-schema: Update to 0.7.5
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 8c7709b911)
2023-09-03 22:56:33 +08:00
Jeffery To
c36b0b77b1 python-schedule: Update to 1.2.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 53dadf2c50)
2023-09-03 22:56:24 +08:00
Jeffery To
ce0c8573ed python-rsa: Update to 4.9, update list of dependencies
The package changed to the poetry-core build backend.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit a694ed7b0c)
2023-09-03 22:56:16 +08:00
Quintin Hill
123d1c4ea9 python-ble2mqtt: update to 0.1.9
Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
(cherry picked from commit 0c93584975)
2023-08-31 16:09:35 +08:00
Quintin Hill
5148922d8e python-dbus-fast: update to 1.93.0
Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
(cherry picked from commit 0ccd512445)
2023-08-31 16:09:35 +08:00
Jeffery To
1ad56abc84 python-setuptools: Update to 68.1.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 09e06f9594)
2023-08-28 08:53:00 +08:00
Jeffery To
88f47ac9fb python-poetry-core: Update to 1.7.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit bc32e54713)
2023-08-28 08:52:52 +08:00
Jeffery To
9e48c6332b python-click: Update to 8.1.7
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit dd5146b208)
2023-08-28 08:52:43 +08:00
Jeffery To
543cdd3c4c python-pytest-xdist: Update to 3.3.1, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 6facae339e)
2023-08-28 08:52:34 +08:00
Jeffery To
9b6dfcd0b4 python-pytest: Update to 7.4.0, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit b130986e17)
2023-08-28 08:52:26 +08:00