![Romain Naour](/assets/img/avatar_default.png)
Adding a host variant will allow to replace host-python-pycrypto by
host-python-pycryptodomex for the 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] 90ad245043
[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>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
19 lines
750 B
Makefile
19 lines
750 B
Makefile
################################################################################
|
|
#
|
|
# python-pycryptodomex
|
|
#
|
|
################################################################################
|
|
|
|
PYTHON_PYCRYPTODOMEX_VERSION = 3.9.6
|
|
PYTHON_PYCRYPTODOMEX_SOURCE = pycryptodomex-$(PYTHON_PYCRYPTODOMEX_VERSION).tar.gz
|
|
PYTHON_PYCRYPTODOMEX_SITE = https://files.pythonhosted.org/packages/d7/4f/20258a48e6760cff6523a176ecec671c85cad3f199754a8b89728d130aa8
|
|
PYTHON_PYCRYPTODOMEX_SETUP_TYPE = setuptools
|
|
PYTHON_PYCRYPTODOMEX_LICENSE = \
|
|
BSD-2-Clause, \
|
|
Public Domain (pycrypto original code), \
|
|
OCB patent license (OCB mode)
|
|
PYTHON_PYCRYPTODOMEX_LICENSE_FILES = LICENSE.rst Doc/LEGAL/COPYRIGHT.pycrypto
|
|
|
|
$(eval $(python-package))
|
|
$(eval $(host-python-package))
|