From 114e05afa4430be98ec5429b05d9bdc168bbe066 Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Sat, 20 Sep 2025 02:40:06 -0300 Subject: [PATCH] tomli: drop Python 3.9 support. All users on-tree already target 3.10 only. --- dev-python/tomli/tomli-2.0.1.recipe | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/dev-python/tomli/tomli-2.0.1.recipe b/dev-python/tomli/tomli-2.0.1.recipe index 957b2540d..32e478f2c 100644 --- a/dev-python/tomli/tomli-2.0.1.recipe +++ b/dev-python/tomli/tomli-2.0.1.recipe @@ -6,7 +6,7 @@ module is not available and that have not yet reached their end-of-life." HOMEPAGE="https://github.com/hukkin/tomli" COPYRIGHT="2021 Taneli Hukkinen" LICENSE="BSD (3-clause)" -REVISION="5" +REVISION="6" pypiVersion="97/75/10a9ebee3fd790d20926a90a2547f0bf78f371b2f13aa822c759680ca7b9" SOURCE_URI="https://files.pythonhosted.org/packages/$pypiVersion/tomli-2.0.1-py3-none-any.whl#noarchive" CHECKSUM_SHA256='939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc' @@ -24,13 +24,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=\" @@ -45,8 +44,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