diff --git a/dev-python/pygments/pygments-2.14.0.recipe b/dev-python/pygments/pygments-2.14.0.recipe index 938d23f63..977eb1a9a 100644 --- a/dev-python/pygments/pygments-2.14.0.recipe +++ b/dev-python/pygments/pygments-2.14.0.recipe @@ -14,7 +14,7 @@ ANSI sequences HOMEPAGE="https://pygments.org/" COPYRIGHT="2006-2023 by the Pygments team" LICENSE="BSD (2-clause)" -REVISION="4" +REVISION="5" SOURCE_URI="https://pypi.org/packages/source/P/Pygments/Pygments-$portVersion.tar.gz" CHECKSUM_SHA256="b3ed06a9e8ac9a9aae5a6f5dbe78a8a58655d17b43b93c078f094ddc476ae297" SOURCE_DIR="Pygments-$portVersion" @@ -33,15 +33,14 @@ BUILD_REQUIRES=" " # Add more versions here as necessary: -PYTHON_VERSIONS=(3.9 3.10) +PYTHON_VERSIONS=(3.10) # And don't forget to change this if the default Python version on Haiku changes: defaultVersion=3.10 -for i in "${!PYTHON_VERSIONS[@]}"; do - pythonVersion=${PYTHON_VERSIONS[$i]} +for pythonVersion in ${PYTHON_VERSIONS[@]}; do pythonPackage=python${pythonVersion//.} - eval "PROVIDES_${pythonPackage}=\" + eval "PROVIDES_$pythonPackage=\" ${portName}_$pythonPackage = $portVersion cmd:pygmentize_$pythonVersion = $portVersion \"" @@ -67,8 +66,7 @@ done INSTALL() { - for i in "${!PYTHON_VERSIONS[@]}"; do - pythonVersion=${PYTHON_VERSIONS[$i]} + for pythonVersion in ${PYTHON_VERSIONS[@]}; do pythonPackage=python${pythonVersion//.} python=python$pythonVersion