From 357248b32f362936c499ec6195fe178ba91ef8b5 Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Fri, 19 Sep 2025 16:44:20 -0300 Subject: [PATCH] cycler: drop Python 3.9 support. Only user on-tree (matplotlib) already is 3.10 only. --- dev-python/cycler/cycler-0.11.0.recipe | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/dev-python/cycler/cycler-0.11.0.recipe b/dev-python/cycler/cycler-0.11.0.recipe index 66070efec..48ba050cb 100644 --- a/dev-python/cycler/cycler-0.11.0.recipe +++ b/dev-python/cycler/cycler-0.11.0.recipe @@ -6,7 +6,7 @@ concatenation function concat(). The factory function provides a simple interfac HOMEPAGE="https://github.com/matplotlib/cycler" COPYRIGHT="2015 matplotlib project" LICENSE="BSD (3-clause)" -REVISION="1" +REVISION="2" SOURCE_URI="$HOMEPAGE/archive/refs/tags/v$portVersion.tar.gz" CHECKSUM_SHA256="2530b40270be9e5e8c5f570d15a934c5dc9737ce3f3ba54307b371655e48e7e4" SOURCE_FILENAME="cycler-v$portVersion.tar.gz" @@ -24,11 +24,10 @@ 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) + +for pythonVersion in ${PYTHON_VERSIONS[@]}; do + pythonPackage=python${pythonVersion//.} eval "PROVIDES_$pythonPackage=\" ${portName}_$pythonPackage = $portVersion @@ -47,9 +46,8 @@ done INSTALL() { - 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/