Commit Graph

2337 Commits

Author SHA1 Message Date
Jeffery To 5a0055df06
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>
2023-08-25 02:19:53 +08:00
Jeffery To b595362b85
python3: Centralize config file adjustments in Build/Install
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-25 01:47:43 +08:00
Jeffery To 2ffb87726b
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>
2023-08-25 01:47:43 +08:00
Jeffery To 329f9a1391
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>
2023-08-25 01:47:42 +08:00
Jeffery To 87631ecdd4
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>
2023-08-25 01:47:42 +08:00
Jeffery To 09e06f9594 python-setuptools: Update to 68.1.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-24 17:21:44 +08:00
Jeffery To bc32e54713 python-poetry-core: Update to 1.7.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-24 17:21:35 +08:00
Jeffery To dd5146b208 python-click: Update to 8.1.7
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-24 17:21:25 +08:00
Jeffery To 6facae339e python-pytest-xdist: Update to 3.3.1, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-24 17:21:16 +08:00
Jeffery To b130986e17 python-pytest: Update to 7.4.0, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-24 17:21:07 +08:00
Jeffery To 383b8c1658 python-pyrsistent: Update to 0.19.3, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-24 17:20:58 +08:00
Jeffery To dbe5283ed0 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>
2023-08-24 17:20:49 +08:00
Jeffery To 001c2cbe0d python-pyotp: Update to 2.9.0, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-24 17:20:39 +08:00
Jeffery To a9b23f4683 python-pyfuse3: Update to 3.3.0, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-24 17:20:30 +08:00
Jeffery To f9e3847599 python-py: Update to 1.11.0, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-24 17:20:17 +08:00
Jeffery To 3d497b2bc4 python-trove-classifiers: Update to 2023.8.7
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-17 18:47:57 +08:00
Jeffery To 3a5f9999ca 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>
2023-08-17 18:46:09 +08:00
Jeffery To 53d3fc6f44 python-msgpack: Update to 1.0.5, add host Cython dependency
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-17 18:45:55 +08:00
Jeffery To 56bac94a03 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>
2023-08-17 18:45:41 +08:00
Jeffery To 96880b435b 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>
2023-08-17 18:45:03 +08:00
Jeffery To ec19051980 python-markdown: Update to 3.4.4, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-17 18:44:56 +08:00
Jeffery To 0068a50193 python-distro: Update to 1.8.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-17 18:44:42 +08:00
Quintin Hill 87d42fbe0e python3-ble2mqtt: update to 0.1.8
Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
2023-08-16 18:22:58 +08:00
Quintin Hill 3f7f1b6e66 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>
2023-08-16 18:22:58 +08:00
Quintin Hill 8810da08f2 python3-aio-mqtt-mod: update to 0.3.4
python3-openssl is now optional.

Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
2023-08-16 18:22:58 +08:00
Jeffery To 8a8991dfbf python-iniconfig: Update to 2.0.0
The package changed to the hatchling build backend.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-13 10:55:05 +08:00
Jeffery To 8bf67793bc python-jsonpath-ng: Update to 1.5.3
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-13 10:54:54 +08:00
Jeffery To cde28d04e6 python-jmespath: Update to 1.0.1
This also updates the Python dependency from python3 to python3-light.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-13 10:54:46 +08:00
Jeffery To 0bcbdf129b python-intelhex: Update to 2.3.0
This version includes the fix from the removed patch.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-13 10:54:38 +08:00
Josef Schlehofer 0662554483
Merge pull request #21748 from jefferyto/python-influxdb-5.3.1
python-influxdb: Update to 5.3.1
2023-08-13 00:28:04 +02:00
Josef Schlehofer 1583724fc3
Merge pull request #21795 from jefferyto/python-netdisco-3.0.0
python-netdisco: Update to 3.0.0, update list of dependencies
2023-08-12 23:59:13 +02:00
Jeffery To da25e99725
python-netdisco: Update to 3.0.0, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-12 01:51:19 +08:00
Jeffery To d219b6d28f
python-multidict: Update to 6.0.4, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-12 01:47:53 +08:00
Josef Schlehofer 1d08138c77
Merge pull request #21747 from jefferyto/python-ifaddr-0.2.0
python-ifaddr: Update to 0.2.0
2023-08-10 00:06:55 +02:00
Jeffery To d86deca765 python-click: Update to 8.1.6
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-10 05:11:28 +08:00
Jeffery To aa6aa15f4b python-wheel: Update to 0.41.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-10 05:11:18 +08:00
Jeffery To 68c434dd6a python-flask-seasurf: Update to 1.1.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-10 05:10:32 +08:00
Jeffery To d91ddd5d75 python-flask-login: Update to 0.6.2, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-10 05:10:23 +08:00
Jeffery To f5411f260a python-flask-httpauth: Update to 4.8.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-10 05:10:03 +08:00
Jeffery To c579a4ab0e python-flask-babel: Update to 3.1.0
The package changed to the poetry-core build backend.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-10 05:09:41 +08:00
Jeffery To 58c9de9ede python-flask-socketio: Update to 5.3.5
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-10 05:08:50 +08:00
Jeffery To 7e931594c7 python-socketio: Update to 5.8.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-10 05:08:18 +08:00
Jeffery To 466dfed2f2 python-engineio: Update to 4.5.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-10 05:07:59 +08:00
Jean-Paul Etienne 4c1b74ede3 micropython: fix stackctrl compilation for GCC 13
On host PC using GCC 13, stackctrl.c fails to compile
with the following error:

../py/stackctrl.c: In function 'mp_stack_ctrl_init':
../py/stackctrl.c:32:32: error: storing the address of
   local variable 'stack_dummy'
   in 'mp_state_ctx.thread.stack_top' [-Werror=dangling-pointer=]
   32 |     MP_STATE_THREAD(stack_top) = (char *)&stack_dummy;
../py/stackctrl.c:31:18: note: 'stack_dummy' declared here
   31 |     volatile int stack_dummy;
      |                  ^~~~~~~~~~~
In file included from ../py/runtime.h:29,
                 from ../py/stackctrl.c:27:
../py/mpstate.h:296:23: note: 'mp_state_ctx' declared here
  296 | extern mp_state_ctx_t mp_state_ctx;
      |                       ^~~~~~~~~~~~
cc1: all warnings being treated as errors

Fixed accordingly by ignoring -dangling-pointer warning
inside mp_stack_ctrl_init function.

