mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user