From 9092f0013016623085c0534f47b55f8b79f2e7e9 Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Fri, 19 Sep 2025 17:15:10 -0300 Subject: [PATCH] executing: drop Python 3.9 support. Only user on-tree (icecream) is 3.10 only already. --- dev-python/executing/executing-1.2.0.recipe | 22 ++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/dev-python/executing/executing-1.2.0.recipe b/dev-python/executing/executing-1.2.0.recipe index 4da9a804b..ae9f2293a 100644 --- a/dev-python/executing/executing-1.2.0.recipe +++ b/dev-python/executing/executing-1.2.0.recipe @@ -4,7 +4,7 @@ particularly the AST node being executed" HOMEPAGE="https://github.com/alexmojaki/executing" COPYRIGHT="2019 Alex Hall" LICENSE="MIT" -REVISION="1" +REVISION="2" SOURCE_URI="https://pypi.io/packages/source/e/$portName/$portName-$portVersion.tar.gz" CHECKSUM_SHA256="19da64c18d2d851112f09c287f8d3dbbdf725ab0e569077efb6cdcbd3497c107" @@ -17,11 +17,10 @@ REQUIRES=" haiku " -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 @@ -49,13 +48,14 @@ done INSTALL() { - for i in "${!PYTHON_PACKAGES[@]}"; do - python=python${PYTHON_VERSIONS[$i]} + for pythonVersion in ${PYTHON_VERSIONS[@]}; do + pythonPackage=python${pythonVersion//.} + python=python$pythonVersion $python -m build --wheel --skip-dependency-check --no-isolation $python -m installer -p $prefix dist/*.whl - packageEntries ${PYTHON_PACKAGES[i]} \ + packageEntries $pythonPackage \ $prefix/lib/python* done } @@ -72,8 +72,8 @@ TEST() -O littleutils/__init__.py fi - for i in "${!PYTHON_VERSIONS[@]}"; do - python=python${PYTHON_VERSIONS[$i]} + for pythonVersion in ${PYTHON_VERSIONS[@]}; do + python=python$pythonVersion $python -m pytest done