Signed-off-by: Jean-Paul Etienne <fractalclone@gmail.com>
2023-08-07 11:41:14 +02:00
Jeffery To f477ad0ef9
python-influxdb: Update to 5.3.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-07 14:04:27 +08:00
Jeffery To fbc3629eca
python-ifaddr: Update to 0.2.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-07 14:00:25 +08:00
Jeffery To 03f78eff74 python-dns: Update to 2.4.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-04 01:58:29 +08:00
Jeffery To c0552ae0d4 python-contextlib2: Update to 21.6.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-04 01:58:19 +08:00
Jeffery To 197c34e62d python-ciso8601: Update to 2.3.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-04 01:58:08 +08:00
Jeffery To 008de77a8a python-certifi: Update to 2023.7.22
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-04 01:57:56 +08:00
Jeffery To 2eabda9a1e python-cachetools: Update to 5.3.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-04 01:57:42 +08:00
Jeffery To d6d4222e97 python-cachelib: Update to 0.10.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-04 01:57:30 +08:00
Jeffery To 54f9f2777c python-colorama: Update to 0.4.6
The package changed to the hatchling build backend.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-04 01:55:02 +08:00
Jeffery To c2a725ec00 python-docutils: Update to 0.20.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-04 01:53:32 +08:00
Jeffery To 360427948e python-editables: Update to 0.5
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-04 01:52:23 +08:00
Jeffery To 31d02be16a python-pathspec: Update to 0.11.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-04 01:52:10 +08:00
Eneas U de Queiroz 219edcfa31 python-certifi: add github runtime test
This loads the module, which should return the path of the CA bundle
and verifies that the file exists.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2023-07-28 10:39:18 -03:00
Jeffery To 787e2ba027 python-gnupg: Update to 0.5.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:48:00 -07:00
Jeffery To 6e1785d148 python-wheel: Update to 0.41.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:47:49 -07:00
Jeffery To 211724c3fc python-awscli: Update to 1.29.7, update dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:47:29 -07:00
Jeffery To 182eaed42d python-boto3: Update to 1.28.7, update dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:47:29 -07:00
Jeffery To 1ac094d012 python-s3transfer: Update to 0.6.1, update dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:47:29 -07:00
Jeffery To 3d83c5c8d6 python-botocore: Update to 1.31.7, update dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:47:29 -07:00
Jeffery To 446e52ab26 python-awesomeversion: Update to 23.5.0, update dependencies
The package changed to the poetry-core build backend.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:47:14 -07:00
Jeffery To d5ac6e103e python-atomicwrites: Update to 1.4.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:46:41 -07:00
Jeffery To aa44ed23ce python3-sqlparse: Update to 0.4.4, rename source package
This renames the source package to python-sqlparse to match other Python
packages.

This also updates the build dependencies; package now uses the flit-core
build backend.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:46:27 -07:00
Jeffery To 2c1b66c886 python-aiohttp: Update 3.8.5, update dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:46:12 -07:00
Jeffery To 0eabbb8ef7 python-aiosignal: Add new package
From the README:

A project to manage callbacks in asyncio projects.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:46:12 -07:00
Jeffery To 9c8e4c4aef python-frozenlist: Add new package
From the README:

frozenlist.FrozenList is a list-like structure which implements
collections.abc.MutableSequence. The list is mutable until
FrozenList.freeze is called, after which list modifications raise
RuntimeError.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:46:12 -07:00
Jeffery To 5ef294f64f python-charset-normalizer: Add new package
From the README:

A library that helps you read text from an unknown charset encoding.
Motivated by chardet, I'm trying to resolve the issue by taking a new
approach. All IANA character set names for which the Python core library
provides codecs are supported.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:46:12 -07:00
Jeffery To c5c02c060b python3-pyroute2: Update to 0.7.9, rename source package
This renames the source package to python-pyroute2 to match other Python
packages.

This also updates/simplifies the package dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:45:55 -07:00
Jeffery To bbf35edc5f python-apipkg: Update to 3.0.1
The package changed to the hatchling build backend.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:45:38 -07:00
Jeffery To ca7fdf61dc python3-maxminddb: Update to 2.4.0, rename source package
This renames the source package to python-maxminddb to match other
Python packages.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:45:26 -07:00
Jeffery To e0c13a145d python-async-timeout: Update to 4.0.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:45:11 -07:00
Jeffery To 0218c9067a python-execnet: Update to 2.0.2
The package changed to the hatchling build backend and removed the
dependency on apipkg.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:44:44 -07:00
Jeffery To 87fe943112 python-pip: Update to 23.2.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:42:05 -07:00
Alexandru Ardelean 868f09900d
Merge pull request #21585 from commodo/python-updates2
django,numpy,lxml: bump versions
2023-07-21 10:53:02 +03:00
Josef Schlehofer d5c939160a
Merge pull request #21604 from jefferyto/python3-netifaces-0.11.0
python3-netifaces: Update to 0.11.0, rename source package
2023-07-21 08:23:26 +02:00
Jeffery To 35d6cdf8bb
python3-unidecode: Update to 1.3.6, rename source package
This renames the source package to python-unidecode to match other
Python packages.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-20 02:45:44 +08:00
Jeffery To 935f791e76
python3-netifaces: Update to 0.11.0, rename source package
This renames the source package to python-netifaces to match other
Python packages.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-20 01:10:00 +08:00
Jeffery To 5e66a69433 python-pip: Update to 23.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-17 11:44:53 -07:00
Jeffery To 0174cea697 python-babel: Update to 2.12.1, add host build
Also updated dependencies for the new version.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-16 17:00:04 -07:00
Alexandru Ardelean d6252bcb76 numpy: bump to version 1.25.1
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-07-16 22:09:55 +03:00
Alexandru Ardelean a5e58afe19 python-django: bump to 4.2.3
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-07-16 21:29:34 +03:00
Alexandru Ardelean 6c3899e6a4 python-lxml: bump to 4.9.3
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-07-16 21:29:34 +03:00
Alexandru Ardelean 640f4592db
Merge pull request #21566 from jefferyto/python-mako-reimport
python-mako: Re-import host-only package from abandoned packages repo
2023-07-16 21:06:07 +03:00
Alexandru Ardelean 11ebe528df pillow: bump to version 10.0.0
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-07-14 21:44:59 +03:00
Alexandru Ardelean 2c44ddcb83 pymysql: bump to version 1.1.0
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-07-14 21:42:38 +03:00
Alexandru Ardelean 04774bb720 python-requests: bump to version 2.31.0
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-07-14 21:42:38 +03:00
Jeffery To 666ea93977
python-mako: Re-import host-only package from abandoned packages repo
Mako was removed in 60ce07b9a1d5c7a53297f177f10af68f3304be9e; at the
time we were using host pip to install host Python packages and so
having this package was not necessary.

With the move away from host pip and toward proper host packages, it
would be better to have a Mako host-only package here to support the
mesa package in the video feed.

This re-imports the package from the abandoned packages feed, updates
the makefile with current Python package conventions, and updates the
package to the latest version.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-14 19:32:20 +08:00
Jeffery To b68832d51e python-trove-classifiers: Update to 2023.7.6
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-13 16:17:48 -07:00
Jeffery To 5710f272db click: Update to 8.1.4, rename source package
This renames the source package to python-click to match other Python
packages.

This also updates the package dependencies, licence file, package title
and description.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-13 16:17:32 -07:00
Jeffery To 9a5f66acc3 python-editables: Update to 0.4
The build backend was changed from setuptools to flit-core.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-13 16:12:42 -07:00
Jeffery To 96c4a3f0c7 python-cython: Update to 0.29.36
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-13 15:03:06 -07:00
Javier Marcet c045680a62 python-docker: Update to 6.1.3
Signed-off-by: Javier Marcet <javier@marcet.info>
2023-07-05 02:24:58 +08:00
Javier Marcet 47665d7ac0 python-docker: Update to 6.1.2
Signed-off-by: Javier Marcet <javier@marcet.info>
2023-07-05 02:24:58 +08:00
Jeffery To 207d01c3a9 python-typing-extensions: Update to 4.7.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-03 07:30:34 -07:00
Javier Marcet 8f04b59b19 python-dotenv: update to v1.0.0
- 1.0.0:

  - What's Changed:
    - Handle situations where the cwd does not exist.
    - Add python-decouple as a related project
    - Drop support for python 3.7, add python 3.12-dev

- 0.21.1:

  - Added:
    - Use Python 3.11 non-beta in CI
    - Modernize variables code
    - Modernize main.py and parser.py code
    - Improve conciseness of cli.py and init.py
    - Improve error message for get and list commands when env file
    can't be opened
    - Updated Licence to align with BSD OSI template

Signed-off-by: Javier Marcet <javier@marcet.info>
2023-07-03 07:29:50 -07:00
Javier Marcet db1c50e1ca python-websocket-client: update to 1.6.1
- 1.6.1
  - Fix Dispatcher keyboard interrupt. Should solve reconnect loop
  with rel

- 1.6.0
  - Fix teardown issue when ping thread is not properly ended
  - Fix double ping wait time on first ping
  - Minor typehints improvements

- 1.5.3
  - Add logic to avoid error in the case where content-length header
  does not exist, bug introduced in 1.5.2
  - Fix wsdump.py script typing, bug introduced in 1.5.2

- 1.5.2
  - Add typehints
  - Fix pytype errors
  - Fix args passed to logging function
  - Standardize PEP 3101 formatting
  - Add more verbose exception for unsuccessful handshake

Signed-off-by: Javier Marcet <javier@marcet.info>
2023-07-02 16:30:20 +02:00
Javier Marcet 429f76316e python-stem: update to v1.8.2
Signed-off-by: Javier Marcet <javier@marcet.info>
2023-07-02 16:29:57 +02:00
Jeffery To 2ec3b9f095 python-hatchling: Update to 1.18.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-01 04:45:46 -07:00
Jeffery To f6190a379b python-pluggy: Update to 1.2.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-01 04:45:35 -07:00
Jeffery To ff51716aaa python-markupsafe: Update to 2.1.3, add host build
The host build will be used for mako (to be added later).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-01 04:44:13 -07:00
Jeffery To e1ef13a30c python-service-identity: Update to 23.1.0
This adds new build dependencies as the package switched to
pyproject.toml-based builds.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-01 04:43:38 -07:00
Jeffery To 40b9f05a58 python-libmodbus: Update to 0.6.2
This also adds a source package (python3-libmodbus-src).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-01 04:43:26 -07:00
Jeffery To 67af34188d python-gnupg: Update to 0.5.0
This also removes the dependency on gnupg as there are two packages for
gpg, gnupg and gnupg2; this library should work with either one.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-29 18:04:34 -07:00
Jeffery To acc915083d python-werkzeug: Update to 2.3.6
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-29 18:04:22 -07:00
Jeffery To c698a615f9 python-setuptools: Update to 68.0.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-27 07:25:11 +02:00
Jeffery To b5dbf77501 python-packages: Take over maintainership from Daniel Golle
This was requested in
https://github.com/openwrt/packages/pull/21227#issuecomment-1567676980.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-27 07:15:47 +02:00
Tianling Shen 7414d8c6dd
Merge pull request #21405 from jefferyto/selinux-update
selinux: Update selinux packages to 3.5, setools to 4.4.2, reorganize packages
2023-06-25 17:04:14 +08:00
Quintin Hill 5cf3046055 python-ble2mqtt: fix installation of python program
This was broken when the init script was added in 408502ee0.

Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
2023-06-20 22:39:58 +01:00
Jeffery To 23ff8177f0
python3-libsemanage: Update to 3.5, rename source/target package
* Rename:

  * Source package from python3-libsemanage to python-semanage
  * Target package from python3-libsemanage to python3-semanage

* Update dependents with new target package name

* Update package title, license files, and dependencies

* Remove Build/InstallDev (files not used by any other package)

* Use Py3Package to build Python bytecode and source packages

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-19 15:47:09 +08:00
Jeffery To a205483547
python3-libselinux: Update to 3.5, rename source/target package
* Rename:

  * Source package from python3-libselinux to python-selinux
  * Target package from python3-libselinux to python3-selinux

* Update dependents with new target package name

* Remove patches:

  * 010-setup-py-custom-cc.patch: LDSHARED is already set as part of
    $(PYTHON3_VARS)

  * 020-Make-use-of-variables-when-defining-libdir-and-inclu.patch: This
    package doesn't install the libselinux.pc file

* Update package title and dependencies

* Remove Build/InstallDev (files not used by any other package)

* Use Py3Package to build Python bytecode and source packages

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-19 15:47:09 +08:00
Quintin Hill e7181b3452 python-ble2mqtt: update to 0.1.7
Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
2023-06-14 13:43:45 +08:00
Quintin Hill 76306b1bbb python-bleak: upgrade to 0.20.2
Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
2023-06-14 13:43:45 +08:00
Quintin Hill 4105ce9294 python-dbus-fast: update to 1.86.0
Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
2023-06-14 13:43:45 +08:00
Jeffery To 4627ed7c43
python3: Update to 3.11.4, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-12 14:10:01 +08:00
Jeffery To b098f2ac40 python3-asgiref: Update to 3.7.2, rename source package
This renames the source package to python-asgiref to match other Python
packages.

This also updates the package title and URL.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-07 23:19:54 +03:00
Jeffery To 0b35054fb0 python3-django-etesync-journal: Remove package
This package was originally added[1] as it was a dependency of
etesync-server 0.3.0. When etesync-server was renamed to etebase and
upgraded to 0.6.1[2], this dependency was removed. No other package in
the packages feed depends on this package.

Upstream has also archived the git repo[3] and stated that the
repo/package is deprecated. It does not appear that any newer version of
etebase uses this package.

This removes the python3-django-etesync-journal package; it will be
submitted to the abandoned packages repo.

[1]: https://github.com/openwrt/packages/pull/10469
[2]: https://github.com/openwrt/packages/pull/14063
[3]: https://github.com/etesync/journal-manager

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-07 17:46:12 +03:00
Jeffery To 5b965e4d79 passlib: Update to 1.7.4, rename source package
This renames the source package from passlib to python-passlib to match
other Python packages.

