Commit Graph

1935 Commits

Author SHA1 Message Date
Jeffery To
491610d2ec python-botocore: Update to 1.31.7, update dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 3d83c5c8d6)
2024-05-29 17:04:09 +02:00
Jeffery To
7f5443fd82 python-s3transfer: Update to 0.6.1, update dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 1ac094d012)
2024-05-29 17:03:47 +02:00
Jeffery To
f185287f13 python-boto3: Update to 1.28.7, update dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 182eaed42d)
2024-05-29 17:03:28 +02:00
Jeffery To
3f6428a026 python-awscli: Update to 1.29.7, update dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 211724c3fc)
2024-05-29 17:03:07 +02:00
Fabrice Fontaine
87cf217806 treewide: assign PKG_CPE_ID
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
(cherry picked from commit 5afe5c9031)
2024-03-19 13:28:12 +01:00
Alexandru Ardelean
593f5c2afc numpy: bump version to 1.24.3
Need to also fix build for GCC 13 + musl.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit 8f176e30f3)
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2023-11-23 15:04:05 +01:00
Jeffery To
6543a67e59 python-poetry-core: Update to 1.7.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit bc32e54713)
2023-11-04 22:34:04 +01:00
Jeffery To
e354dbfd51 python-poetry-core: Update to 1.6.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit ac59c69237)
2023-11-04 22:33:59 +01:00
Jeffery To
d43972744d 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>
(cherry picked from commit f4a18fbd3d)
2023-11-02 22:45:34 +01:00
Jeffery To
9c4447a227 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>
(cherry picked from commit 3cee44d888)
2023-11-02 11:20:41 +01:00
Jeffery To
400936a98c 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>
(cherry picked from commit 5cafab68ff)
2023-11-02 11:20:32 +01:00
Jeffery To
ca0cbe1e97 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>
(cherry picked from commit 8d331953f3)
2023-11-02 11:20:25 +01:00
Jeffery To
18ce57bb6d 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>
(cherry picked from commit 2c54b7637e)
2023-11-02 11:10:37 +01:00
Jeffery To
dd019cb9bd python-ubus: Update to 0.1.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 99d8554bcd)
2023-11-02 01:48:13 +01:00
Jeffery To
436bca63d7 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>
(cherry picked from commit 4a7173d27d)
2023-11-02 01:47:32 +01:00
Jeffery To
12028f6043 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>
(cherry picked from commit bcba053fb0)
2023-11-02 01:43:27 +01:00
Jeffery To
5171a8341a 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>
(cherry picked from commit 7dc6b103c5)
2023-11-02 01:37:57 +01:00
Jeffery To
897e1e12d1 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>
(cherry picked from commit a1cfdba19c)
2023-11-02 01:36:49 +01:00
Jeffery To
f42d8f7e19 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>
(cherry picked from commit 4465e57e5d)
2023-11-02 01:36:27 +01:00
Josef Schlehofer
13529ea17f Revert "python-libraries: Force old build process"
This commit was already applied 3 weeks ago in d640b11160, thus I bring it once again back, which was mistake as it was redone in 903003695a.

This reverts commit 60f0e661c5.
2023-11-02 01:19:51 +01:00
Jeffery To
a61e86e982 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>
(cherry picked from commit 107e037763)
2023-11-02 01:14:01 +01:00
Jeffery To
1b3fa88251 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>
(cherry picked from commit 7734502693)
2023-11-02 01:14:01 +01:00
Jeffery To
c5224c74d1 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>
(cherry picked from commit 628202d269)
2023-11-02 01:14:01 +01:00
Jeffery To
60f0e661c5 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>
(cherry picked from commit e6ae9e29d5)
2023-11-02 01:14:01 +01:00
Jeffery To
36b997a113 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>
(cherry picked from commit 56b10770fc)
2023-11-02 01:14:01 +01:00
Jeffery To
faaf36ed35 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>
(cherry picked from commit 17d5bf224c)
2023-11-02 01:14:01 +01:00
Jeffery To
ee6708a027 python-jsonschema: Add build dependencies
These will be required for pyproject.toml-based builds.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit b1a8e4769f)
2023-11-02 01:14:01 +01:00
Jeffery To
43e34d9b7d 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>
(cherry picked from commit 59b7a81964)
2023-11-02 01:14:01 +01:00
Jeffery To
d8b19b3df4 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>
(cherry picked from commit 68c0c77df6)
2023-11-02 01:14:01 +01:00
Jeffery To
c97f1fe239 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>
(cherry picked from commit 0b5091bbff)
2023-11-02 01:14:01 +01:00
Jeffery To
ad0abb4159 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>
(cherry picked from commit 1a1b444571)
2023-11-02 01:14:01 +01:00
Jeffery To
7442839f3a 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>
(cherry picked from commit 6649314a03)
2023-11-02 01:14:01 +01:00
Jeffery To
7e763dc59d python-incremental: Update to 22.10.0, redo patch, add host build
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 8d81b67327)
2023-10-31 23:05:43 +01:00
Jeffery To
8d550f045f python-pytest: Update to 7.3.0
This also removes BROKEN from the package.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit c7820e4fb1)
2023-10-31 23:04:01 +01:00
Jeffery To
1a022f0173 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>
(cherry picked from commit b453daa336)
2023-10-31 23:03:33 +01:00
Jeffery To
2ea50079ad 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>
(cherry picked from commit bbc9b14470)
2023-10-31 23:01:55 +01:00
Jeffery To
9640b39608 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>
(cherry picked from commit 550c29368e)
2023-10-31 22:53:56 +01:00
Jeffery To
d422140731 python-poetry-core: Update to 1.6.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 626c7efda9)
2023-10-31 22:50:16 +01:00
Jeffery To
f48791c906 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>
(cherry picked from commit 82766de815)
2023-10-31 22:50:10 +01:00
Jeffery To
cef09e1fbe 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>
(cherry picked from commit d7bc1deb0e)
2023-10-31 22:49:24 +01:00
Jeffery To
8b982ebc56 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>
(cherry picked from commit 5156c0c82b)
2023-10-31 10:03:43 +01:00
Jeffery To
6a390b09c3 python-typing-extensions: Add host build
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit abf3f3d77c)
2023-10-23 17:26:28 +02:00
Jeffery To
9bb9351976 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>
(cherry picked from commit 7d171049fd)
2023-10-23 17:25:17 +02:00
Jeffery To
088b51202a 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>
(cherry picked from commit dd5af62695)
2023-10-17 21:03:22 +02:00
Jeffery To
d87f162d21 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>
(cherry picked from commit 3def783d3c)
2023-10-17 21:00:27 +02:00
Jeffery To
d2b55246bd python-wheel: Update to 0.41.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 6e1785d148)
2023-10-17 20:57:58 +02:00
Jeffery To
42bff8d7d6 python-hatchling: Update to 1.17.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit fdc320dc0c)
2023-10-17 20:41:58 +02:00
Jeffery To
6b2dafb2f0 python-hatchling: Update to 1.14.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 54c1303dc4)
2023-10-17 20:41:53 +02:00
Jeffery To
2943516016 python-hatchling: Update to 1.14.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit fe0dc6f48a)
2023-10-17 20:41:48 +02:00
Alexandru Ardelean
cb38274d9c python-requests: bump to version 2.31.0
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
(cherry picked from commit 04774bb720)
2023-10-17 20:40:05 +02:00