From e3436c8f8670ebc6069b5512d661d18c840f492e Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Sat, 20 Sep 2025 01:56:42 -0300 Subject: [PATCH] build: drop Python 3.9 support. All on-tree users should already be targetting 3.10. --- dev-python/build/build-1.2.2.recipe | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/dev-python/build/build-1.2.2.recipe b/dev-python/build/build-1.2.2.recipe index f5b7fe050..b7da5498d 100644 --- a/dev-python/build/build-1.2.2.recipe +++ b/dev-python/build/build-1.2.2.recipe @@ -4,7 +4,7 @@ It is a simple build tool and does not perform any dependency management." HOMEPAGE="https://pypi.org/project/build/" COPYRIGHT="2019 Filipe LaĆ­ns" LICENSE="MIT" -REVISION="1" +REVISION="2" SOURCE_URI="https://files.pythonhosted.org/packages/source/b/build/build-$portVersion.tar.gz" CHECKSUM_SHA256="119b2fb462adef986483438377a13b2f42064a2a3a4161f24a0cca698a07ac8c" @@ -21,11 +21,10 @@ BUILD_REQUIRES=" haiku_devel " -PYTHON_VERSIONS=(3.9 3.10) +PYTHON_VERSIONS=(3.10) 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=\" @@ -61,8 +60,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