All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] python3-setuptools-rust: Add release 0.11.6
@ 2021-04-02 11:45 Leon Anavi
  2021-04-04 10:05 ` [OE-core] " Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: Leon Anavi @ 2021-04-02 11:45 UTC (permalink / raw)
  To: openembedded-core; +Cc: Leon Anavi

Add setuptools-rust release 0.11.6:

- Respect CARGO_BUILD_TARGET environment variable if set.
- Add setuptools_rust.__version__ and require setuptools >= 46.1.

This recipe is required as a dependency of Python packages relying
on Rust, for example newer versions of python3-cryptography from
layer meta-python.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../python/python3-setuptools-rust_0.11.6.bb  | 28 +++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-setuptools-rust_0.11.6.bb

diff --git a/meta/recipes-devtools/python/python3-setuptools-rust_0.11.6.bb b/meta/recipes-devtools/python/python3-setuptools-rust_0.11.6.bb
new file mode 100644
index 0000000000..58b6f8180f
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-setuptools-rust_0.11.6.bb
@@ -0,0 +1,28 @@
+SUMMARY = "Setuptools rust extension plugin"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=011cd92e702dd9e6b1a26157b6fd53f5"
+
+SRC_URI[sha256sum] = "a5b5954909cbc5d66b914ee6763f81fa2610916041c7266105a469f504a7c4ca"
+
+inherit pypi setuptools3
+
+#UPSTREAM_CHECK_REGEX = "setuptools_scm-(?P<pver>.*)\.tar"
+
+DEPENDS += "\
+    ${PYTHON_PN}-wheel-native \
+    ${PYTHON_PN}-setuptools-scm-native \
+"
+
+RDEPENDS_${PN} = "\
+    ${PYTHON_PN}-json \
+    ${PYTHON_PN}-py \
+    ${PYTHON_PN}-setuptools \
+    ${PYTHON_PN}-toml \
+"
+
+RDEPENDS_${PN}_class-native = "\
+    ${PYTHON_PN}-setuptools-native \
+    ${PYTHON_PN}-toml-native \
+"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-04-05 11:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-02 11:45 [meta-oe][PATCH] python3-setuptools-rust: Add release 0.11.6 Leon Anavi
2021-04-04 10:05 ` [OE-core] " Richard Purdie
2021-04-05 11:44   ` Leon Anavi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.