This also updates the package URL and list of dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-06 19:53:19 +03:00
Tianling Shen 4078ffa6b8
Merge pull request #21275 from jefferyto/python-typing-extensions-4.6.3
python-typing-extensions: Update to 4.6.3
2023-06-06 13:12:46 +08:00
Tianling Shen 96cd37e45d
Merge pull request #21274 from jefferyto/python-poetry-core-1.6.1
python-poetry-core: Update to 1.6.1
2023-06-06 13:12:36 +08:00
Tianling Shen 64613c0d13
Merge pull request #21273 from jefferyto/python-hatchling-1.17.1
python-hatchling: Update to 1.17.1
2023-06-06 13:12:24 +08:00
Tianling Shen a6980eb933 python3-bottle: Update to 0.12.25
Fix build with Python 3.11

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-06-05 11:31:42 +02:00
Tianling Shen 0e6fe09a34 python-yarl: Update to 1.9.2
Fix build with Python 3.11.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-06-05 10:32:04 +02:00
Jeffery To b638f3f8c0
python-typing-extensions: Update to 4.6.3
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-05 15:43:15 +08:00
Jeffery To ac59c69237
python-poetry-core: Update to 1.6.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-05 15:17:17 +08:00
Jeffery To 0aed79d2a7
python-hatchling: Update to 1.17.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-05 13:58:47 +08:00
Jeffery To a83dcf0d5c
micropython-mpremote: Add new package
From the README:

This CLI tool provides an integrated set of utilities to remotely
interact with and automate a MicroPython device over a serial
connection.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-02 21:39:58 +08:00
Jeffery To 9071deb1c7
python-hatch-requirements-txt: Add new host-only package
From the README:

Hatchling plugin to read project dependencies from requirements.txt

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-02 21:39:58 +08:00
Jeffery To 9390bd0262
micropython-lib: Update to master, split target package
The package has been reworked to install the same files that are
available to be downloaded/installed by mip, the package manager new to
MicroPython 1.20.0.

This also splits the original target package into four:

* micropython-lib
  * Includes packages common to all MicroPython ports (python-stdlib,
    python-ecosys, micropython)
  * Contains mpy bytecode files

* micropython-lib-src
  * Includes packages common to all MicroPython ports (python-stdlib,
    python-ecosys, micropython)
  * Contains py source files

* micropython-lib-unix
  * Includes packages specific to the MicroPython Unix port (unix-ffi)
  * Contains mpy bytecode files
  * Installs a specific launcher (micropython-unix) that adds the Unix
    package directory into MicroPython's library path

* micropython-lib-unix-src
  * Includes packages specific to the MicroPython Unix port (unix-ffi)
  * Contains py source files

This also updates the package license, title, and description.

Patches:

* 001-build-unix-ffi.patch

  This enables the repo build script to also build the Unix-specific
  packages. Not sure if upstream is open to accepting this since the
  Unix-specific packages don't fit well into the existing package
  distribution mechanism.

* 002-add-unix-ffi-os-path.patch and 003-add-unix-ffi-uu.patch

  These fix instances where the unix-ffi version of the os package is
  overridden by the python-stdlib version. These have been submitted to
  upstream: https://github.com/micropython/micropython-lib/pull/672

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-02 21:39:58 +08:00
Jeffery To a4ae38494f
micropython: Update to 1.20.0, refresh/rework patches
Patches 000-Makefile-no-errors.patch and 020-mpy-cross-fix-flags.patch
are no longer necessary.

This also adds a Build/InstallDev recipe to install files necessary for
micropython-lib.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-02 21:39:44 +08:00
Jeffery To 574d43fca6 Werkzeug: Update to 2.3.4, rename source package
This renames the source package from Werkzeug to python-werkzeug to
match other Python packages.

This also updates the package title, description, and list of
dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-30 03:19:49 +01:00
Jeffery To 5602cc85d3 MarkupSafe: Update to 2.1.2, rename source package
This renames the source package from MarkupSafe to python-markupsafe to
match other Python packages.

This also updates the package title and description.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-30 03:19:33 +01:00
Jeffery To 572387f0cb Jinja2: Update to 3.1.2, rename source package
This renames the source package from Jinja2 to python-jinja2 to match
other Python packages.

This also updates the package license files, title, and list of
dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-30 03:19:21 +01:00
Jeffery To 67a854aee2 click-log: Update to 0.4.0, rename source package
This renames the source package from click-log to python-click-log to
match other Python packages.

This also updates the package to download from PyPI, and updates the
package title, URL, and dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-29 18:16:56 +03:00
Jeffery To f45f067f3f python-typing-extensions: Update to 4.6.2
This also updates the SPDX license identifier, title, description and
URL for the package.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-29 18:16:38 +03:00
Jeffery To 17007845bc python-trove-classifiers: Update to 2023.5.24
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-29 18:16:19 +03:00
Jeffery To a7d33e9e3a python-gmpy2: Update to 2.1.5
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-29 18:15:59 +03:00
Jeffery To f47802949c python-cython: Update to 0.29.35
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-29 18:15:05 +03:00
Jeffery To 9f8a5fb25b python-hatch-fancy-pypi-readme: Update to 23.1.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-29 18:14:46 +03:00
Jeffery To 3def783d3c bcrypt: Update to 3.2.2, rename source package
This is the last released version before bcrypt's Rust rewrite; this
package can be further updated after the OpenWrt Rust toolchain has
stablized.

This also renames the source package from bcrypt to python-bcrypt to
match other Python packages, and updates the list of dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-29 18:14:14 +03:00
Tianling Shen f02f3ee8c7 pyodbc: Update to 4.0.39
* Fixed build with Python 3.11
* Removed unnecessary build depends

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-28 09:31:24 +03:00
Jeffery To b76fa19b26 python-packages: Replace --global-option with --build-option
setuptools 64.0.0 deprecated the use of --global-option to pass build
parameters[1]. This replaces the use of --global-option with
--build-option.

[1]: https://github.com/pypa/setuptools/blob/main/CHANGES.rst#v6400

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-28 09:30:31 +03:00
Alexandru Ardelean 9f19a64e02
Merge pull request #21194 from 1715173329/pgr
python-greenlet: Update to 2.0.2
2023-05-27 21:17:35 +03:00
Alexandru Ardelean 0f858d5076
Merge pull request #21190 from jefferyto/python-split-packages
python3: Split venv into separate package, pip and setuptools into separate source packages
2023-05-27 21:15:06 +03:00
Tianling Shen e399e1ce2c python-greenlet: Update to 2.0.2
Fix build with Python 3.11.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-27 21:51:37 +08:00
Tianling Shen e7e66545b1
Merge pull request #21188 from jefferyto/python-tomli-remove-package
python-tomli: Remove package
2023-05-27 14:55:12 +08:00
Jeffery To b4975f8bbb
python3: Split setuptools into separate source package
Packaging setuptools from a separate source package allows it to stay
updated with upstream.

Host setuptools will remain installed as part of python3. Host
setuptools is used in a much more controlled way and so is less critical
for it to track upstream.

setuptools was in a separate source package that was removed in
a53d0c5a403d1669e2cf6c59c2be6a9d3ed633a0; this work is not based on that
earlier package.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-26 22:06:24 +08:00
Jeffery To eee273507b
python3: Split pip into separate source package
Packaging pip from a separate source package allows it to stay updated
with upstream.

Host pip will remain installed as part of python3. Host pip is used in a
much more controlled way and so is less critical for it to track
upstream.

This also removes the python-pip-conf package and installs the pip.conf
file as part of python3-pip.

The patch 003-disable-pip-version-check.patch is originally from Debian:
bb079efb8c/debian/patches/disable-pip-version-check.patch

pip was in a separate source package that was removed in
a53d0c5a403d1669e2cf6c59c2be6a9d3ed633a0; this work is not based on that
earlier package.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-26 22:06:08 +08:00
Jeffery To d53475ac21
python3: Split venv module from python3-light into separate package
This adds a new subpackage for the venv module. This also moves the
ensurepip module from python3-pip into python3-venv, as ensurepip is not
necessary for pip but often used for venv.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-26 22:01:41 +08:00
Jeffery To 0509d460c8
python-tomli: Remove package
Python added tomli to its standard library in 3.11. Now that Python in
the packages feed has been updated to 3.11, the separate tomli package
is no longer necessary.

This removes python-tomli and updates all dependant packages, removing
python-tomli from their lists of dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-26 17:51:53 +08:00
Alexandru Ardelean 8f176e30f3 numpy: bump version to 1.24.3
Need to also fix build for GCC 13 + musl.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2023-05-26 11:16:17 +03:00
Alexandru Ardelean de130fadb5
Merge pull request #21167 from jefferyto/python-packages-do-not-set-pyvenv-launcher
python-packages: Remove __PYVENV_LAUNCHER__ environment variable
2023-05-26 10:11:59 +03:00
Tianling Shen f17a701722
Merge pull request #21168 from jefferyto/python-poetry-core-1.6.0
python-poetry-core: Update to 1.6.0
2023-05-26 01:28:42 +08:00
Jeffery To 626c7efda9
python-poetry-core: Update to 1.6.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-25 15:30:08 +08:00
Jeffery To 9e95dff9ac
python-packages: Remove __PYVENV_LAUNCHER__ environment variable
Setting __PYVENV_LAUNCHER__ for Python package builds was added in
a91a992abb, but neither the commit message
nor the pull request[1] explain its purpose in detail.

My guess is this was done to set the shebang for installed Python
scripts. We now have a Makefile recipe to set the shebang, so it would
be unnecessary to set this variable for this purpose.

It appears that Python 3.11 has changed the handling of this (internal)
environment variable, and setting it appears to be causing build errors
for all Python packages.

This removes setting __PYVENV_LAUNCHER__ for Python package builds.

[1]: https://github.com/openwrt/packages/pull/525

Fixes: https://github.com/openwrt/packages/issues/21162
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-25 15:01:28 +08:00
Jeffery To 60bf01cb60
python3: Fix unnecessary linking with libbsd
configure will try to link with libbsd for the flock function, even when
flock is available without it.

Fixes: https://github.com/openwrt/packages/issues/21161
Fixes: 2445fe9fb2 ("python3: Update to 3.11.3, refresh/redo patches")
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-25 13:42:00 +08:00
Jeffery To 6b8340d3ca python-flit-core: Update to 3.9.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-24 06:09:41 +03:00
Jeffery To 5059cfccae borgbackup: Move from lang/python into utils
lang/python is meant for Python libraries and other packages closely
related to the Python language. It makes more sense for borgbackup to be
in utils instead.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-24 06:08:51 +03:00
Jeffery To 2445fe9fb2 python3: Update to 3.11.3, refresh/redo patches
* Removed patches:

  * 001-enable-zlib.patch: zlib module should be enabled automatically

  * 007-distutils-do-not-adjust-path.patch: Not necessary since we
    process shebang lines for all scripts (in python3-package.mk)

  * 030-bpo-43112-detect-musl-as-a-separate-SOABI-GH-24502.patch:
    Already merged

* Move configure vars from config.site back into Makefile

  Centralizing all build information into one file makes it easier to
  maintain

* No longer set ac_cv_header_uuid_h=yes as configure should detect
  libuuid

* Order configure args by enable-/disable-/with-/without-, then
  alphabetically

* Set ac_cv_working_openssl_hashlib=yes for host configure to bypass the
  OpenSSL API tests with LibreSSL

* Use the default Host/Compile recipe instead of picking out specific
  targets to make

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-24 06:04:33 +03:00
Jeffery To 02eb5c100c python3: Fix hashlib module not compiled for host Python
026-openssl-feature-flags.patch and
028-host-python-support-ssl-with-libressl.patch were removed in
4ecd9d67e9 to fix the ssl module after
libressl was upgraded to 3.7.0[1].

However, the cause of the ssl module build failure was only
028-host-python-support-ssl-with-libressl.patch.

Removing 026-openssl-feature-flags.patch caused a build failure for the
hashlib module.

This restores 026-openssl-feature-flags.patch with an updated version of
the patch from OpenBSD[2].

[1]: https://github.com/openwrt/packages/issues/20107
[2]: 26a04435bf/lang/python/3.10/patches/patch-Modules__hashopenssl_c

Fixes: 4ecd9d67e9 ("python3: fix ssl support by removing libressl patches")
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-24 06:04:33 +03:00
Jeffery To 44fb4927f1 python3: Fix uuid module not compiled for host Python
This adds $(STAGING_DIR_HOST)/include/e2fsprogs to HOST_CFLAGS and
HOST_CPPFLAGS so that configure can find uuid/uuid.h.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-24 06:04:33 +03:00
Jeffery To f006d0ea23 python3: Fix multiarch/local paths added when building host Python
By default, the Python build process will add /usr/local/{lib,include},
and multiarch paths (e.g. /usr/{lib,include}/x86_64-linux-gnu) if
building on Debian/Ubuntu, to its library and includes paths.

006-remove-multi-arch-and-local-paths.patch was added in
84202f17e1 to stop the Python build
process from adding these paths.

006-remove-multi-arch-and-local-paths.patch was removed in
48277ec915.

006-do-not-add-multiarch-paths-when-cross-compiling.patch was added in
0c8b0b0bf7 to stop the Python build
process from adding these paths for target Python.

These paths are still added by the Python build process when building
host Python.

This replaces the cross-compiling-only patch with the original patch,
renamed slightly and adapted for Python 3.10.

Fixes: 48277ec915 ("python3: bump to version 3.8")
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-24 06:04:33 +03:00
Jeffery To 67e47f1196 python3: Fix race condition when doing parallel builds
When doing parallel builds, host Python can install the python3 symlink
before the Python standard library is installed completely.

When this occurs, it is possible for other packages to detect the
python3 symlink and try to use host Python before it is fully installed.

This adds a patch to make commoninstall (where the standard library is
installed) a prerequisite of bininstall (where the python3 symlink is
installed), so that commoninstall is fully completed before bininstall
begins.

