bcrypt, also provide none x86 for x86_gcc2 (#7206)

This commit is contained in:
Schrijvers Luc
2022-09-15 11:58:07 +02:00
committed by GitHub
parent 446ef1cf7b
commit 3bb6ef8ae8

View File

@@ -4,7 +4,7 @@ servers."
HOMEPAGE="https://pypi.python.org/pypi/bcrypt"
COPYRIGHT="2013 Donald Stufft"
LICENSE="Apache v2"
REVISION="2"
REVISION="3"
SOURCE_URI="https://pypi.io/packages/source/b/bcrypt/bcrypt-$portVersion.tar.gz"
CHECKSUM_SHA256="5b93c1726e50a93a033c36e5ca7fdcd29a5c7395af50a6892f5d9e7c6cfbfb29"
@@ -33,6 +33,11 @@ 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\