From 102dc28052799c10fd309677e2d29553a7e4c869 Mon Sep 17 00:00:00 2001 From: Tim Orling Date: Tue, 2 Sep 2025 14:46:25 -0700 Subject: 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 Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- .../python/python3-maturin_1.9.3.bb | 42 ---------------------- .../python/python3-maturin_1.9.4.bb | 42 ++++++++++++++++++++++ 2 files changed, 42 insertions(+), 42 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-maturin_1.9.3.bb create mode 100644 meta/recipes-devtools/python/python3-maturin_1.9.4.bb (limited to 'meta/recipes-devtools/python') diff --git a/meta/recipes-devtools/python/python3-maturin_1.9.3.bb b/meta/recipes-devtools/python/python3-maturin_1.9.3.bb deleted file mode 100644 index eca474af66..0000000000 --- a/meta/recipes-devtools/python/python3-maturin_1.9.3.bb +++ /dev/null @@ -1,42 +0,0 @@ -SUMMARY = "Build and publish crates with pyo3, rust-cpython, cffi bindings and rust binaries as python packages" -HOMEPAGE = "https://github.com/pyo3/maturin" -SECTION = "devel/python" -LICENSE = "MIT | Apache-2.0" -LIC_FILES_CHKSUM = "file://license-apache;md5=1836efb2eb779966696f473ee8540542 \ - file://license-mit;md5=85fd3b67069cff784d98ebfc7d5c0797" - -SRC_URI[sha256sum] = "267ac8d0471d1ee2320b8b2ee36f400a32cd2492d7becbd0d976bd3503c2f69b" - -S = "${UNPACKDIR}/maturin-${PV}" - -CFLAGS += "-ffile-prefix-map=${CARGO_HOME}=${TARGET_DBGSRC_DIR}/cargo_home" - -DEPENDS += "\ - python3-setuptools-rust-native \ - python3-semantic-version-native \ - python3-setuptools-rust \ -" - -require ${BPN}-crates.inc - -inherit pypi cargo-update-recipe-crates python_pyo3 python_setuptools_build_meta - -do_configure() { - python_pyo3_do_configure - cargo_common_do_configure - python_pep517_do_configure -} - -RDEPENDS:${PN} += "\ - cargo \ - python3-json \ - rust \ -" - -RRECOMMENDS:${PN} += "\ - python3-ensurepip \ - python3-pip \ - python3-venv \ -" - -BBCLASSEXTEND = "native nativesdk" 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 @@ +SUMMARY = "Build and publish crates with pyo3, rust-cpython, cffi bindings and rust binaries as python packages" +HOMEPAGE = "https://github.com/pyo3/maturin" +SECTION = "devel/python" +LICENSE = "MIT | Apache-2.0" +LIC_FILES_CHKSUM = "file://license-apache;md5=1836efb2eb779966696f473ee8540542 \ + file://license-mit;md5=85fd3b67069cff784d98ebfc7d5c0797" + +SRC_URI[sha256sum] = "235163a0c99bc6f380fb8786c04fd14dcf6cd622ff295ea3de525015e6ac40cf" + +S = "${UNPACKDIR}/maturin-${PV}" + +CFLAGS += "-ffile-prefix-map=${CARGO_HOME}=${TARGET_DBGSRC_DIR}/cargo_home" + +DEPENDS += "\ + python3-setuptools-rust-native \ + python3-semantic-version-native \ + python3-setuptools-rust \ +" + +require ${BPN}-crates.inc + +inherit pypi cargo-update-recipe-crates python_pyo3 python_setuptools_build_meta + +do_configure() { + python_pyo3_do_configure + cargo_common_do_configure + python_pep517_do_configure +} + +RDEPENDS:${PN} += "\ + cargo \ + python3-json \ + rust \ +" + +RRECOMMENDS:${PN} += "\ + python3-ensurepip \ + python3-pip \ + python3-venv \ +" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf