diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-05-18 12:58:42 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-05-20 22:52:23 +0100 |
| commit | 849df6aa26b1f6f02bfb0e325fe5375a9c25ca8c (patch) | |
| tree | 7f7f7346b9f23b9ff3c7168a9a8b3d2ea0510f04 /meta/recipes-devtools/python/python3-setuptools-rust_1.3.0.bb | |
| parent | fff365d984f6393ce9dbe5666482239abb8b1733 (diff) | |
| download | poky-849df6aa26b1f6f02bfb0e325fe5375a9c25ca8c.tar.gz | |
python3-setuptools-rust: update 1.1.2 -> 1.3.0
Also, make it a proper target recipe with a -native variant.
(From OE-Core rev: 54cc185e9c7b2343c36718102a607f13937c6991)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-setuptools-rust_1.3.0.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-setuptools-rust_1.3.0.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-setuptools-rust_1.3.0.bb b/meta/recipes-devtools/python/python3-setuptools-rust_1.3.0.bb new file mode 100644 index 0000000000..51e27b843e --- /dev/null +++ b/meta/recipes-devtools/python/python3-setuptools-rust_1.3.0.bb | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | SUMMARY = "Setuptools Rust extension plugin" | ||
| 2 | DESCRIPTION = "setuptools-rust is a plugin for setuptools to build Rust \ | ||
| 3 | Python extensions implemented with PyO3 or rust-cpython.\ | ||
| 4 | \ | ||
| 5 | Compile and distribute Python extensions written in Rust as easily as if they were written in C." | ||
| 6 | HOMEPAGE = "https://github.com/PyO3/setuptools-rust" | ||
| 7 | BUGTRACKER = "https://github.com/PyO3/setuptools-rust/issues" | ||
| 8 | |||
| 9 | LICENSE = "MIT" | ||
| 10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=011cd92e702dd9e6b1a26157b6fd53f5" | ||
| 11 | |||
| 12 | SRC_URI = "https://files.pythonhosted.org/packages/67/08/e1aa2c582c62ac76e4d60f8e454bd3bba933781a06a88b4e38797445822a/setuptools-rust-${PV}.tar.gz" | ||
| 13 | SRC_URI[sha256sum] = "958c5bf4ab6483d59dab888538121871cc5006354a42fb0fbd50acf03caad1de" | ||
| 14 | |||
| 15 | inherit cargo pypi python_setuptools_build_meta | ||
| 16 | |||
| 17 | DEPENDS += "python3-setuptools-scm-native python3-wheel-native" | ||
| 18 | |||
| 19 | RDEPENDS:${PN}:class-native += " \ | ||
| 20 | python3-semantic-version-native \ | ||
| 21 | python3-setuptools-native \ | ||
| 22 | python3-setuptools-scm-native \ | ||
| 23 | python3-toml-native \ | ||
| 24 | python3-typing-extensions-native \ | ||
| 25 | python3-wheel-native \ | ||
| 26 | " | ||
| 27 | |||
| 28 | BBCLASSEXTEND = "native" | ||
