bcrypt, fix provides for 32bit (#7208)

This commit is contained in:
Schrijvers Luc
2022-09-15 12:31:25 +02:00
committed by GitHub
parent 47367e33b9
commit 8dab556e6c

View File

@@ -4,7 +4,7 @@ servers."
HOMEPAGE="https://pypi.python.org/pypi/bcrypt"
COPYRIGHT="2013 Donald Stufft"
LICENSE="Apache v2"
REVISION="4"
REVISION="5"
SOURCE_URI="https://pypi.io/packages/source/b/bcrypt/bcrypt-$portVersion.tar.gz"
CHECKSUM_SHA256="5b93c1726e50a93a033c36e5ca7fdcd29a5c7395af50a6892f5d9e7c6cfbfb29"
@@ -33,16 +33,16 @@ pythonVersion=${PYTHON_VERSIONS[$i]}
eval "PROVIDES_${pythonPackage}=\"\
${portName}_$pythonPackage = $portVersion\
\"; \
if [ "$targetArchitecture" = "x86_gcc2" ]; then
eval "PROVIDES_${pythonPackage}+=\"\n\
bcrypt_$pythonPackage = $portVersion\
\""
fi
REQUIRES_$pythonPackage=\"\
haiku\n\
cffi${secondaryArchSuffix}_$pythonPackage\n\
cmd:python$pythonVersion\
\""
if [ "$targetArchitecture" = "x86_gcc2" ]; then
eval "PROVIDES_${pythonPackage}+=\"\n\
bcrypt_$pythonPackage = $portVersion\
\""
fi
BUILD_REQUIRES="$BUILD_REQUIRES
cffi${secondaryArchSuffix}_$pythonPackage
setuptools_$pythonPackage"