Commit Graph

7 Commits (master)

Author SHA1 Message Date
Daniel Golle 3ecb72def5 python-maturin: use the build system's Rust support
Include rust-values.mk of the build system and build from a vendor
tarball generated from the PyPI archive, so that cargo builds offline.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-11-02 07:41:54 +00:00
Daniel Golle 9150b5ddf8 python: include rust-values.mk in the Rust packages only
python3-host.mk includes the Rust values of lang/rust for every Python
package. The build system's cmake.mk and meson.mk react to Rust
variables, so packages without any Rust in them get Rust settings, and a
Python package moving to the build system's Rust toolchain would get
both sets of values.

Include rust-values.mk in the six packages that use its variables. The
variables in PYTHON3_VARS and HOST_PYTHON3_VARS are expanded late, so
the place of the include does not matter.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-11-02 07:41:54 +00:00
Alexandru Ardelean 6719605959 python-maturin: update to 1.15.0
cryptography 50.0.2 requires "maturin>=1.14.1,<2" as its build
backend, which 1.13.1 does not satisfy.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-10-12 12:43:40 +03:00
Alexandru Ardelean 32848551ae python-maturin: update to 1.13.1
Bump version 1.12.6 -> 1.13.1.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-14 08:02:25 +03:00
Alexandru Ardelean b9811de28b python-maturin: bump to 1.12.6
Needed by python-cryptography 46.x, which switched its build backend
from setuptools-rust to maturin (requires maturin >= 1.9.4).

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-05 15:03:06 +03:00
Josef Schlehofer 1eaeb4cfb6 python-maturin: update to version 1.9.6
Release notes:
https://github.com/PyO3/maturin/releases/tag/v1.9.6

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-11-25 13:38:44 +02: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