From: "Leon Anavi" <leon.anavi@konsulko.com>
To: openembedded-core@lists.openembedded.org
Cc: Leon Anavi <leon.anavi@konsulko.com>
Subject: [meta-oe][PATCH] python3-setuptools-rust: Add release 0.11.6
Date: Fri, 2 Apr 2021 14:45:21 +0300 [thread overview]
Message-ID: <20210402114521.3888-1-leon.anavi@konsulko.com> (raw)
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
next reply other threads:[~2021-04-02 11:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-02 11:45 Leon Anavi [this message]
2021-04-04 10:05 ` [OE-core] [meta-oe][PATCH] python3-setuptools-rust: Add release 0.11.6 Richard Purdie
2021-04-05 11:44 ` Leon Anavi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210402114521.3888-1-leon.anavi@konsulko.com \
--to=leon.anavi@konsulko.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.