Message ID | 20200426223325.1468127-1-romain.naour@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [1/6] package/python-pycryptodomex: add host variant | expand |
>>>>> "Romain" == Romain Naour <romain.naour@gmail.com> writes: > Adding a host variant allow to replace host-python-pycrypto > by host-python-pycryptodomex for crda and optee-os packages. > From [1]: > "PyCryptodome is a fork of PyCrypto, which is not maintained any more > (the last release dates back to 2013 [2]). It exposes almost the same > API, but there are a few incompatibilities [3]." > [1] https://github.com/OP-TEE/optee_os/commit/90ad2450436fdd9fc0d28a3f92f3fbcfd89a38f0 > [2] https://pypi.org/project/pycrypto/#history > [3] https://pycryptodome.readthedocs.io/en/latest/src/vs_pycrypto.html > Signed-off-by: Romain Naour <romain.naour@gmail.com> > Cc: James Hilliard <james.hilliard1@gmail.com> > --- > For master and 2020.02.x. Committed to 2020.02.x, thanks.
diff --git a/package/python-pycryptodomex/python-pycryptodomex.mk b/package/python-pycryptodomex/python-pycryptodomex.mk index 7bc871678a..1459bb8fc3 100644 --- a/package/python-pycryptodomex/python-pycryptodomex.mk +++ b/package/python-pycryptodomex/python-pycryptodomex.mk @@ -15,3 +15,4 @@ PYTHON_PYCRYPTODOMEX_LICENSE = \ PYTHON_PYCRYPTODOMEX_LICENSE_FILES = LICENSE.rst Doc/LEGAL/COPYRIGHT.pycrypto $(eval $(python-package)) +$(eval $(host-python-package))
Adding a host variant allow to replace host-python-pycrypto by host-python-pycryptodomex for crda and optee-os packages. From [1]: "PyCryptodome is a fork of PyCrypto, which is not maintained any more (the last release dates back to 2013 [2]). It exposes almost the same API, but there are a few incompatibilities [3]." [1] https://github.com/OP-TEE/optee_os/commit/90ad2450436fdd9fc0d28a3f92f3fbcfd89a38f0 [2] https://pypi.org/project/pycrypto/#history [3] https://pycryptodome.readthedocs.io/en/latest/src/vs_pycrypto.html Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: James Hilliard <james.hilliard1@gmail.com> --- For master and 2020.02.x. --- package/python-pycryptodomex/python-pycryptodomex.mk | 1 + 1 file changed, 1 insertion(+)