[oe] [meta-python][PATCH] python3-pycryptodomex: add 3.9.4 recipe

Tim Orling ticotimo at gmail.com
Thu Mar 12 03:37:10 UTC 2020


On Wed, Mar 11, 2020 at 8:02 PM Scott Branden <scott.branden at broadcom.com>
wrote:

> 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.

Reviewed-by: Tim Orling <ticotimo at gmail.com>

>
> On Tue, 10 Mar 2020 at 20:48, Rajesh Ravi <rajesh.ravi at broadcom.com>
> wrote:
>
>> ++
>>
>> 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 wrong
>>
>> Regards,
>> Rajesh
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Wed, Mar 11, 2020 at 12:45 AM Scott Branden <
>> scott.branden at broadcom.com> wrote:
>>
>>>
>>>
>>> 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?
>>>
>>>
>>> On Mon, Mar 9, 2020 at 7:50 PM Scott Branden via Openembedded-devel <
>>> openembedded-devel at lists.openembedded.org> wrote:
>>>
>>>> From: Rajesh Ravi <rajesh.ravi at broadcom.com>
>>>>
>>>> Add python3-pycryptodomex 3.9.4 recipe needed to build
>>>> such components as optee 3.8.0.
>>>>
>>>> Signed-off-by: Rajesh Ravi <rajesh.ravi at broadcom.com>
>>>> Signed-off-by: Scott Branden <scott.branden at broadcom.com>
>>>> ---
>>>>  .../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
>>>>
>>>> diff --git a/meta-python/recipes-devtools/python/
>>>> python3-pycryptodomex_3.9.4.bb b/meta-python/recipes-devtools/python/
>>>> 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
>>>> @@ -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
>>>> Openembedded-devel at lists.openembedded.org
>>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>>>
>>>
>>>
>>
>> --
>> Regards,
>> Rajesh
>>
>


More information about the Openembedded-devel mailing list