Patch has been submitted upstream:
https://github.com/python/cpython/pull/104693

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

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-24 06:04:33 +03:00
Jeffery To e1a9578635 python3: Fix readelf program name not replaced in _sysconfigdata.py
The Makefile lines to add READELF to TARGET_CONFIGURE_OPTS was removed
in 4e05541782.

Without setting READELF, configure finds the symlink to
$(TARGET_CROSS)readelf (e.g. arm-openwrt-linux-readelf) instead of
$(TARGET_CROSS)readelf (e.g. arm-openwrt-linux-muslgnueabi-readelf).

This leads to the symlink name being saved to _sysconfigdata.py, and so
the readelf name is not replaced correctly (in
Py3Package/python3-base/install).

This restores the removed Makefile lines.

Fixes: 4e05541782 ("python3: bump to version 3.10.0")
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-24 06:04:33 +03:00
Jeffery To 8a4da01790 python3: Fix __pycache__ files included in python3-light
003-do-not-run-distutils-tests.patch was removed in
4e05541782. This patch stopped "make
install" from, among other things, running compileall.

When this patch was removed, "make install" ran compileall as normal and
created bytecode files in __pycache__ directories. These files were then
packaged in python3-light.

This adds a patch to stop compileall from being run during "make
install".

Fixes: 4e05541782 ("python3: bump to version 3.10.0")
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-24 06:04:33 +03:00
Jeffery To 3032e7063f python3: Remove --without-pymalloc
--without-pymalloc was added in 7bf1ae65a8
because leaving it enabled added an "m" flag/suffix to file names.

This flag/suffix was removed in Python 3.8[1], so disabling pymalloc is
no longer necessary.

[1]: https://docs.python.org/3.8/whatsnew/3.8.html#build-and-c-api-changes

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-24 06:04:33 +03:00
Tianling Shen 577679a572 python3-libselinux: fix compilation with musl 1.2.4
musl 1.2.4 deprecated legacy "LFS64" ("large file support") interfaces so
just having _GNU_SOURCE defined is not enough anymore.

Manually pass -D_LARGEFILE64_SOURCE to allow to keep using LFS64 definitions.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-20 13:07:15 +08:00
Tianling Shen aadc8d0001
Merge pull request #20981 from jefferyto/python3-packages-fix-build
python3-packages: Set PYTHON3_PKG_BUILD:=0
2023-05-20 08:01:25 +08:00
Jeffery To 16779c2d6e python-packaging: Update to 23.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-18 11:13:18 +03:00
Jeffery To 7607e43be4 python-attrs: Update to 23.1.0
The package now uses pyproject.toml-based builds with additional build
dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-18 11:13:02 +03:00
Jeffery To d2ad1f47d3 python-automat: Update to 22.10.0, refresh patches
This also removes the patch to avoid setuptools-scm and adds a build
dependency on python-setuptools-scm/host.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-18 10:30:52 +03:00
Jeffery To fdc320dc0c
python-hatchling: Update to 1.17.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-17 15:11:08 +08:00
Alexandru Ardelean 5c131f8a90 python-requests: bump to version 2.30.0
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-05-15 10:21:24 +03:00
Alexandru Ardelean 98d0b78401 django: bump to version 4.2.1
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-05-15 10:21:24 +03:00
Tianling Shen 53959d50fd
Merge pull request #20985 from jefferyto/python-incremental-fix-host-build
python-incremental: Add missing host build dependencies
2023-05-15 01:12:22 +08:00
Jeffery To 2c54b7637e
python-incremental: Add missing host build dependencies
Fixes: 8d81b67327 ("python-incremental: Update to 22.10.0, redo patch, add host build")
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-11 15:42:33 +08:00
Jeffery To bcba053fb0
python3-packages: Set PYTHON3_PKG_BUILD:=0
This sets PYTHON3_PKG_BUILD:=0 so that python3-package.mk does not set
any default build recipes.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-11 02:54:08 +08:00
Jeffery To 3cee44d888
numpy: Avoid build user config files
This stops numpy from reading .numpy-site.cfg in the build user's home
directory. The code actually tries to find both .numpy-site.cfg and
site.cfg in the user's home directory; this patch prevents both.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-11 02:46:57 +08:00
Jeffery To 5cafab68ff
numpy: Fix compilation when OpenBLAS support is not enabled
Currently, if OpenBLAS support is not enabled, a site.cfg file is not
written and numpy will use build host paths for libraries. If the build
host has any conflicting libraries, specifically libpython3.10.a, then
compilation will fail.

This ensures site.cfg is always written with buildroot paths.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-11 02:46:57 +08:00
Jeffery To 8d331953f3
numpy: Fix pyproject.toml-based build
The versions of setuptools and wheel pinned in pyproject.toml are older
than the versions available in the packages repo. This unpins the
versions so that the build can proceed.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-11 02:46:57 +08:00
Tianling Shen 0aff57d001
Merge pull request #20958 from jefferyto/python-trove-classifiers-2023.5.2
python-trove-classifiers: Update to 2023.5.2
2023-05-10 22:01:00 +08:00
Jeffery To 8a36b03870
Merge pull request #20801 from jefferyto/python-pyproject
python: Add proper support for pyproject.toml-based builds, update Python packages for new build process
2023-05-10 12:11:07 +08:00
Jeffery To 99a0cfdd03
python-trove-classifiers: Update to 2023.5.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-08 13:14:09 +08:00
Jeffery To 54c1303dc4
python-hatchling: Update to 1.14.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-04 14:10:43 +08:00
Jeffery To fe0dc6f48a python-hatchling: Update to 1.14.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-01 13:34:40 +03:00
Jeffery To 7dc6b103c5 python-trove-classifiers: Add new host-only package
From the README:

Canonical source for classifiers on PyPI.

Classifiers categorize projects per PEP 301. Use this package to
validate classifiers in packages for PyPI upload or download.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-01 13:34:40 +03:00
Jeffery To f4a18fbd3d python-calver: Add new host-only package
From the README:

The calver package is a setuptools extension for automatically defining
your Python package version as a calendar version.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-01 13:34:40 +03:00
Stepan Henek eb7275402e python-eventlet: bump to version 0.33.3
old eventlet is not working well with python3.10

```
root@turris:~# python3
Python 3.10.9 (main, Feb  9 2023, 10:37:45) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import eventlet
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.10/site-packages/eventlet/__init__.py", line 17, in <module>
  File "/usr/lib/python3.10/site-packages/eventlet/convenience.py", line 7, in <module>
  File "/usr/lib/python3.10/site-packages/eventlet/green/socket.py", line 4, in <module>
  File "/usr/lib/python3.10/site-packages/eventlet/green/_socket_nodns.py", line 11, in <module>
  File "/usr/lib/python3.10/site-packages/eventlet/greenio/__init__.py", line 3, in <module>
  File "/usr/lib/python3.10/site-packages/eventlet/greenio/base.py", line 32, in <module>
  File "/usr/lib/python3.10/site-packages/eventlet/timeout.py", line 166, in wrap_is_timeout
TypeError: cannot set 'is_timeout' attribute of immutable type 'TimeoutError'
```

