Skip to contentSkip to conversation

python3-nacl: Add recipe for the latest release of PyNaCl

PATCH In review Derek Straka 3 participants 5 messages Sep 29, 2023 – Nov 1, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-nacl: Add recipe for the latest release of PyNaCl

---
 .../python/python3-nacl_1.5.0.bb              | 25 +++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-nacl_1.5.0.bb
meta-python/recipes-devtools/python/python3-nacl_1.5.0.bb new file +25 -0
new file mode 100644
index 000000000..7d5292745
@@ -0,0 +1,25 @@
+SUMMARY = "Python binding to the Networking and Cryptography (NaCl) library"
+HOMEPAGE = "https://github.com/pyca/pynacl"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=8cc789b082b3d97e1ccc5261f8594d3f"
+
+PYPI_PACKAGE = "PyNaCl"
+
+inherit pypi setuptools3
+
+SRC_URI[sha256sum] = "8ac7448f09ab85811607bdd21ec2464495ac8b7c66d146bf545b0f08fb9220ba"
+
+DEPENDS += "\
+    libsodium \
+    python3-cffi-native \
+    python3-pip-native \
+"
+
+RDEPENDS:${PN}:class-target += " \
+    python3-cffi \
+    python3-pycparser \
+"
+
+export SODIUM_INSTALL = "system"
+
+BBCLASSEXTEND = "native"
\ No newline at end of file
Signature · 1 line
2.34.1
#1 lore raw
Quoted 12 lines · Derek Straka
---
  .../python/python3-nacl_1.5.0.bb              | 25 +++++++++++++++++++
  1 file changed, 25 insertions(+)

create mode 100644 meta-python/recipes-devtools/python/python3-nacl_1.5.0.bb

meta-python/recipes-devtools/python/python3-nacl_1.5.0.bb new file +0 -0
new file mode 100644
index 000000000..7d5292745

meta-python/recipes-devtools/python/python3-nacl_1.5.0.bb line 6

Quoted 6 lines
meta-python/recipes-devtools/python/python3-nacl_1.5.0.bb new file +6 -0
@@ -0,0 +1,25 @@
+SUMMARY = "Python binding to the Networking and Cryptography (NaCl) library"
+HOMEPAGE = "https://github.com/pyca/pynacl"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=8cc789b082b3d97e1ccc5261f8594d3f"
+
+PYPI_PACKAGE = "PyNaCl"

It is exactly the same recipe with name python3-nacl_1.5.0.bb in the same directory. And I suggest to remove one of them and let the other one rprovides it if needed.

Regards,
Kai

Quoted 29 lines
meta-python/recipes-devtools/python/python3-nacl_1.5.0.bb new file +19 -1
+
+inherit pypi setuptools3
+
+SRC_URI[sha256sum] = "8ac7448f09ab85811607bdd21ec2464495ac8b7c66d146bf545b0f08fb9220ba"
+
+DEPENDS += "\
+    libsodium \
+    python3-cffi-native \
+    python3-pip-native \
+"
+
+RDEPENDS:${PN}:class-target += " \
+    python3-cffi \
+    python3-pycparser \
+"
+
+export SODIUM_INSTALL = "system"
+
+BBCLASSEXTEND = "native"
\ No newline at end of file
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#105272): https://lists.openembedded.org/g/openembedded-devel/message/105272
Mute This Topic: https://lists.openembedded.org/mt/101667089/3616933
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 2 lines
Kai Kang
Wind River Linux
#2 lore raw
Quoted 8 lines · Kai
Quoted 6 lines · Derek Straka
---
  .../python/python3-nacl_1.5.0.bb              | 25 +++++++++++++++++++
  1 file changed, 25 insertions(+)

create mode 100644 meta-python/recipes-devtools/python/python3-nacl_1.5.0.bb

Quoted 16 lines

meta-python/recipes-devtools/python/python3-nacl_1.5.0.bb line 6

