Files
poky/meta/recipes-devtools/python/python3-maturin_1.6.0.bb
Tim Orling 43f7fde774 python3-maturin: upgrade 1.5.1 -> 1.6.0
* Refresh python3-maturin-crates.inc

1.6.0 - 2024-06-04
* Detect compiling from Linux gnu to Linux musl as cross compiling in #2010
* Add musllinux support to generate-ci in #2011
* Add uv support to develop command in #2015
* Add support for AIX target in #2030
* Remove rust-cpython support in #2044
* Add a global -v option in #2080
* Detect target based on interpreter for pep517 build-wheel in #2088
* Use base executable when possible in PEP 517 build in #2094

https://github.com/pyo3/maturin/compare/v1.5.1...v1.6.0

(From OE-Core rev: 6bfea504150466bb04c47eee834bdcc2c622f26e)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-06 11:56:04 +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] = "b955025c24c8babc808db49e0ff90db8b4b1320dcc16b14eb26132841737230d"
S = "${WORKDIR}/maturin-${PV}"
CFLAGS:append = " -fdebug-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"