diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2024-09-03 16:32:53 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-09-04 12:38:44 +0100 |
| commit | 79b4e699c38309302714b35256b3afa09583e496 (patch) | |
| tree | dfa8b7ddf5e9fdda02c11c4900ea7903d1a285c1 /meta/recipes-devtools/python/python3-maturin_1.7.1.bb | |
| parent | 5a7fb59b090ad66c2ef0e28ef67345c8fc6627ee (diff) | |
| download | poky-79b4e699c38309302714b35256b3afa09583e496.tar.gz | |
python3-maturin: upgrade 1.7.0 -> 1.7.1
Changelog
=========
- Update clap_complete_command to v0.6.1
- Fix platform tags when cross-compiling universal2
- Fix Typo in Migration Guide
- Fix rust 1.80 clippy errors
- Don't check .gitignore files in parent directories
- Replace --skip-auditwheel with --auditwheel option
- Remove install_requires and setup_requires from setup.py
- Use modern stripping option
- Move project metadata from setup.py to pyproject.toml
- Update manylinux/musllinux policies to the latest main
- use just licenses as the license directory in a wheel
- Forward cargo package --list warnings
- Add current package context to source dist error
- Place source dist readmes next to Cargo.toml
(From OE-Core rev: 48e00b925648dc394bf3ba08324b333b44a5ec0b)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-maturin_1.7.1.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-maturin_1.7.1.bb | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-maturin_1.7.1.bb b/meta/recipes-devtools/python/python3-maturin_1.7.1.bb new file mode 100644 index 0000000000..1a8581e594 --- /dev/null +++ b/meta/recipes-devtools/python/python3-maturin_1.7.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] = "147754cb3d81177ee12d9baf575d93549e76121dacd3544ad6a50ab718de2b9c" | ||
| 9 | |||
| 10 | S = "${WORKDIR}/maturin-${PV}" | ||
| 11 | |||
| 12 | CFLAGS += "-fdebug-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" | ||