Quoted 12 lines
meta-python/recipes-devtools/python/python3-nacl_1.5.0.bb new file +6 -0
new file mode 100644
index 000000000..7d5292745
@@ -0,0 +1,25 @@
+SUMMARY = "Python binding to the Networking and Cryptography (NaCl) library"
+HOMEPAGE = "https://github.com/pyca/pynacl"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=8cc789b082b3d97e1ccc5261f8594d3f"
+
+PYPI_PACKAGE = "PyNaCl"

It is exactly the same recipe with name python3-nacl_1.5.0.bb in the same directory. And I suggest to
remove one of them and let the other one rprovides it if needed.

this seems fine to me. Please send a patch to remove old recipe and add PROVIDES to new one

Quoted 39 lines

Regards,
Kai

Quoted 22 lines
meta-python/recipes-devtools/python/python3-nacl_1.5.0.bb new file +19 -1
+
+inherit pypi setuptools3
+
+SRC_URI[sha256sum] = "8ac7448f09ab85811607bdd21ec2464495ac8b7c66d146bf545b0f08fb9220ba"
+
+DEPENDS += "\
+    libsodium \
+    python3-cffi-native \
+    python3-pip-native \
+"
+
+RDEPENDS:${PN}:class-target += " \
+    python3-cffi \
+    python3-pycparser \
+"
+
+export SODIUM_INSTALL = "system"
+
+BBCLASSEXTEND = "native"
\ No newline at end of file
 
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 7 lines

