* [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
* Re: [OE-core] [meta-oe][PATCH] python3-setuptools-rust: Add release 0.11.6
2021-04-02 11:45 [meta-oe][PATCH] python3-setuptools-rust: Add release 0.11.6 Leon Anavi
@ 2021-04-04 10:05 ` Richard Purdie
2021-04-05 11:44 ` Leon Anavi
0 siblings, 1 reply; 3+ messages in thread
From: Richard Purdie @ 2021-04-04 10:05 UTC (permalink / raw)
To: Leon Anavi, openembedded-core
On Fri, 2021-04-02 at 14:45 +0300, Leon Anavi wrote:
> 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
If this is targeting OE-Core (hard to tell from the subject line
including meta-oe), it has no maintainers entry. I'm also a little
surprised there is no rust dependency. Adding rust is something
we deferred to the next development cycle.
Cheers,
Richard
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [OE-core] [meta-oe][PATCH] python3-setuptools-rust: Add release 0.11.6
2021-04-04 10:05 ` [OE-core] " Richard Purdie
@ 2021-04-05 11:44 ` Leon Anavi
0 siblings, 0 replies; 3+ messages in thread
From: Leon Anavi @ 2021-04-05 11:44 UTC (permalink / raw)
To: Richard Purdie, openembedded-core
Hi Richard,
On 4.04.21 г. 13:05, Richard Purdie wrote:
> On Fri, 2021-04-02 at 14:45 +0300, Leon Anavi wrote:
>> 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
> If this is targeting OE-Core (hard to tell from the subject line
> including meta-oe), it has no maintainers entry. I'm also a little
Yes, sorry, the patch is targeting OE-Core for consistency with other
Python3 recipes likes python3-setuptools and python3-setuptools-scm.
> surprised there is no rust dependency. Adding rust is something
> we deferred to the next development cycle.
I've I heard that rust is expected in the next development cycle because
if this at the moment I definitely want to avoid dependency on meta-rust.
Please let me know if python3-setuptools-rust can be accepted in
OE-Core, if I need to modify it or just to wait for the start of the new
development cycle when rust will be in OE-Core.
Thanks,
Leon
>
> Cheers,
>
> Richard
>
--
Leon Anavi
Software Engineer
konsulko.com
^ permalink raw reply [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.