mirror of
https://git.yoctoproject.org/poky
synced 2026-02-07 09:16:36 +01:00
0001-build_context-improve-wheel-reproducibility-by-sorti.patch removed since it's included in 1.7.8 Changelog: ========== - Fix aarch64 Windows cross compilation - [pre-commit.ci] pre-commit autoupdate - Fix aarch64 Windows cross compilation - fix abi3 interpreter discovery on Windows - fix: remove extra indent in generated CI - Upgrade cargo-xwin to unify rustls versions - Normalize python source directory path - Enable fat LTO for maturin release workflow - Use different binding dirs for different uniffi modules - Update minimal Python minor version for pyo3 0.23 - Limit minimal PyPy version based on bindings crate version - Remove hard coded pip show in fix_direct_url - Do not use xwin to compile on Windows when MSVC compiler can build for the target - fix abi3 interpreter discovery on Windows - allow -i 3.13t - propagate abiflags to wheel name on Windows - Add free-threaded wheel build to generate-ci by default - Bump metadata version to 2.4 to fix license bug - allow -i 3.13t - propagate abiflags to wheel name on Windows - Add free-threaded wheel build to generate-ci by default - Auto detect Python 3.13 - feat: add skip attestation option to maturin ci github - generate-ci: use macos-13 runner for x86_64 build job - Improve wheel reproducibility by sorting libs - Fix inverted workspace inclusions - Fix broken links to PyO3 building docs - Update goblin to 0.9 - Don't resolve python interpreter when building sdist only - include timestamps in the suggested log format - Add support for GNU/Hurd - Fix __init__ exports when using multiple UniFFI bindings - Add free-threaded Python support (From OE-Core rev: f4accbf8704f690c5a50b05af815d61b75e8a2ce) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.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] = "649c6ef3f0fa4c5f596140d761dc5a4d577c485cc32fb5b9b344a8280352880d"
|
|
|
|
S = "${WORKDIR}/maturin-${PV}"
|
|
|
|
CFLAGS += "-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"
|