kiwisolver: fix build, support Python 3.10. (#8088)

Provide "non _x86" package name too on 32 bits.
This commit is contained in:
OscarL
2023-03-24 03:58:31 -03:00
committed by GitHub
parent 6cb4098bca
commit 9f4807ba76

View File

@@ -31,8 +31,8 @@ BUILD_PREREQUIRES="
cmd:pkg_config$secondaryArchSuffix
"
PYTHON_PACKAGES=(python38 python39)
PYTHON_VERSIONS=(3.8 3.9)
PYTHON_PACKAGES=(python38 python39 python310)
PYTHON_VERSIONS=(3.8 3.9 3.10)
for i in "${!PYTHON_PACKAGES[@]}"; do
pythonPackage=${PYTHON_PACKAGES[i]}
pythonVersion=${PYTHON_VERSIONS[$i]}
@@ -43,7 +43,13 @@ REQUIRES_$pythonPackage=\"\
haiku$secondaryArchSuffix\n\
cmd:python$pythonVersion\
\""
if [ "$targetArchitecture" = "x86_gcc2" ]; then
eval "PROVIDES_${pythonPackage}+=\"\n\
kiwisolver_$pythonPackage = $portVersion\
\""
fi
BUILD_REQUIRES="$BUILD_REQUIRES
cppy_$pythonPackage
setuptools_$pythonPackage
"
BUILD_PREREQUIRES="$BUILD_PREREQUIRES