Commit Graph

2158 Commits

Author SHA1 Message Date
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
Jeffery To
e968854326 python-pyrsistent: Update to 0.19.3, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 383b8c1658)
2023-08-28 08:52:16 +08:00
Jeffery To
1ee689cd4a python-pyparsing: Update to 3.1.1
The package has changed to the flit-core build backend.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit dbe5283ed0)
2023-08-28 08:52:05 +08:00
Jeffery To
da088866aa python-pyotp: Update to 2.9.0, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 001c2cbe0d)
2023-08-28 08:51:56 +08:00
Jeffery To
ca82d56d79 python-pyfuse3: Update to 3.3.0, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit a9b23f4683)
2023-08-28 08:51:47 +08:00
Jeffery To
7be0bbd545 python-py: Update to 1.11.0, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit f9e3847599)
2023-08-28 08:51:36 +08:00
Quintin Hill
9f4707527e python3-ble2mqtt: update to 0.1.8
Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
(cherry picked from commit 6f80b4ba9a)
2023-08-21 14:23:31 +08:00
Quintin Hill
d95b27ebdf python3-dbus-fast: update to 1.91.2
The patch is no longer required as host setuptools is now new enough.

Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
(cherry picked from commit d7a4754b75)
2023-08-21 14:23:31 +08:00
Quintin Hill
e589f76968 python3-aio-mqtt-mod: update to 0.3.4
python3-openssl is now optional.

Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
(cherry picked from commit 6eba93c316)
2023-08-21 14:23:31 +08:00
Jeffery To
3ff874ac22 python-trove-classifiers: Update to 2023.8.7
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 3d497b2bc4)
2023-08-21 14:21:40 +08:00
Jeffery To
313a15e123 python-psycopg2: Update to 2.9.7, update list of dependencies
This also adds a source package (python-psycopg2-src).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 3a5f9999ca)
2023-08-21 14:21:31 +08:00
Jeffery To
a640fafc4d python-psutil: Update to 5.9.5, replace patch
100_add_cross_platform_build_ability.patch was submitted upstream in
https://github.com/giampaolo/psutil/pull/2068, but that pull request was
closed without being merged.

This replaces that patch with a simpler version that only updates
setup.py, leaving the run-time library code unchanged.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 56bac94a03)
2023-08-21 14:21:22 +08:00
Jeffery To
e0f59ec277 python-msgpack: Update to 1.0.5, add host Cython dependency
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 53d3fc6f44)
2023-08-21 14:21:13 +08:00
Jeffery To
0072b9bc14 python-more-itertools: Update to 10.1.0
The package has changed to the flit-core build backend.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 96880b435b)
2023-08-21 14:20:57 +08:00
Jeffery To
5fcb659fd8 python-distro: Update to 1.8.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 0068a50193)
2023-08-21 14:20:49 +08:00
Jeffery To
0d6197a28b python-markdown: Update to 3.4.4, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit ec19051980)
2023-08-17 19:29:08 +08:00
Jeffery To
f76f1d38b3 python-netdisco: Update to 3.0.0, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit da25e99725)
2023-08-17 18:52:03 +08:00