mirror of
https://git.yoctoproject.org/poky
synced 2026-04-22 06:32:12 +02:00
python3-maturin: update 1.7.1 -> 1.7.4
(From OE-Core rev: d3e61ba2a73894e72b6a85f96df92fc33e97b0bb) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
91051f1a34
commit
75d5ff281a
45
meta/recipes-devtools/python/python3-maturin_1.7.4.bb
Normal file
45
meta/recipes-devtools/python/python3-maturin_1.7.4.bb
Normal file
@@ -0,0 +1,45 @@
|
||||
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 += " \
|
||||
file://0001-build_context-improve-wheel-reproducibility-by-sorti.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "2b349d742a07527d236f0b4b6cab26f53ebecad0ceabfc09ec4c6a396e3176f9"
|
||||
|
||||
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"
|
||||
Reference in New Issue
Block a user