installer: drop Python 3.9 support.

All on-tree users should already be targetting 3.10 only.
This commit is contained in:
Oscar Lesta
2025-09-20 02:21:10 -03:00
committed by OscarL
parent e3436c8f86
commit a47af1cd3e

View File

@@ -10,7 +10,7 @@ wheels.
HOMEPAGE="https://pypi.org/project/installer/"
COPYRIGHT="2020 Pradyun Gedam"
LICENSE="MIT"
REVISION="6"
REVISION="7"
SOURCE_URI="https://pypi.io/packages/source/i/installer/installer-$portVersion.tar.gz"
CHECKSUM_SHA256="a26d3e3116289bb08216e0d0f7d925fcef0b0194eedfa0c944bcaaa106c4b631"
@@ -27,13 +27,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=\"
@@ -51,8 +50,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