pyzmq: add python 3.9, 3.10, remove 2.7, 3.7.

This commit is contained in:
Jerome Duval
2023-03-08 22:16:29 +01:00
parent b88609f40c
commit d2fdbacef3

View File

@@ -27,12 +27,8 @@ BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
"
PYTHON_PACKAGES=(python3 python38)
PYTHON_VERSIONS=(3.7 3.8)
if [ -z "$secondaryArchSuffix" ]; then
PYTHON_PACKAGES+=(python)
PYTHON_VERSIONS+=(2.7)
fi
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]}