see 0.33.3 release notes for details - https://eventlet.net/doc/changelog.html#id1

Signed-off-by: Stepan Henek <stepan.henek@nic.cz>
2023-04-29 13:43:16 +03:00
Jeffery To a35431f2bf python: Update find stdlib script
This updates the python3-find-stdlib-depends.sh script for these
changes:

* The gdbm (dbm.gnu) package was merged into the dbm package in
  78f6c2c5ad.

* The uuid module was split into a separate package in
  4e05541782.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-25 07:49:53 +03:00
Jeffery To 743204ff2d python-idna: Update to 3.4
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-25 07:48:47 +03:00
Jeffery To 36587eced2 python-zope-interface: Update to 6.0, refresh patch
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-25 07:48:14 +03:00
Jeffery To 977d8e5a6f python-pyasn1: Update to 0.5.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-25 07:47:33 +03:00
Jeffery To b1b008f42f
python-packages: Clean up build variables
* Rename PYTHON3_PKG_SETUP_VARS to PYTHON3_PKG_BUILD_VARS, and
  PYTHON3_PKG_SETUP_DIR to PYTHON3_PKG_BUILD_PATH

  The new variable names emphasize that these values apply to the new
  build process.

* Remove PYTHON3_PKG_SETUP_ARGS set to the empty string

  These were set to override the default arguments in the old build
  process and not applicable to the new build process.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:22:03 +08:00
Jeffery To 63d13aa15f
python-libraries: Update build options
This updates the build options for these packages to work with the
pyproject.toml-based build process, and removes
PYTHON3_PKG_FORCE_DISTUTILS_SETUP:=1.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:20:35 +08:00
Jeffery To 30bd279461
python-typing-extensions: Update to 4.5.0, add myself as maintainer
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:20:35 +08:00
Jeffery To 84d9831dcb
python-packaging: Remove BROKEN
With proper support of pyproject.toml-based builds in place, this
package will now build.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:20:34 +08:00
Jeffery To 107e037763
python-jsonschema: Remove previous build workaround
With proper support for pyproject.toml-based builds in place, this is no
longer necessary.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:20:34 +08:00
Jeffery To 7734502693
python-exceptiongroup: Remove previous build workaround
With proper support for pyproject.toml-based builds in place, this is no
longer necessary.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:20:34 +08:00
Jeffery To 628202d269
python-astral: Remove BROKEN
With proper support for pyproject.toml-based builds in place, this
package will now build.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:20:33 +08:00
Jeffery To 5156c0c82b
python: Add proper support for pyproject.toml-based builds
This removes the changes made in
61f202c017 and adds actual support for
pyproject.toml-based (PEP 517) builds of Python packages.

Packages can force the use of the old build process by setting
PYTHON3_PKG_FORCE_DISTUTILS_SETUP:=1; this should only be a temporary
workaround until the package can be updated/fixed to use the new build
process.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:20:33 +08:00
Jeffery To e6ae9e29d5
python-libraries: Force old build process
These packages will need adjustments to work with pyproject.toml-based
builds, so set PYTHON3_PKG_FORCE_DISTUTILS_SETUP:=1 to force the old
build process (when pyproject.toml-based builds are in place) for now.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:19:49 +08:00
Jeffery To 4a7173d27d
python-ubus: Force old build process
This package will not build with the pyproject.toml-based build process
because it has a build dependency on pytest-runner[1].

pytest-runner has been deprecated[2], so instead of adding a package for
pytest-runner to fulfill the build dependency, force this package to use
the old build process.

[1]: https://gitlab.nic.cz/turris/python-ubus/-/blob/v0.1.1/setup.py#L35
[2]: https://github.com/pytest-dev/pytest-runner#deprecation-notice

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:19:45 +08:00
Jeffery To 56b10770fc
python-twisted: Update to 22.10.0
Includes fix for CVE-2022-39348 (NameVirtualHost Host header injection).

This adds a build dependency that will be required for
pyproject.toml-based builds.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:17 +08:00
Jeffery To 17d5bf224c
python-pytest-forked: Update to 1.6.0
The overly-strict build requirements in 1.3.0[1] would cause a build
failure with pyproject.toml-based builds.

[1]: https://github.com/pytest-dev/pytest-forked/blob/v1.3.0/pyproject.toml#L2

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:17 +08:00
Jeffery To c7820e4fb1
python-pytest: Update to 7.3.0
This also removes BROKEN from the package.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:17 +08:00
Jeffery To 550c29368e
python-pycrate: Update to 0.6.0
This also changes the download to PyPI and updates several package
makefile fields.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:16 +08:00
Jeffery To b1a8e4769f
python-jsonschema: Add build dependencies
These will be required for pyproject.toml-based builds.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:16 +08:00
Jeffery To 8d81b67327
python-incremental: Update to 22.10.0, redo patch, add host build
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:16 +08:00
Jeffery To 59b7a81964
python-exceptiongroup: Update to 1.1.1
This adds a build dependency that will be required for
pyproject.toml-based builds.

This also removes the run-time dependency on python3-attrs; there is no
indication this package is required.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:15 +08:00
Jeffery To be90d8aecd
python-docker: Add missing build dependency
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:15 +08:00
Jeffery To 68c0c77df6
python-dns: Update to 2.3.0
This adds a build dependency that will be required for
pyproject.toml-based builds.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:15 +08:00
Jeffery To b78c8ff918
python-dbus-fast: Add build dependencies
These will be required for pyproject.toml-based builds.

This also includes a patch to unpin the version requirement for
setuptools, as the current in-repo version of setuptools does not
fulfill this requirement, and there does not appear to be any specific
reason why this version requirement is necessary.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:15 +08:00
Jeffery To 0b5091bbff
python-cryptography: Update patch to disable Rust
This extends the patch to also apply for pyproject.toml-based builds.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:14 +08:00
Jeffery To 159895b794
python-bleak: Add build dependency
This will be required for pyproject.toml-based builds.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:14 +08:00
Jeffery To 1a1b444571
python-astral: Update to 3.2
This adds a build dependency that will be required for
pyproject.toml-based builds.

This also marks the package as BROKEN (for now) as it requires proper
support for pyproject.toml-based builds.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:14 +08:00
Jeffery To 6649314a03
borgbackup: Add missing build dependencies
setuptools-scm is a declared build dependency[1], and pkgconfig will
allow setup to find the required libraries, replacing the need to set
environment variables.

[1]: https://github.com/borgbackup/borg/blob/1.2.4/setup.py#L313

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:14 +08:00
Jeffery To d7bc1deb0e
python-pkgconfig: Add new host-only package
From the README:

pkgconfig is a Python module to interface with the pkg-config command
line tool for Python 3.3+.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:13 +08:00
Paul Fertser 0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
Jeffery To f59b088adb
python-cython: Update to 0.29.34
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-15 19:22:06 +08:00
Quintin Hill 408502ee0a python3-ble2mqtt: add init script
Note that init script won't do much without configuration provided.
The init script comes from the upstream README file.

