From a47af1cd3e207048e86ef30990950eec5755a74e Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Sat, 20 Sep 2025 02:21:10 -0300 Subject: [PATCH] installer: drop Python 3.9 support. All on-tree users should already be targetting 3.10 only. --- dev-python/installer/installer-0.7.0.recipe | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) 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