diff options
| author | Liu Yiding <liuyd.fnst@fujitsu.com> | 2025-07-23 09:06:10 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-07-28 14:51:50 +0100 |
| commit | e9a05a99dedb508ffd733a671751836f14807169 (patch) | |
| tree | 8652d1c328569fa26c95c2ae2349205954f30f9b /meta/recipes-devtools/python/python3-maturin_1.9.1.bb | |
| parent | 8e52670f0f79484244f698d610be0ffc3af8f689 (diff) | |
| download | poky-e9a05a99dedb508ffd733a671751836f14807169.tar.gz | |
python3-maturin: upgrade 1.9.0 -> 1.9.1
Changelog:
==========
- Fix absolute license file path from Cargo.toml
(From OE-Core rev: 4f817e8eb8ae5ddbc182e13a6fea7bb9437ed144)
Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-maturin_1.9.1.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-maturin_1.9.1.bb | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-maturin_1.9.1.bb b/meta/recipes-devtools/python/python3-maturin_1.9.1.bb new file mode 100644 index 0000000000..ce38e93136 --- /dev/null +++ b/meta/recipes-devtools/python/python3-maturin_1.9.1.bb | |||
| @@ -0,0 +1,42 @@ | |||
| 1 | SUMMARY = "Build and publish crates with pyo3, rust-cpython, cffi bindings and rust binaries as python packages" | ||
| 2 | HOMEPAGE = "https://github.com/pyo3/maturin" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "MIT | Apache-2.0" | ||
| 5 | LIC_FILES_CHKSUM = "file://license-apache;md5=1836efb2eb779966696f473ee8540542 \ | ||
| 6 | file://license-mit;md5=85fd3b67069cff784d98ebfc7d5c0797" | ||
| 7 | |||
| 8 | SRC_URI[sha256sum] = "97b52fb19d20c1fdc70e4efdc05d79853a4c9c0051030c93a793cd5181dc4ccd" | ||
| 9 | |||
| 10 | S = "${UNPACKDIR}/maturin-${PV}" | ||
| 11 | |||
| 12 | CFLAGS += "-ffile-prefix-map=${CARGO_HOME}=${TARGET_DBGSRC_DIR}/cargo_home" | ||
| 13 | |||
| 14 | DEPENDS += "\ | ||
| 15 | python3-setuptools-rust-native \ | ||
| 16 | python3-semantic-version-native \ | ||
| 17 | python3-setuptools-rust \ | ||
| 18 | " | ||
| 19 | |||
| 20 | require ${BPN}-crates.inc | ||
| 21 | |||
| 22 | inherit pypi cargo-update-recipe-crates python_pyo3 python_setuptools_build_meta | ||
| 23 | |||
| 24 | do_configure() { | ||
| 25 | python_pyo3_do_configure | ||
| 26 | cargo_common_do_configure | ||
| 27 | python_pep517_do_configure | ||
| 28 | } | ||
| 29 | |||
| 30 | RDEPENDS:${PN} += "\ | ||
| 31 | cargo \ | ||
| 32 | python3-json \ | ||
| 33 | rust \ | ||
| 34 | " | ||
| 35 | |||
| 36 | RRECOMMENDS:${PN} += "\ | ||
| 37 | python3-ensurepip \ | ||
| 38 | python3-pip \ | ||
| 39 | python3-venv \ | ||
| 40 | " | ||
| 41 | |||
| 42 | BBCLASSEXTEND = "native nativesdk" | ||