Links: You receive all messages sent to this group.
View/Reply Online (#105272): https://lists.openembedded.org/g/openembedded-devel/message/105272
Mute This Topic: https://lists.openembedded.org/mt/101667089/3616933
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

--
Kai Kang
Wind River Linux

#3 lore raw

Works for me. I'd personally prefer to keep it in meta-python since I'd rather not create a meta-virtualization dependency for my personal project, but I can be persuaded if it creates more work for others.

Quoted 77 lines · Khem Raj
Quoted 5 lines · Kai
Quoted 3 lines · Derek Straka
---
  .../python/python3-nacl_1.5.0.bb              | 25

+++++++++++++++++++

Quoted 2 lines
Quoted 2 lines
  1 file changed, 25 insertions(+)

create mode 100644 meta-python/recipes-devtools/python/

python3-nacl_1.5.0.bb

Quoted 2 lines

Review

Quoted 2 lines
(quoted diff) +0 -0

b/meta-python/recipes-devtools/python/python3-nacl_1.5.0.bb

Quoted 6 lines

meta-python/recipes-devtools/python/python3-nacl_1.5.0.bb line 1

Quoted 6 lines

new file mode 100644
index 000000000..7d5292745

meta-python/recipes-devtools/python/python3-nacl_1.5.0.bb new file +1 -0
@@ -0,0 +1,25 @@
+SUMMARY = "Python binding to the Networking and Cryptography (NaCl)

library"

Quoted 3 lines

meta-python/recipes-devtools/python/python3-nacl_1.5.0.bb

Quoted 3 lines
meta-python/recipes-devtools/python/python3-nacl_1.5.0.bb new file +3 -0
+HOMEPAGE = "https://github.com/pyca/pynacl"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM =

"file://LICENSE;md5=8cc789b082b3d97e1ccc5261f8594d3f"

Quoted 6 lines

meta-python/recipes-devtools/python/python3-nacl_1.5.0.bb line 6

Quoted 2 lines
meta-python/recipes-devtools/python/python3-nacl_1.5.0.bb new file +2 -0
+
+PYPI_PACKAGE = "PyNaCl"

It is exactly the same recipe with name python3-nacl_1.5.0.bb in the same directory. And I suggest to
remove one of them and let the other one rprovides it if needed.

this seems fine to me. Please send a patch to remove old recipe and add PROVIDES to new one

Quoted 9 lines

Regards,
Kai

meta-python/recipes-devtools/python/python3-nacl_1.5.0.bb

Quoted 4 lines
meta-python/recipes-devtools/python/python3-nacl_1.5.0.bb new file +4 -0
+
+inherit pypi setuptools3
+
+SRC_URI[sha256sum] =

"8ac7448f09ab85811607bdd21ec2464495ac8b7c66d146bf545b0f08fb9220ba"

Quoted 17 lines
Quoted 17 lines
meta-python/recipes-devtools/python/python3-nacl_1.5.0.bb new file +15 -0
+
+DEPENDS += "\
+    libsodium \
+    python3-cffi-native \
+    python3-pip-native \
+"
+
+RDEPENDS:${PN}:class-target += " \
+    python3-cffi \
+    python3-pycparser \
+"
+
+export SODIUM_INSTALL = "system"
+
+BBCLASSEXTEND = "native"
\ No newline at end of file
Quoted 3 lines
Quoted 3 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#105272):

https://lists.openembedded.org/g/openembedded-devel/message/105272

Quoted 3 lines
Quoted 3 lines

Mute This Topic: https://lists.openembedded.org/mt/101667089/3616933
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub

[[email protected]]

Quoted 7 lines
Quoted 2 lines

-=-=-=-=-=-=-=-=-=-=-=-

--
Kai Kang
Wind River Linux

#4 lore raw
Quoted 1 line · Derek Straka

Works for me.  I'd personally prefer to keep it in meta-python since I'd rather not create a meta-virtualization dependency for my personal project, but I can be persuaded if it creates more work for others.

Yes, it will be kept in meta-python that both of the recipes are in meta-python.

Regards,
Kai

Quoted 96 lines · Khem Raj
    On Tue, Oct 31, 2023 at 7:32 PM Kai <[email protected]> wrote:
    >
    > On 9/30/23 05:35, Derek Straka wrote:
    > > Signed-off-by: Derek Straka <[email protected]>
    > > ---
    > >   .../python/python3-nacl_1.5.0.bb
    <https://urldefense.com/v3/__http://python3-nacl_1.5.0.bb__;!!AjveYdw8EvQ!cM6NlZF43XGcQqc1vQIYJhJ3jNKput2q3D1rDFp-P_OrzFB0pFRF7WSBw9sofwN0Af1n5o9oAW_t0d6nQw$>
                | 25 +++++++++++++++++++
    > >   1 file changed, 25 insertions(+)
    > >   create mode 100644
    meta-python/recipes-devtools/python/python3-nacl_1.5.0.bb
    <https://urldefense.com/v3/__http://python3-nacl_1.5.0.bb__;!!AjveYdw8EvQ!cM6NlZF43XGcQqc1vQIYJhJ3jNKput2q3D1rDFp-P_OrzFB0pFRF7WSBw9sofwN0Af1n5o9oAW_t0d6nQw$>
    > >
    > > diff --git
    a/meta-python/recipes-devtools/python/python3-nacl_1.5.0.bb
    <https://urldefense.com/v3/__http://python3-nacl_1.5.0.bb__;!!AjveYdw8EvQ!cM6NlZF43XGcQqc1vQIYJhJ3jNKput2q3D1rDFp-P_OrzFB0pFRF7WSBw9sofwN0Af1n5o9oAW_t0d6nQw$>
    b/meta-python/recipes-devtools/python/python3-nacl_1.5.0.bb
    <https://urldefense.com/v3/__http://python3-nacl_1.5.0.bb__;!!AjveYdw8EvQ!cM6NlZF43XGcQqc1vQIYJhJ3jNKput2q3D1rDFp-P_OrzFB0pFRF7WSBw9sofwN0Af1n5o9oAW_t0d6nQw$>
    > > new file mode 100644
    > > index 000000000..7d5292745
    > > --- /dev/null
    > > +++
    b/meta-python/recipes-devtools/python/python3-nacl_1.5.0.bb
    <https://urldefense.com/v3/__http://python3-nacl_1.5.0.bb__;!!AjveYdw8EvQ!cM6NlZF43XGcQqc1vQIYJhJ3jNKput2q3D1rDFp-P_OrzFB0pFRF7WSBw9sofwN0Af1n5o9oAW_t0d6nQw$>
    > > @@ -0,0 +1,25 @@
    > > +SUMMARY = "Python binding to the Networking and Cryptography
    (NaCl) library"
    > > +HOMEPAGE = "https://github.com/pyca/pynacl
    <https://urldefense.com/v3/__https://github.com/pyca/pynacl__;!!AjveYdw8EvQ!cM6NlZF43XGcQqc1vQIYJhJ3jNKput2q3D1rDFp-P_OrzFB0pFRF7WSBw9sofwN0Af1n5o9oAW9eTnCX1g$>"
    > > +LICENSE = "Apache-2.0"
    > > +LIC_FILES_CHKSUM =
    "file://LICENSE;md5=8cc789b082b3d97e1ccc5261f8594d3f"
    > > +
    > > +PYPI_PACKAGE = "PyNaCl"
    >
    > It is exactly the same recipe with name python3-nacl_1.5.0.bb
    <https://urldefense.com/v3/__http://python3-nacl_1.5.0.bb__;!!AjveYdw8EvQ!cM6NlZF43XGcQqc1vQIYJhJ3jNKput2q3D1rDFp-P_OrzFB0pFRF7WSBw9sofwN0Af1n5o9oAW_t0d6nQw$>
    in the
    > same directory. And I suggest to
    > remove one of them and let the other one rprovides it if needed.

    this seems fine to me. Please send a patch to remove old recipe and
    add PROVIDES to new one

    >
    > Regards,
    > Kai
    >
    >
    > > +
    > > +inherit pypi setuptools3
    > > +
    > > +SRC_URI[sha256sum] =
    "8ac7448f09ab85811607bdd21ec2464495ac8b7c66d146bf545b0f08fb9220ba"
    > > +
    > > +DEPENDS += "\
    > > +    libsodium \
    > > +    python3-cffi-native \
    > > +    python3-pip-native \
    > > +"
    > > +
    > > +RDEPENDS:${PN}:class-target += " \
    > > +    python3-cffi \
    > > +    python3-pycparser \
    > > +"
    > > +
    > > +export SODIUM_INSTALL = "system"
    > > +
    > > +BBCLASSEXTEND = "native"
    > > \ No newline at end of file
    > >
    > > -=-=-=-=-=-=-=-=-=-=-=-
    > > Links: You receive all messages sent to this group.
    > > View/Reply Online (#105272):
    https://lists.openembedded.org/g/openembedded-devel/message/105272
    <https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-devel/message/105272__;!!AjveYdw8EvQ!cM6NlZF43XGcQqc1vQIYJhJ3jNKput2q3D1rDFp-P_OrzFB0pFRF7WSBw9sofwN0Af1n5o9oAW9BXbdMYw$>
    > > Mute This Topic:
    https://lists.openembedded.org/mt/101667089/3616933
    <https://urldefense.com/v3/__https://lists.openembedded.org/mt/101667089/3616933__;!!AjveYdw8EvQ!cM6NlZF43XGcQqc1vQIYJhJ3jNKput2q3D1rDFp-P_OrzFB0pFRF7WSBw9sofwN0Af1n5o9oAW_I2ufC_g$>
    > > Group Owner: [email protected]
    <mailto:openembedded-devel%[email protected]>
    > > Unsubscribe:
    https://lists.openembedded.org/g/openembedded-devel/unsub
    <https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-devel/unsub__;!!AjveYdw8EvQ!cM6NlZF43XGcQqc1vQIYJhJ3jNKput2q3D1rDFp-P_OrzFB0pFRF7WSBw9sofwN0Af1n5o9oAW8cIkdseQ$>
    [[email protected]]
    > > -=-=-=-=-=-=-=-=-=-=-=-
    > >
    >
    > --
    > Kai Kang
    > Wind River Linux
    >
Signature · 2 lines
Kai Kang
Wind River Linux