Commit Graph

2337 Commits

Author SHA1 Message Date
Jeffery To 55df86c7f6 python-pyopenssl: Update to 23.3.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-11-02 18:46:01 -07:00
Jeffery To ddd0f93637 python-charset-normalizer: Update to 3.3.2
This also updates the test.sh script to use an assert.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-11-02 18:45:45 -07:00
Jeffery To db9202ccc5 micropython: Update to 1.21.0, refresh/redo patches
Removed 050-py-stackctrl-fix-gcc-13.patch as it has been merged in the
new version.

This also:

* Add STRIP= (empty value) to skip micropython's stripping step, letting
  the OpenWrt build system control stripping.

* Add a workaround for "variable might be clobbered" warning leading to
  build error on riscv64
  (https://github.com/micropython/micropython/issues/12838).

* Change Build/InstallDev to install host tools into an unversioned
  directory, and update micropython-lib to use the unversioned path.
  There is no need to keep available multiple versions of the host
  tools.

* Add a test.sh script for the packages feed CI.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-11-01 15:57:40 -07:00
Jeffery To 3085608448 micropython-mpremote: Update to 1.21.0, rename package, move into utils
This renames the package to mpremote and moves it into utils, as this is
a command-line utility and not a Python/MicroPython library.

This also adds a test.sh script for the packages feed CI.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-11-02 00:38:21 +08:00
Jeffery To 8b4316f2d5 python-setuptools-rust: Update to 1.8.1, remove patch
0001-Allow-profile-to-be-set-by-SETUPTOOLS_RUST_CARGO_PROFILE-env-variable.patch
has been merged in this version.

This also updates the list of dependencies for the package.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-11-02 00:27:39 +08:00
Jeffery To c4a223ed87 python-cryptography: Update to 41.0.5
This also adds a CPE ID for the package and updates the test.sh script
to use an assert.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-11-02 00:27:30 +08:00
Jeffery To 1fbe4b9a8b python-constantly: Update to 23.10.4, add new build dependency
This also adds a test.sh script for the packages feed CI.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-11-02 00:27:11 +08:00
Jeffery To 8acd006b6e python-versioneer: Add new host-only package
From the README:

This is a tool for managing a recorded version number in
setuptools-based python projects. The goal is to remove the tedious and
error-prone "update the embedded version string" step from your release
process. Making a new release should be as easy as recording a new tag
in your version-control system, and maybe making new tarballs.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-11-02 00:27:11 +08:00
Jeffery To d6d9763e31
pyodbc: Update to 5.0.1, rename source package
This renames the source package to python-pyodbc to match other Python
packages.

This also updates the unixodbc dependency to libodbc, updates the
package title and description, and adds a test.sh script for the
packages feed CI.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-31 12:31:26 +08:00
Jeffery To 668a0f9dd8
pyodbc: Fix segmentation fault
4.0.36 included a change to decimal parsing[1] that requires the decimal
module. Trying to load the pyodbc module without python3-decimal
installed would lead to a segmentation fault.

This adds python3-decimal as a dependency.

This also adds python3-uuid as a dependency as the module can accept and
return uuid objects[2].

[1]: 6b107a2bca
[2]: 2ad7a9ced7

Fixes: f02f3ee8c7 ("pyodbc: Update to 4.0.39")

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-31 12:31:26 +08:00
Jeffery To 624fb95561 python3: Fix building C extensions with setuptools
setuptools provides a local copy of distutils and when building a C
extension, this distutils will add the target LIBDIR (/usr/lib) to the
list of library paths.

If the build system has a libpython3.11.so in /usr/lib, then the linker
will try to link to this shared library and fail.

This adapts 008-distutils-use-python-sysroot.patch for host setuptools
to add the correct library directory.

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

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-30 13:33:07 -07:00
Alexandru Ardelean ce21a91dc2
Merge pull request #22505 from jefferyto/python-pip-23.3.1
python-pip: Update to 23.3.1, redo/refresh patches
2023-10-30 09:05:06 +02:00
Jeffery To 4e94aa7883 python-trove-classifiers: Update to 2023.10.18
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-28 23:06:20 +02:00
Jeffery To 548fdba3fd
python-pip: Update to 23.3.1, redo/refresh patches
001-pyproject-hooks-pyc-fix.patch and 002-pip-runner-pyc-fix.patch are
redone to use source files if they are present.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-26 20:16:42 +08:00
Christian Marangi d191c3d0c4 micropython-lib: move to PCRE2
Add pending patch converting the package to PCRE2.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-10-22 13:26:14 +02:00
Alexandru Ardelean 3be6f6bec9 pillow: bump to version 10.1.0
Add test.sh also.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-10-20 13:02:49 +02:00
Tianling Shen 6640ea8cc4
Merge pull request #22393 from jefferyto/maturin-1.3.0
maturin: Update to 1.3.0, build as Python (host-only) package
2023-10-15 11:51:06 +08:00
Javier Marcet 63fcdee74c python3-texttable: update to version 1.7.0
Signed-off-by: Javier Marcet <javier@marcet.info>
2023-10-14 11:21:21 +08:00
Javier Marcet 5340e9d7d8 python-websocket-client: update to 1.6.4
- 1.6.4
  - Add support for HTTP 307 and 308 redirect codes

- 1.6.3
  - Fix type hints issues
  - Add support for Python beta release 3.12 in CI
  - Add maintainer email in setup.py

Signed-off-by: Javier Marcet <javier@marcet.info>
2023-10-14 11:21:09 +08:00
Jeffery To 783e6f7491
maturin: Update to 1.3.0, build as Python (host-only) package
Python packages that use maturin to build do not call the maturin
program directly; they use the maturin build backend[1]. This build
backend is a Python library provided with maturin that interfaces with
the maturin program.

This changes the maturin package to use the Python build process so that
the build backend is installed correctly.

This also renames the source package to python-maturin and moves it into
the lang/python directory.

[1]: https://www.maturin.rs/#source-distribution

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-14 01:51:09 +08:00
Jeffery To 29ca9797a6
python-setuptools-rust: Set cargo profile from environment variable
This adds a patch (submitted upstream in
https://github.com/PyO3/setuptools-rust/pull/364), to read the profile
to pass to cargo from an environment variable.

This also updates the Python include files to set the environment
variable based on values from rust-values.mk.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-11 15:50:24 +08:00
Jeffery To 9db7284d58
rust: Consolidate cargo environment variables
This consolidates all environment variables for cargo into:

* CARGO_HOST_CONFIG_VARS / CARGO_PKG_CONFIG_VARS

  These contain all cargo-specific environment variables, i.e. without
  "common" variables like CC.

* CARGO_HOST_VARS / CARGO_PKG_VARS (renamed from CARGO_VARS)

  These contain all environment variables to be passed to cargo.

This also:

* Set the CARGO_BUILD_TARGET environment variable instead of using the
  --target command-line option

* Update Python include files to use CARGO_HOST_CONFIG_VARS /
  CARGO_PKG_CONFIG_VARS

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-11 15:50:23 +08:00
Jeffery To 49aaf19c65
rust: Install to $(STAGING_DIR)/host
This allows rustc/cargo/etc to be called without having to set PATH, as
$(STAGING_DIR)/host/bin is already in PATH.

This also fixes CARGO_HOME not being set during Host/Configure and
Host/Compile.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-11 15:50:22 +08:00
Jeffery To 7e8f7b28d7 python-zope-interface: Update to 6.1, refresh patch
This also updates the list of dependencies and adds a test.sh script for
the packages feed CI.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-11 09:09:31 +02:00
Fabian Lipken 325ecf9fac python-pycares: bump to 4.4.0
Signed-off-by: Fabian Lipken <dynasticorpheus@gmail.com>
2023-10-11 09:49:14 +08:00
Jeffery To 2aba43afe9
python3: Update to 3.11.6, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-09 09:20:50 +08:00
Jeffery To f53a2ea2fb
Merge pull request #22306 from cotequeiroz/python3-rebuild
python3: avoid unnecessary rebuilds
2023-10-07 18:57:01 +08:00
Alexandru Ardelean 3b9abf7836
Merge pull request #22301 from cotequeiroz/pymysql_sha256
pymysql: add meta-package for sha256 support
2023-10-06 09:34:00 +03:00
Jeffery To 00841f9873 python-twisted: Update to 23.8.0, rework patches
The package changed to the hatchling build backend.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-05 14:37:27 -07:00
Eneas U de Queiroz 79b173a0c5
pymysql: add meta-package for sha256 support
Replace the PYTHON3_PYMYSQL_SHA_PASSWORD_SUPPORT option, which is
causing circular dependencies, with a meta-package that installs both
python3-pymysql and python3-cryptography.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2023-10-05 15:52:07 -03:00
Eneas U de Queiroz c230d7bd7f
python3: avoid unnecessary rebuilds
Move the order in which BuildPackage is called, so that the libpython
package is built ahead of the module packages, to avoid forcing a
clean-build of the package when 'make package/python3/compile' is called
a second time without changes.

The library must be built first, so that when the buildsystem checks for
ABI version changes using libpython3.version, its timestamp should be
older than the dependent package's STAMP_PREPARED file.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2023-10-04 16:52:27 -03:00
Jeffery To 78bcdd0fd1 python-packaging: Update to 23.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-03 16:55:10 -07:00
Alexandru Ardelean 2a5707511f
Merge pull request #22284 from jefferyto/python-charset-normalizer-3.3.0
python-charset-normalizer: Update to 3.3.0
2023-10-03 20:15:23 +03:00
Jeffery To 85540346fe
python-charset-normalizer: Update to 3.3.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-03 22:54:02 +08:00
Jeffery To dd5af62695
python-cffi: Update to 1.16.0
This includes a patch to unpin the version of setuptools required for
build; the required version is newer than the version bundled with
Python 3.11. This patch should not be necessary when Python 3.12 is
available.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-03 22:35:59 +08:00
Jeffery To 6b3da46777 python-bcrypt: Update to 4.0.1, add myself as maintainer
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-02 19:14:10 +08:00
Jeffery To bb278a015c python-pyopenssl: Update to 23.2.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-02 19:14:01 +08:00
Jeffery To 9fdff3ea94 python-cryptography: Update to 41.0.4
This includes a patch to update the version of ouroboros (Rust crate)
used, to fix RUSTSEC-2023-0042[1]. Upstream has switch from ouroboros to
self_cell so this patch should only be necessary for cryptography 41.

[1]: https://rustsec.org/advisories/RUSTSEC-2023-0042.html

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-27 16:40:55 -07:00
Jeffery To 4d43be8549 python: Add environment variables to build Rust extensions
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-27 16:40:55 -07:00
Jeffery To f467f47f0c python-setuptools-rust: Add new host-only package
From the README:

setuptools-rust is a plugin for setuptools to build Rust Python
extensions implemented with PyO3 or rust-cpython.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-27 16:40:55 -07:00
Jeffery To b078e01f0c 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>
2023-09-27 16:40:55 -07:00
Jeffery To cb8648679b python-typing-extensions: Update to 4.8.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-27 16:40:21 -07:00
Jeffery To 423235b40a python-trove-classifiers: Update to 2023.9.19
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-27 16:40:11 -07:00
Jeffery To c12e4e873d python-setuptools: Update to 68.2.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-27 16:39:52 -07:00
Jeffery To 0434413108 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>
2023-09-23 18:43:37 -07:00
Jeffery To 49af2d58ac python-exceptiongroup: Remove package
There are no longer any packages in the packages repo that depend on
this package. Since this package backports exception groups from Python
3.11, and Python in the packages repo has been updated to 3.11, there
should be no future need for this package.

This package will be added to the abandoned packages feed.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-23 18:43:19 -07:00
Jeffery To 77cebb0d03 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>
2023-09-22 00:25:02 +02:00
Jeffery To e309346104 python-setuptools: Update to 68.2.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-14 21:38:03 +08:00
Jeffery To 21eb9b7456 python-build: Update to 1.0.3
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-14 21:37:51 +08:00
Alexandru Ardelean 9ca55bf34f
Merge pull request #22072 from commodo/python-updates1
chardet,numpy,django: bump versions
2023-09-10 20:02:01 +03:00
Alexandru Ardelean cac6c53d2e
Merge pull request #22043 from jefferyto/python-crcmod-package-section
python-crcmod: Fix package section
2023-09-10 16:18:35 +03:00
Alexandru Ardelean 46523843b9
Merge pull request #22030 from BKPepe/retake-packages
treewide: take maintainership from Karel
2023-09-10 16:17:11 +03:00
Alexandru Ardelean 681651db4f
Merge pull request #22039 from jefferyto/xmltodict-0.13.0
xmltodict: Update to 0.13.0, rename source package
2023-09-10 16:14:59 +03:00
Alexandru Ardelean d94a5cf585
Merge pull request #22038 from jefferyto/ruamel-yaml-0.17.32
ruamel-yaml: Update to 0.17.32, rename source package
2023-09-10 16:14:41 +03:00
Alexandru Ardelean ff83a84449
Merge pull request #22037 from jefferyto/python-zipp-3.16.2
python-zipp: Update to 3.16.2, update list of dependencies
2023-09-10 16:14:15 +03:00
Alexandru Ardelean f3f7f213e9
Merge pull request #22036 from jefferyto/python-zeroconf-0.97.0
python-zeroconf: Update to 0.97.0, update list of dependencies
2023-09-10 16:14:00 +03:00
Alexandru Ardelean 6cccbc7449
Merge pull request #22035 from jefferyto/python-yaml-6.0.1
python-yaml: Update to 6.0.1
2023-09-10 16:13:22 +03:00
Alexandru Ardelean 5215f65cd3
Merge pull request #22034 from jefferyto/python-build-1.0.0
python-build: Update to 1.0.0
2023-09-10 16:12:18 +03:00
Alexandru Ardelean 34ddaf88b4
Merge pull request #22041 from jefferyto/python-cryptodomex-3.18.0
python-cryptodomex: Update to 3.18.0, refresh patches
2023-09-10 16:11:52 +03:00
Alexandru Ardelean e5d80255bd
Merge pull request #22040 from jefferyto/python-cryptodome-3.18.0
python-cryptodome: Update to 3.18.0, refresh patches
2023-09-10 16:11:40 +03:00
Alexandru Ardelean ace91d3331
Merge pull request #22042 from jefferyto/python-pyserial-3.5
python-pyserial: Update to 3.5, update list of dependencies
2023-09-10 16:11:07 +03:00
Alexandru Ardelean 331b5f75f4 django: bump to version 4.2.5
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-09-09 13:46:11 +03:00
Alexandru Ardelean 50e655df8b numpy: bump to version 1.25.2
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-09-09 11:30:07 +03:00
Alexandru Ardelean 40a06febd2 python-chardet: bump to 5.2.0
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-09-09 11:27:37 +03:00
Jeffery To e42c845039 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>
2023-09-08 19:01:47 +08:00
Jeffery To 8e5ca3fc3e
python-crcmod: Fix package section
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-05 06:16:35 +08:00
Jeffery To 4f3a0fe623
python-pyserial: Update to 3.5, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-05 06:13:50 +08:00
Jeffery To a1b3595550
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>
2023-09-05 06:09:42 +08:00
Jeffery To 03f1f4b9bb
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>
2023-09-05 06:02:25 +08:00
Jeffery To 4872c32580
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>
2023-09-05 05:57:23 +08:00
Jeffery To fdff92f085
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>
2023-09-05 05:48:07 +08:00
Jeffery To 202140aeff
python-zipp: Update to 3.16.2, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-05 05:42:13 +08:00
Jeffery To 8957d34d09
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>
2023-09-05 05:34:46 +08:00
Jeffery To 60315a6638
python-yaml: Update to 6.0.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-05 05:29:19 +08:00
Jeffery To ba17298db5
python-build: Update to 1.0.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-05 03:38:58 +08:00
Josef Schlehofer 1e1b2051db 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>
2023-09-04 16:02:56 +02:00
Josef Schlehofer 14bb23f930 treewide: take maintainership from Karel
Both of us were working for Turris and using these devices on daily basis.
A few of these packages are still required and used by Turris. It would be great if
Turris people will take maintainership of these packages, but if they decide not to,
I can step in and take them.

Since Karel switched from using OpenWrt to NixOS and hopefully, I didn't reveal some
secret here, let's take maintainership of his packages.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2023-09-04 11:08:43 +02:00
Jeffery To 98453732e2 python-websockets: Update to 11.0.3, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-04 14:34:24 +08:00
Jeffery To 3684df0dc3 python-wcwidth: Update to 0.2.6
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-04 14:34:17 +08:00
Jeffery To 92d49899e4 python-voluptuous-serialize: Update to 2.6.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-04 14:34:11 +08:00
Jeffery To 6c7a53bd7d python-voluptuous: Update to 0.13.1, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-04 14:34:03 +08:00
Jeffery To 1b2811920a python-urllib3: Update to 2.0.4
The package changed to the hatchling build backend.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-04 14:33:57 +08:00
Jeffery To 99d8554bcd python-ubus: Update to 0.1.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-04 14:33:49 +08:00
Javier Marcet 49ea9e0412 python-websocket-client: update to 1.6.2
- Add support for SSLKEYLOGFILE environment variable
 - Add support for callable header arguments
 - Change handling of proxy environment variables, is_secure set to
 true now prevents http_proxy from getting used

Signed-off-by: Javier Marcet <javier@marcet.info>
2023-09-03 22:58:53 +08:00
Quintin Hill 71c04c46ee python-ble2mqtt: update to 0.2.0
Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
2023-09-03 22:58:24 +08:00
Quintin Hill ac1c95d189 python-dbus-fast: update to 1.94.1
Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
2023-09-03 22:58:24 +08:00
Jeffery To 0b99bec49b python-wheel: Update to 0.41.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-31 16:16:19 +08:00
Jeffery To 88632b7b64 python-pluggy: Update to 1.3.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-31 16:16:07 +08:00
Jeffery To 6b6ea7efe1 python-trio: Update to 0.22.2, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-31 16:15:37 +08:00
Jeffery To e7a8d18385 python-tornado: Update to 6.3.3, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-31 16:15:12 +08:00
Jeffery To 8b6a817af2 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>
2023-08-31 16:14:50 +08:00
Jeffery To 1ec68a6e98 python-slugify: Update to 8.0.1, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-31 16:14:29 +08:00
Jeffery To f279ae9418 python-sentry-sdk: Update to 1.29.2, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-31 16:14:08 +08:00
Jeffery To 8c7709b911 python-schema: Update to 0.7.5
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-31 16:13:49 +08:00
Jeffery To 53dadf2c50 python-schedule: Update to 1.2.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-31 16:13:37 +08:00
Jeffery To a694ed7b0c 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>
2023-08-31 16:13:21 +08:00
Alexandru Ardelean 11ae2c3061
Merge pull request #21552 from jefferyto/python-platform-triplet
python3: Restore platform triplet to paths
2023-08-31 07:59:57 +03:00
Quintin Hill 8dc77f3267 python-ble2mqtt: update to 0.1.9
Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
2023-08-28 08:54:07 +08:00
Quintin Hill b915dbb7a2 python-dbus-fast: update to 1.93.0
Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
2023-08-28 08:54:07 +08:00
Jeffery To 0fe1011420
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>
2023-08-25 02:24:38 +08:00
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