Also add missing dependency.

Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
2023-04-11 17:24:51 +08:00
Quintin Hill 3f977e711e python3-bleak: bump to 0.20.1
This has a small fix on top of 0.20.0.

Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
2023-04-11 17:24:51 +08:00
Andre Heider 4400e97473 treewide: opt out of LTO usage
These fail to build or packages depending on them do when enabling
CONFIG_USE_LTO.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Andre Heider 565866a472 treewide: refactor to use PKG_BUILD_FLAGS:=no-mips16
See commit 5c545bdb "treewide: replace PKG_USE_MIPS16:=0 with
PKG_BUILD_FLAGS:=no-mips16" on the main repository.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Alexandru Ardelean c59cbd13f3 python-pytz: bump to version 2023.3
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-04-03 10:05:10 +03:00
Alexandru Ardelean 0b0232ed66 pillow: bump to version 9.5.0
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-04-03 10:04:04 +03:00
Jeffery To c3996aff3a
Merge pull request #20657 from jefferyto/python-pyproject-host
python: Add pyproject.toml-based builds for host Python packages, add host packages
2023-03-31 15:51:55 +08:00
Jeffery To 8c2abb7403
python: Better host pip options
pip by default will read system-wide and per-user configuration
files[1]. Setting PIP_CONFIG_FILE=/dev/null instructs pip to not read
any config files[2].

pip will spawn child processes of itself to do work, but not all options
are passed down to the child processes[3]. Setting global options as
environment variables[4] ensures they are passed down to any child
processes.

[1]: https://pip.pypa.io/en/stable/topics/configuration/#configuration-files
[2]: https://pip.pypa.io/en/stable/topics/configuration/#pip-config-file
[3]: https://github.com/pypa/pip/issues/9081#issue-733819665
[4]: https://pip.pypa.io/en/stable/topics/configuration/#environment-variables

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:08:39 +08:00
Jeffery To 6294cf26c7
python-hatch-fancy-pypi-readme: Add new host-only package
From the README:

hatch-fancy-pypi-readme is a Hatch metadata plugin for everyone who
cares about the first impression of their project’s PyPI landing page.
It allows you to define your PyPI project description in terms of
concatenated fragments that are based on static strings, files, and most
importantly: parts of files defined using cut-off points or regular
expressions.

Once you’ve assembled your readme, you can additionally run regular
expression-based substitutions over it. For instance to make relative
links absolute or to linkify users and issue numbers in your changelog.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:08:39 +08:00
Jeffery To fb48859907
python-hatch-vcs: Add new host-only package
From the README:

This provides a plugin for Hatch that uses your preferred version
control system (like Git) to determine project versions.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:08:38 +08:00
Jeffery To 5e832f44fc
python-hatchling: Add new host-only package
From the README:

This is the extensible, standards compliant build backend used by Hatch.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:08:38 +08:00
Jeffery To b453daa336
python-pluggy: Update to 1.0.0, add host build, add myself as maintainer
This also marks python3-pytest as BROKEN (for now) as the in-tree
version is not compatible with this version of pluggy.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:08:38 +08:00
Jeffery To a1cfdba19c
python-pathspec: Add new host-only package
From the README:

pathspec is a utility library for pattern matching of file paths. So far
this only includes Git's wildmatch pattern matching which itself is
derived from Rsync's wildmatch. Git uses wildmatch for its gitignore
files.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:08:34 +08:00
Jeffery To 4465e57e5d
python-editables: Add new host-only package
From the README:

A Python library for creating "editable wheels"

This library supports the building of wheels which, when installed, will
expose packages in a local directory on sys.path in "editable mode". In
other words, changes to the package source will be reflected in the
package visible to Python, without needing a reinstall.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:07:49 +08:00
Jeffery To bbc9b14470
python-flit-scm: Add new host-only package
From the README:

A PEP 518 build backend that uses setuptools_scm to generate a version
file from your version control system, then flit_core to build the
package.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:07:48 +08:00
Jeffery To 82766de815
python-poetry-core: Add new host-only package
From the README:

A PEP 517 build backend implementation developed for Poetry. This
project is intended to be a light weight, fully compliant,
self-contained package allowing PEP 517 compatible build frontends to
build Poetry managed projects.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:07:28 +08:00
Jeffery To 3ee4e7297c
python-setuptools-scm: Add new host-only package
The host build replaces the use of the host pip requirements file. This
also updates the dependants of setuptools-scm to depend on the host
build.

This also removes the toml host pip requirements file as toml is not
used by any other package.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:06:35 +08:00
Jeffery To abf3f3d77c
python-typing-extensions: Add host build
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:06:34 +08:00
Jeffery To aabe27a379
python-cffi: Update to 1.15.1, add host build
The host build replaces the use of the host pip requirements file. This
also updates the dependants of cffi to depend on the host build.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:06:34 +08:00
Jeffery To 8f32fd202e
python-pycparser: Add host build
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:06:34 +08:00
Jeffery To 790beee430
python-ply: Add host build
The host build replaces the use of the host pip requirements file. This
also updates the dependants of ply to depend on the host build.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:06:34 +08:00
Jeffery To dcf551fbcf
python-cython: Add new host-only package
The host build replaces the use of the host pip requirements file. This
also updates the dependants of Cython to depend on the host build.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:06:33 +08:00
Jeffery To afd6f8e445
python-wheel: Add new host-only package
From the README:

This library is the reference implementation of the Python wheel
packaging standard, as defined in PEP 427.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:06:27 +08:00
Jeffery To 34fb0202f9
python-build: Add new host-only package
From the documentation:

A simple, correct PEP 517 build frontend.

build will invoke the PEP 517 hooks to build a distribution package. It
is a simple build tool and does not perform any dependency management.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:01:51 +08:00
Jeffery To f6d68782d9
python-pyproject-hooks: Add new host-only package
From the README:

This is a low-level library for calling build-backends in
pyproject.toml-based project. It provides the basic functionality to
help write tooling that generates distribution files from Python
projects.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:01:51 +08:00
Jeffery To 7d171049fd
python-tomli: Add new host-only package
From the README:

Tomli is a Python library for parsing TOML. Tomli is fully compatible
with TOML v1.0.0.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:01:51 +08:00
Jeffery To e9dd1a1dfc
python-packaging: Update to 23.0, add host build
This also adds myself as maintainer, and marks the target package as
BROKEN (for now) as the update requires proper support for
pyproject.toml-based builds.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:01:51 +08:00
Jeffery To 37caea7c93
python-installer: Add host-only package
From the README:

This is a low-level library for installing a Python package from a wheel
distribution. It provides basic functionality and abstractions for
handling wheels and installing packages from wheels.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:01:35 +08:00
Jeffery To 7bde374538
Merge pull request #20633 from QuintinHill/python-mqtt
Package dependencies for ble2mqtt python package
2023-03-30 12:28:10 +08:00