From 5efa8dbb057b64b3a0d708fce635600a3e81caee Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Fri, 19 Sep 2025 17:43:07 -0300 Subject: [PATCH] iniconfig: drop Python 3.9 support. Only user on-tree (pytest) is already 3.10 only. --- dev-python/iniconfig/iniconfig-1.1.1.recipe | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/dev-python/iniconfig/iniconfig-1.1.1.recipe b/dev-python/iniconfig/iniconfig-1.1.1.recipe index f6ffa3933..0bd7ec9e5 100644 --- a/dev-python/iniconfig/iniconfig-1.1.1.recipe +++ b/dev-python/iniconfig/iniconfig-1.1.1.recipe @@ -13,7 +13,7 @@ HOMEPAGE="https://pypi.org/project/iniconfig/ http://github.com/RonnyPfannschmidt/iniconfig/" COPYRIGHT="2010-2020 Holger Krekel and Ronny Pfannschmidt" LICENSE="MIT" -REVISION="8" +REVISION="9" SOURCE_URI="https://github.com/RonnyPfannschmidt/iniconfig/archive/v$portVersion.tar.gz" CHECKSUM_SHA256="a4489e91242e035cb58700d9a3c4bf49e0b106a85fefefe48025e333ea5ee49c" @@ -30,13 +30,12 @@ BUILD_REQUIRES=" haiku_devel " -PYTHON_PACKAGES=(python39 python310) -PYTHON_VERSIONS=(3.9 3.10) -for i in "${!PYTHON_PACKAGES[@]}"; do - pythonPackage=${PYTHON_PACKAGES[i]} - pythonVersion=${PYTHON_VERSIONS[$i]} +PYTHON_VERSIONS=(3.10) - eval "PROVIDES_${pythonPackage}=\" +for pythonVersion in ${PYTHON_VERSIONS[@]}; do + pythonPackage=python${pythonVersion//.} + + eval "PROVIDES_$pythonPackage=\" ${portName}_$pythonPackage = $portVersion \"" eval "REQUIRES_$pythonPackage=\" @@ -55,9 +54,8 @@ INSTALL() { export SETUPTOOLS_SCM_PRETEND_VERSION=$portVersion - for i in "${!PYTHON_PACKAGES[@]}"; do - pythonPackage=${PYTHON_PACKAGES[i]} - pythonVersion=${PYTHON_VERSIONS[$i]} + for pythonVersion in ${PYTHON_VERSIONS[@]}; do + pythonPackage=python${pythonVersion//.} python=python$pythonVersion installLocation=$prefix/lib/$python/vendor-packages/