mirror of
https://git.yoctoproject.org/poky
synced 2026-02-06 00:38:45 +01:00
* Drop riscv-32 patch (merged in 1.5.0)
* Refresh ${BPN}-crates.inc
1.5.1 - 2024-03-21
* Fix usage of --compatibility when run as a PEP517 backend in #1992
* Fix upload returning malformed summary error in #2002
1.5.0 - 2024-03-05
* Bump metadata version from 2.1 to 2.3 in #1965. Source distributions
created by maturin now have reliable metadata, meaning tool such as
pip, uv and poetry could skip building them for version resolution.
* Allow identical VIRTUAL_ENV and CONDA_PREFIX env vars in #1879
* Reject -i python when cross compiling in #1891
* Support uniffi-bindgen in cargo workspaces in #1909
* Add support for configuring xwin using env vars in #1961
* Add validation for crate/package name in new/init in #1943
* Add 32-bit RISC-V support in #1969
* Improve import hook changes in #1958
* Adjust cbindgen Overrides for CFFI in #1957
https://github.com/PyO3/maturin/compare/v1.4.0...v1.5.1
(From OE-Core rev: 6dd2ad8cce1eb38ace7e69fc51f9fe047e6e28f1)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
43 lines
1.1 KiB
BlitzBasic
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] = "3dd834ece80edb866af18cbd4635e0ecac40139c726428d5f1849ae154b26dca"
|
|
|
|
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"
|