Commit graph

2267 commits

Author SHA1 Message Date
Jeffery To
5f829ad162 python-cryptography: Update to 41.0.7
41.0.6 included a fix for CVE-2023-49083 (loading certificates from a
PKCS#7 bundle could lead to a null-pointer-dereference and segfault).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-12-07 15:07:29 +08:00
Jeffery To
4e60ea6d3d python-bcrypt: Update to 4.1.1
This also updates the test.sh script to use an assert.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-12-07 15:07:18 +08:00
Jeffery To
06d839d9ca pipx: Update to 1.3.2, add new dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-12-07 15:07:05 +08:00
Jeffery To
5e1b12e55e python-platformdirs: Add new package
This also includes a test.sh script for the packages feed CI.

From the README:

When writing desktop application, finding the right location to store
user data and configuration varies per platform. Even for
single-platform apps, there may by plenty of nuances in figuring out the
right location.

This kind of thing is what the platformdirs package is for.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-12-07 15:07:05 +08:00
Jeffery To
cd79a679ef python-trove-classifiers: Update to 2023.11.29
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-12-04 11:10:46 +01:00
Jeffery To
72c63100aa python-wheel: Update to 0.42.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-11-30 12:58:35 +08:00
Jeffery To
b52fd3aa3a python-setuptools: Update to 69.0.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-11-30 12:58:25 +08:00
Jeffery To
c65f7c66eb python-pyasn1: Update to 0.5.1
This also adds a test.sh script for the packages feed CI.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-11-30 12:58:15 +08:00
Jeffery To
7d1febb77f python-idna: Update to 3.6
This also adds a test.sh script for the packages feed CI.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-11-30 12:58:06 +08:00
Jeffery To
36eb48465b python-jsonschema: Update to 4.19.1, update list of dependencies
This also adds a test.sh script for the packages feed CI.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-11-30 12:57:27 +08:00
Jeffery To
ebb69c5c17 python-jsonschema-specifications: Add new package
From the README:

JSON support files from the JSON Schema Specifications (metaschemas,
vocabularies, etc.), packaged for runtime access from Python as a
referencing-based Schema Registry.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-11-30 12:57:27 +08:00
Jeffery To
728aac31bb python-referencing: Add new package
From the README:

An implementation-agnostic implementation of JSON reference resolution.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-11-30 12:57:27 +08:00
Jeffery To
06231ce8cb python-rpds-py: Add new package
From the README:

Python bindings to the Rust rpds crate for persistent data structures.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-11-30 12:57:27 +08:00
Jeffery To
028108b9a5 python-trove-classifiers: Update to 2023.11.14
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-11-24 20:41:02 +08:00
Jeffery To
08c07ed258 python-argcomplete: Update to 3.1.6
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-11-24 20:40:51 +08:00
Jeffery To
f5ebf9fafe
Merge pull request #22625 from ecammit/python_requirements_for_homeassistant
Added python-fnv-hash-fast, python-lru-dict, and python-orjson
2023-11-21 12:34:08 +08:00
Timothy M. Ace
96ce3b51a4 python-orjson: Added for v3.9.10
Signed-off-by: Timothy M. Ace <openwrt@timothyace.com>
2023-11-20 09:58:42 -05:00
Timothy M. Ace
cbae8db987 python-lru-dict: Added for v1.3.0
Signed-off-by: Timothy M. Ace <openwrt@timothyace.com>
2023-11-20 09:58:32 -05:00
Timothy M. Ace
f0f3882737 python-fnv-hash-fast: Added for v0.5.0
Signed-off-by: Timothy M. Ace <openwrt@timothyace.com>
2023-11-16 09:36:10 -05:00
Timothy M. Ace
a26395dce3 python-fnvhash: Added for v0.1.0
Signed-off-by: Timothy M. Ace <openwrt@timothyace.com>
2023-11-16 09:35:15 -05:00
Jeffery To
72b0da3d03 pipx: Add new package
From the README:

pipx is a tool to help you install and run end-user applications written
in Python. It's roughly similar to macOS's brew, JavaScript's npx, and
Linux's apt.

It's closely related to pip. In fact, it uses pip, but is focused on
installing and managing Python packages that can be run from the command
line directly as applications.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-11-16 02:30:21 +08:00
Jeffery To
5b3e4a4b3f python-userpath: Add new package
The patches have been submitted upstream in
https://github.com/ofek/userpath/pull/52 and
https://github.com/ofek/userpath/pull/53.

From the README:

This is a tool for modifying a user's PATH.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-11-16 02:30:21 +08:00
Jeffery To
b354a7edbe python-argcomplete: Add new package
From the README:

Argcomplete provides easy, extensible command line tab completion of
arguments for your Python application.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-11-16 02:30:21 +08:00
Jeffery To
a317ea2831 python-twisted: Update to 23.10.0, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-11-16 02:20:59 +08:00
Jeffery To
1e4e35b765 python-wheel: Update to 0.41.3
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-11-16 02:20:48 +08:00
Jeffery To
7c68e41ec8 python-poetry-core: Update to 1.8.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-11-16 02:20:39 +08:00
Jeffery To
570bbc3885 python-trove-classifiers: Update to 2023.11.9
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-11-16 02:19:50 +08:00
Jeffery To
dbbb577956 python-mako: Update to 1.3.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-11-16 02:19:41 +08:00
Jeffery To
c9a9c20793 python-hatch-vcs: Update to 0.4.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-11-16 02:19:09 +08:00
Jeffery To
298fd20375 micropython-lib: Update to latest version, remove patch
Remove 004-unix-ffi-re-convert-to-PCRE2.patch as it has been merged in
this version.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-11-06 10:56:09 -08:00
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