poky/meta/recipes-devtools/python/python3-maturin_1.9.0.bb
Tim Orling dd5f43145a python3-maturin: upgrade 1.8.7 -> 1.9.0
* Update crates

1.9.0
* Add full PEP 639 support for project.license and project.license-files
  in #2647.
* Add --compatiblity pypi to only build wheels with platform tags that can
  also be uploaded to PyPI. This blocks e.g. building for riscv64, which is
  supported by manylinux, but not by PyPI.

Comparing changes from v1.8.7 -> v1.9.0:
https://github.com/pyo3/maturin/compare/v1.8.7...v1.9.0

(From OE-Core rev: 4b8a23ed81ef08de8542da59027c929ad623e804)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 11:02:34 +01:00

43 lines
1.1 KiB
BlitzBasic

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] = "ccb9cb87f8df88d1bab8f49efe3fc77f0abb0639ea4b4ebf4f35549200d16b9e"
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"