summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-maturin_1.9.4.bb
diff options
context:
space:
mode:
authorTim Orling <tim.orling@konsulko.com>2025-09-02 14:46:25 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-09-08 14:05:11 +0100
commit102dc28052799c10fd309677e2d29553a7e4c869 (patch)
treec4da67e37cf27af85ef9efef5c1b16b1b3bf2397 /meta/recipes-devtools/python/python3-maturin_1.9.4.bb
parentffed74363d710e505a01c1d65c12b88fd4840635 (diff)
downloadpoky-102dc28052799c10fd309677e2d29553a7e4c869.tar.gz
python3-maturin: upgrade 1.9.3 -> 1.9.4
1.9.4: * Add a use-base-python option to pyproject.toml with the same behaviour as MATURIN_PEP517_USE_BASE_PYTHON. * Add builtin sysconfigs for GraalPy * Fix calculation of platform tag for FreeBSD https://github.com/PyO3/maturin/blob/main/Changelog.md#194 Comparing Changes: https://github.com/PyO3/maturin/compare/v1.9.3...v1.9.4 (From OE-Core rev: 445a6a281f5101acc34b5779a6b67d7ada80c6e2) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-maturin_1.9.4.bb')
-rw-r--r--meta/recipes-devtools/python/python3-maturin_1.9.4.bb42
1 files changed, 42 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-maturin_1.9.4.bb b/meta/recipes-devtools/python/python3-maturin_1.9.4.bb
new file mode 100644
index 0000000000..f47c8061bb
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-maturin_1.9.4.bb
@@ -0,0 +1,42 @@
1SUMMARY = "Build and publish crates with pyo3, rust-cpython, cffi bindings and rust binaries as python packages"
2HOMEPAGE = "https://github.com/pyo3/maturin"
3SECTION = "devel/python"
4LICENSE = "MIT | Apache-2.0"
5LIC_FILES_CHKSUM = "file://license-apache;md5=1836efb2eb779966696f473ee8540542 \
6 file://license-mit;md5=85fd3b67069cff784d98ebfc7d5c0797"
7
8SRC_URI[sha256sum] = "235163a0c99bc6f380fb8786c04fd14dcf6cd622ff295ea3de525015e6ac40cf"
9
10S = "${UNPACKDIR}/maturin-${PV}"
11
12CFLAGS += "-ffile-prefix-map=${CARGO_HOME}=${TARGET_DBGSRC_DIR}/cargo_home"
13
14DEPENDS += "\
15 python3-setuptools-rust-native \
16 python3-semantic-version-native \
17 python3-setuptools-rust \
18"
19
20require ${BPN}-crates.inc
21
22inherit pypi cargo-update-recipe-crates python_pyo3 python_setuptools_build_meta
23
24do_configure() {
25 python_pyo3_do_configure
26 cargo_common_do_configure
27 python_pep517_do_configure
28}
29
30RDEPENDS:${PN} += "\
31 cargo \
32 python3-json \
33 rust \
34"
35
36RRECOMMENDS:${PN} += "\
37 python3-ensurepip \
38 python3-pip \
39 python3-venv \
40"
41
42BBCLASSEXTEND = "native nativesdk"