python3-pycryptodomex: add 3.9.4 recipe
PATCH 1/1 python3-pycryptodomex: add 3.9.4 recipe
From: Rajesh Ravi <[email protected]>
Add python3-pycryptodomex 3.9.4 recipe needed to build such components as optee 3.8.0.
--- .../python/python3-pycryptodomex_3.9.4.bb | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb
meta-python/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb new file +30 -0
@@ -0,0 +1,30 @@ +SUMMARY = "Cryptographic library for Python" +DESCRIPTION = "PyCryptodome is a self-contained Python package of low-level\ + cryptographic primitives." +HOMEPAGE = "http://www.pycryptodome.org" +LICENSE = "PD & BSD-2-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=6dc0e2a13d2f25d6f123c434b761faba" + +SRC_URI[md5sum] = "46ba513d95b6e323734074d960a7d57b" +SRC_URI[sha256sum] = "22d970cee5c096b9123415e183ae03702b2cd4d3ba3f0ced25c4e1aba3967167" + +inherit pypi +inherit setuptools3 + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-math \ +" + +RDEPENDS_${PN}-tests += " \ + ${PYTHON_PN}-unittest \ +" + +PACKAGES =+ "${PN}-tests" + +FILES_${PN}-tests += " \ + ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/ \ + ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/__pycache__/ \ +" + +BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.17.1
This probably should have an RCONFLICTS with python3-cryptodme (and maybe even python3-crypto).
These three packages step all over each other with same functionality...
Quoted 63 lines · Scott Branden via Openembedded-devel
From: Rajesh Ravi <[email protected]>
Add python3-pycryptodomex 3.9.4 recipe needed to build such components as optee 3.8.0.
Signed-off-by Rajesh Ravi <[email protected]>Signed-off-by Scott Branden <[email protected]>--- .../python/python3-pycryptodomex_3.9.4.bb | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb
(quoted diff) +0
-0python3-pycryptodomex_3.9.4.bb b/meta-python/recipes-devtools/python/ python3-pycryptodomex_3.9.4.bb
new file mode 100644
index 000000000..be6b10f3fmeta-python/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb new file +2
-0@@ -0,0 +1,30 @@ +SUMMARY = "Cryptographic library for Python" +DESCRIPTION = "PyCryptodome is a self-contained Python package oflow-level\
+ cryptographic primitives."meta-python/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb new file +3
-0+HOMEPAGE = "http://www.pycryptodome.org" +LICENSE = "PD & BSD-2-Clause" +LIC_FILES_CHKSUM ="file://LICENSE.rst;md5=6dc0e2a13d2f25d6f123c434b761faba"
meta-python/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb new file +3
-0+ +SRC_URI[md5sum] = "46ba513d95b6e323734074d960a7d57b" +SRC_URI[sha256sum] ="
22d970cee5c096b9123415e183ae03702b2cd4d3ba3f0ced25c4e1aba3967167"meta-python/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb new file +21
-1+ +inherit pypi +inherit setuptools3 + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-math \ +" + +RDEPENDS_${PN}-tests += " \ + ${PYTHON_PN}-unittest \ +" + +PACKAGES =+ "${PN}-tests" + +FILES_${PN}-tests += " \ + ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/ \ + ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/__pycache__/ \ +" + +BBCLASSEXTEND = "native nativesdk" --2.17.1
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Quoted 3 lines · Tim Orling
This probably should have an RCONFLICTS with python3-cryptodme (and maybe even python3-crypto).
These three packages step all over each other with same functionality...
Good feedback Tim.
Rajesh, could you look if the other recipes do what is needed or can be enhanced and used instead?
Quoted 76 lines · On Mon, Mar 9, 2020 at 7:50 PM Scott Branden via Openembedded-devel…
From: Rajesh Ravi <[email protected]
<mailto:[email protected]>>
Add python3-pycryptodomex 3.9.4 recipe needed to build
such components as optee 3.8.0.
Signed-off-by: Rajesh Ravi <[email protected]
<mailto:[email protected]>>
Signed-off-by: Scott Branden <[email protected]
<mailto:[email protected]>>
---
.../python/python3-pycryptodomex_3.9.4.bb
<http://python3-pycryptodomex_3.9.4.bb> | 30 +++++++++++++++++++
1 file changed, 30 insertions(+)
create mode 100644
meta-python/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb
<http://python3-pycryptodomex_3.9.4.bb>
diff --git
a/meta-python/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb
<http://python3-pycryptodomex_3.9.4.bb>
b/meta-python/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb
<http://python3-pycryptodomex_3.9.4.bb>
new file mode 100644
index 000000000..be6b10f3f
--- /dev/null
+++
b/meta-python/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb
<http://python3-pycryptodomex_3.9.4.bb>
@@ -0,0 +1,30 @@
+SUMMARY = "Cryptographic library for Python"
+DESCRIPTION = "PyCryptodome is a self-contained Python package of
low-level\
+ cryptographic primitives."
+HOMEPAGE = "http://www.pycryptodome.org"
+LICENSE = "PD & BSD-2-Clause"
+LIC_FILES_CHKSUM =
"file://LICENSE.rst;md5=6dc0e2a13d2f25d6f123c434b761faba"
+
+SRC_URI[md5sum] = "46ba513d95b6e323734074d960a7d57b"
+SRC_URI[sha256sum] =
"22d970cee5c096b9123415e183ae03702b2cd4d3ba3f0ced25c4e1aba3967167"
+
+inherit pypi
+inherit setuptools3
+
+RDEPENDS_${PN} += " \
+ ${PYTHON_PN}-io \
+ ${PYTHON_PN}-math \
+"
+
+RDEPENDS_${PN}-tests += " \
+ ${PYTHON_PN}-unittest \
+"
+
+PACKAGES =+ "${PN}-tests"
+
+FILES_${PN}-tests += " \
+ ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/ \
+ ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/__pycache__/ \
+"
+
+BBCLASSEXTEND = "native nativesdk"
--
2.17.1
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
<mailto:[email protected]>
http://lists.openembedded.org/mailman/listinfo/openembedded-develA message that is not in the archive (sent off-list or not yet received): CAAr5zNcMr=PuSfM5sQ4oSFFwpVX8rjKuYOHoawOxtgs89jom_w@mail.gmail.com
So no changes to make. Could we get this added to master-next?
Quoted 124 lines · Rajesh Ravi
++
Hi Scott,
A)I tried a lot no other recipe could resolve OP-TEE 3.8.0 build break. I posted this in OP-TEE as well as meta-openembedded forums. This is the only solution suggested in following OP-TEE forum and I found to be worked as per my knowledge.
Ref: https://github.com/OP-TEE/optee_os/issues/3624
https://github.com/openembedded/meta-openembedded/issues/187
python3-pycryptodome could not resolve all the required dependencies needed by OP-TEE 3.8.0
B)Already existing recipe: python-pycryptodomex_3.9.4.bb does not have RCONFLICTS. (even with python3-pycryptodome_3.9.4.bb)
Is this probably because there is no python-pycryptodome recipe?
Please correct me if I'm wrongRegards,
RajeshQuoted 76 lines · Scott Branden
On 2020-03-09 10:50 p.m., Tim Orling wrote:
This probably should have an RCONFLICTS with python3-cryptodme (and maybe even python3-crypto).
These three packages step all over each other with same functionality...
Good feedback Tim.
Rajesh, could you look if the other recipes do what is needed or can be enhanced and used instead?
Quoted 57 lines · Scott Branden via Openembedded-devel
From: Rajesh Ravi <[email protected]>
Add python3-pycryptodomex 3.9.4 recipe needed to build such components as optee 3.8.0.
Signed-off-by Rajesh Ravi <[email protected]>Signed-off-by Scott Branden <[email protected]>--- .../python/python3-pycryptodomex_3.9.4.bb | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb
(quoted diff) +0
-0python3-pycryptodomex_3.9.4.bb b/meta-python/recipes-devtools/python/ python3-pycryptodomex_3.9.4.bb
new file mode 100644
index 000000000..be6b10f3fmeta-python/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb new file +2
-0@@ -0,0 +1,30 @@ +SUMMARY = "Cryptographic library for Python" +DESCRIPTION = "PyCryptodome is a self-contained Python package oflow-level\
+ cryptographic primitives."meta-python/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb new file +3
-0+HOMEPAGE = "http://www.pycryptodome.org" +LICENSE = "PD & BSD-2-Clause" +LIC_FILES_CHKSUM ="file://LICENSE.rst;md5=6dc0e2a13d2f25d6f123c434b761faba"
meta-python/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb new file +3
-0+ +SRC_URI[md5sum] = "46ba513d95b6e323734074d960a7d57b" +SRC_URI[sha256sum] ="
22d970cee5c096b9123415e183ae03702b2cd4d3ba3f0ced25c4e1aba3967167"meta-python/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb new file +21
-1+ +inherit pypi +inherit setuptools3 + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-math \ +" + +RDEPENDS_${PN}-tests += " \ + ${PYTHON_PN}-unittest \ +" + +PACKAGES =+ "${PN}-tests" + +FILES_${PN}-tests += " \ + ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/ \ + ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/__pycache__/ \ +" + +BBCLASSEXTEND = "native nativesdk" --2.17.1
Quoted 8 lines
Quoted 6 lines
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
Regards,
Rajesh
Tim Orling
Reviewed-byQuoted 2 lines · Scott Branden
So no changes to make. Could we get this added to master-next?
My concerns have been addressed.
Thank you everyone for the time you took to research the state of things.
Quoted 130 lines
Quoted 125 lines · Rajesh Ravi
++
Hi Scott,
A)I tried a lot no other recipe could resolve OP-TEE 3.8.0 build break. I posted this in OP-TEE as well as meta-openembedded forums. This is the only solution suggested in following OP-TEE forum and I found to be worked as per my knowledge.
Ref: https://github.com/OP-TEE/optee_os/issues/3624
https://github.com/openembedded/meta-openembedded/issues/187
python3-pycryptodome could not resolve all the required dependencies needed by OP-TEE 3.8.0
B)Already existing recipe: python-pycryptodomex_3.9.4.bb does not have RCONFLICTS. (even with python3-pycryptodome_3.9.4.bb)
Is this probably because there is no python-pycryptodome recipe?
Please correct me if I'm wrongRegards,
RajeshQuoted 77 lines · Scott Branden
On 2020-03-09 10:50 p.m., Tim Orling wrote:
This probably should have an RCONFLICTS with python3-cryptodme (and maybe even python3-crypto).
These three packages step all over each other with same functionality...
Good feedback Tim.
Rajesh, could you look if the other recipes do what is needed or can be enhanced and used instead?
Quoted 58 lines · Scott Branden via Openembedded-devel
From: Rajesh Ravi <[email protected]>
Add python3-pycryptodomex 3.9.4 recipe needed to build such components as optee 3.8.0.
Signed-off-by Rajesh Ravi <[email protected]>Signed-off-by Scott Branden <[email protected]>--- .../python/python3-pycryptodomex_3.9.4.bb | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb
(quoted diff) +0
-0python3-pycryptodomex_3.9.4.bb b/meta-python/recipes-devtools/python/ python3-pycryptodomex_3.9.4.bb
new file mode 100644
index 000000000..be6b10f3fmeta-python/recipes-devtools/python/ new file +0
-0python3-pycryptodomex_3.9.4.bb
meta-python/recipes-devtools/python/ new file +2
-0@@ -0,0 +1,30 @@ +SUMMARY = "Cryptographic library for Python" +DESCRIPTION = "PyCryptodome is a self-contained Python package oflow-level\
+ cryptographic primitives."meta-python/recipes-devtools/python/ new file +3
-0+HOMEPAGE = "http://www.pycryptodome.org" +LICENSE = "PD & BSD-2-Clause" +LIC_FILES_CHKSUM ="file://LICENSE.rst;md5=6dc0e2a13d2f25d6f123c434b761faba"
meta-python/recipes-devtools/python/ new file +3
-0+ +SRC_URI[md5sum] = "46ba513d95b6e323734074d960a7d57b" +SRC_URI[sha256sum] ="
22d970cee5c096b9123415e183ae03702b2cd4d3ba3f0ced25c4e1aba3967167"meta-python/recipes-devtools/python/ new file +21
-1+ +inherit pypi +inherit setuptools3 + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-math \ +" + +RDEPENDS_${PN}-tests += " \ + ${PYTHON_PN}-unittest \ +" + +PACKAGES =+ "${PN}-tests" + +FILES_${PN}-tests += " \ + ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/ \ + ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/__pycache__/ \ +" + +BBCLASSEXTEND = "native nativesdk" --2.17.1
Quoted 8 lines
Quoted 6 lines
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
Regards,
Rajesh
Hi,
Actually no.
pythonX-cryptodome has need to conflict with pythonX-crypto.
But python3-cryptodomex can coexists with either one of those as they have own namespace.
Some software need to unfortunately have both python3-cryptodome (brings python3-crypto "API emulation") and python3-cryptodomex installed in order to function.
Thanks,
Vesa Jääskeläinen
Quoted 71 lines · Tim Orling
This probably should have an RCONFLICTS with python3-cryptodme (and maybe even python3-crypto).
These three packages step all over each other with same functionality...
Quoted 63 lines · Scott Branden via Openembedded-devel
From: Rajesh Ravi <[email protected]>
Add python3-pycryptodomex 3.9.4 recipe needed to build such components as optee 3.8.0.
Signed-off-by Rajesh Ravi <[email protected]>Signed-off-by Scott Branden <[email protected]>--- .../python/python3-pycryptodomex_3.9.4.bb | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+)create mode 100644 meta-python/recipes-devtools/python/
python3-pycryptodomex_3.9.4.bb(quoted diff) +0
-0python3-pycryptodomex_3.9.4.bb b/meta-python/recipes-devtools/python/ python3-pycryptodomex_3.9.4.bb
new file mode 100644
index 000000000..be6b10f3fmeta-python/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb new file +2
-0@@ -0,0 +1,30 @@ +SUMMARY = "Cryptographic library for Python" +DESCRIPTION = "PyCryptodome is a self-contained Python package oflow-level\
+ cryptographic primitives."meta-python/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb new file +3
-0+HOMEPAGE = "http://www.pycryptodome.org" +LICENSE = "PD & BSD-2-Clause" +LIC_FILES_CHKSUM ="file://LICENSE.rst;md5=6dc0e2a13d2f25d6f123c434b761faba"
meta-python/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb new file +3
-0+ +SRC_URI[md5sum] = "46ba513d95b6e323734074d960a7d57b" +SRC_URI[sha256sum] ="
22d970cee5c096b9123415e183ae03702b2cd4d3ba3f0ced25c4e1aba3967167"meta-python/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb new file +21
-1+ +inherit pypi +inherit setuptools3 + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-math \ +" + +RDEPENDS_${PN}-tests += " \ + ${PYTHON_PN}-unittest \ +" + +PACKAGES =+ "${PN}-tests" + +FILES_${PN}-tests += " \ + ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/ \ + ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/__pycache__/ \ +" + +BBCLASSEXTEND = "native nativesdk" --2.17.1
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Quoted 9 lines · Vesa Jääskeläinen
Hi,
Actually no.
pythonX-cryptodome has need to conflict with pythonX-crypto.
But python3-cryptodomex can coexists with either one of those as they have own namespace.
That is probably what I am remembering, since I had to fix that exact issue on meta-python2.
Quoted 4 lines
Some software need to unfortunately have both python3-cryptodome (brings python3-crypto "API emulation") and python3-cryptodomex installed in order to function.
We (all of us ;) should look for recipes that have legacy RDEPENDS on python3-crypto or python3-cryptodome , when in fact they could use the cleaner solution of python3-cryptodomex.
Commits I made in meta-python2 might help.
Thank you for digging deeper and capturing the state of things.
Quoted 83 lines
Thanks,
Vesa JääskeläinenQuoted 17 lines · Tim Orling
This probably should have an RCONFLICTS with python3-cryptodme (and maybe even python3-crypto).
These three packages step all over each other with same functionality...
Quoted 9 lines · Scott Branden via Openembedded-devel
From: Rajesh Ravi <[email protected]>
Add python3-pycryptodomex 3.9.4 recipe needed to build such components as optee 3.8.0.
Signed-off-by Rajesh Ravi <[email protected]>Signed-off-by Scott Branden <[email protected]>--- .../python/python3-pycryptodomex_3.9.4.bb | 30+++++++++++++++++++
Quoted 11 lines
meta-python/recipes-devtools/python/
Quoted 11 lines
1 file changed, 30 insertions(+)create mode 100644 meta-python/recipes-devtools/python/
python3-pycryptodomex_3.9.4.bb(quoted diff) +0
-0python3-pycryptodomex_3.9.4.bb b/meta-python/recipes-devtools/python/ python3-pycryptodomex_3.9.4.bb
new file mode 100644
index 000000000..be6b10f3fmeta-python/recipes-devtools/python/ new file +0
-0python3-pycryptodomex_3.9.4.bb
Quoted 37 lines
Quoted 37 lines
meta-python/recipes-devtools/python/ new file +2
-0@@ -0,0 +1,30 @@ +SUMMARY = "Cryptographic library for Python" +DESCRIPTION = "PyCryptodome is a self-contained Python package oflow-level\
+ cryptographic primitives."meta-python/recipes-devtools/python/ new file +3
-0+HOMEPAGE = "http://www.pycryptodome.org" +LICENSE = "PD & BSD-2-Clause" +LIC_FILES_CHKSUM ="file://LICENSE.rst;md5=6dc0e2a13d2f25d6f123c434b761faba"
meta-python/recipes-devtools/python/ new file +3
-0+ +SRC_URI[md5sum] = "46ba513d95b6e323734074d960a7d57b" +SRC_URI[sha256sum] ="
22d970cee5c096b9123415e183ae03702b2cd4d3ba3f0ced25c4e1aba3967167"meta-python/recipes-devtools/python/ new file +21
-1+ +inherit pypi +inherit setuptools3 + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-math \ +" + +RDEPENDS_${PN}-tests += " \ + ${PYTHON_PN}-unittest \ +" + +PACKAGES =+ "${PN}-tests" + +FILES_${PN}-tests += " \ + ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/ \ + ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/__pycache__/ \ +" + +BBCLASSEXTEND = "native nativesdk" --2.17.1
Quoted 6 lines
Quoted 6 lines
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel