diff --git a/dev-python/installer/installer-0.7.0.recipe b/dev-python/installer/installer-0.7.0.recipe index 0484bbb4d..646c84b2c 100644 --- a/dev-python/installer/installer-0.7.0.recipe +++ b/dev-python/installer/installer-0.7.0.recipe @@ -10,7 +10,7 @@ wheels. HOMEPAGE="https://pypi.org/project/installer/" COPYRIGHT="2020 Pradyun Gedam" LICENSE="MIT" -REVISION="6" +REVISION="7" SOURCE_URI="https://pypi.io/packages/source/i/installer/installer-$portVersion.tar.gz" CHECKSUM_SHA256="a26d3e3116289bb08216e0d0f7d925fcef0b0194eedfa0c944bcaaa106c4b631" @@ -27,13 +27,12 @@ BUILD_REQUIRES=" haiku_devel " -PYTHON_VERSIONS=(3.9 3.10) +PYTHON_VERSIONS=(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 \"" eval "REQUIRES_$pythonPackage=\" @@ -51,8 +50,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