diff options
| author | Tim Orling <ticotimo@gmail.com> | 2023-12-16 21:41:27 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-12-17 19:07:21 +0000 |
| commit | d97636a0e53d7d7c528419464b3f157b97cf55c0 (patch) | |
| tree | 015225b844fecde8658984eda9db9ccaa23ec729 /meta/recipes-devtools/python/python3-maturin_1.4.0.bb | |
| parent | 6e6bb93fda590ddb9e27eb8886a6a67645e35c82 (diff) | |
| download | poky-d97636a0e53d7d7c528419464b3f157b97cf55c0.tar.gz | |
python3-maturin: add v1.4.0
Build and publish crates with pyo3, rust-cpython, cffi and uniffi bindings
as well as rust binaries as python packages.
This project is meant as a zero configuration replacement for setuptools-rust
and milksnake. It supports building wheels for python 3.7+ on windows, linux,
mac and freebsd, can upload them to pypi and has basic pypy and graalpy support.
https://github.com/pyo3/maturin
* Referesh -crates.inc for 1.4.0
(From OE-Core rev: b92d923991e57e1e3a8e4a3bf1b7f7ec138f7723)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-maturin_1.4.0.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-maturin_1.4.0.bb | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-maturin_1.4.0.bb b/meta/recipes-devtools/python/python3-maturin_1.4.0.bb new file mode 100644 index 0000000000..6f7cc6ef39 --- /dev/null +++ b/meta/recipes-devtools/python/python3-maturin_1.4.0.bb | |||
| @@ -0,0 +1,40 @@ | |||
| 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] = "ed12e1768094a7adeafc3a74ebdb8dc2201fa64c4e7e31f14cfc70378bf93790" | ||
| 9 | |||
| 10 | S = "${WORKDIR}/maturin-${PV}" | ||
| 11 | |||
| 12 | DEPENDS += "\ | ||
| 13 | python3-setuptools-rust-native \ | ||
| 14 | python3-semantic-version-native \ | ||
| 15 | python3-setuptools-rust \ | ||
| 16 | " | ||
| 17 | |||
| 18 | require ${BPN}-crates.inc | ||
| 19 | |||
| 20 | inherit pypi cargo-update-recipe-crates python_pyo3 python_setuptools_build_meta | ||
| 21 | |||
| 22 | do_configure() { | ||
| 23 | python_pyo3_do_configure | ||
| 24 | cargo_common_do_configure | ||
| 25 | python_pep517_do_configure | ||
| 26 | } | ||
| 27 | |||
| 28 | RDEPENDS:${PN} += "\ | ||
| 29 | cargo \ | ||
| 30 | python3-json \ | ||
| 31 | rust \ | ||
| 32 | " | ||
| 33 | |||
| 34 | RRECOMMENDS:${PN} += "\ | ||
| 35 | python3-ensurepip \ | ||
| 36 | python3-pip \ | ||
| 37 | python3-venv \ | ||
| 38 | " | ||
| 39 | |||
| 40 | BBCLASSEXTEND = "native nativesdk" | ||
