pyaes: cleanup after #8813. (#8823)

This commit is contained in:
OscarL
2023-06-08 11:04:36 -03:00
committed by GitHub
parent b20eaa38d0
commit 28b403126f

View File

@@ -4,7 +4,7 @@ and the common modes of operation (CBC, CFB, CTR, ECB and OFB)."
HOMEPAGE="https://pypi.python.org/pypi/pip"
COPYRIGHT="2014 Richard Moore"
LICENSE="MIT"
REVISION="2"
REVISION="3"
SOURCE_URI="https://pypi.org/packages/source/p/pyaes/pyaes-$portVersion.tar.gz"
CHECKSUM_SHA256="02c1b1405c38d3c370b085fb952dd8bea3fadcee6411ad99f312cc129c536d8f"
@@ -41,19 +41,10 @@ for i in "${!PYTHON_PACKAGES[@]}"; do
BUILD_PREREQUIRES+="
cmd:python$pythonVersion
"
# Tests Needs "Crypto", but PyCrypto is deprecated, so use a replacement.
# The "if" is necessary due to the recipe being "any" and not having a
# non _x86 package on 32 bits.
if [ $targetArchitecture = x86_gcc2 ]; then
TEST_REQUIRES+="
pycryptodome_x86_$pythonPackage
TEST_REQUIRES+="
pycryptodome_$pythonPackage
"
else
TEST_REQUIRES+="
pycryptodome_$pythonPackage
"
fi
done