packaging: drop Python 3.9 support.

All users on-tree already target 3.10 only.
This commit is contained in:
Oscar Lesta
2025-09-20 02:38:17 -03:00
committed by OscarL
parent b9d4cac989
commit a3b34c45ea

View File

@@ -4,7 +4,7 @@ version handling, specifiers, markers, requirements, tags, utilities."
HOMEPAGE="https://pypi.python.org/pypi/packaging"
COPYRIGHT="Donald Stufft and individual contributors"
LICENSE="BSD (2-clause)"
REVISION="1"
REVISION="2"
SOURCE_URI="https://pypi.io/packages/source/${portName:0:1}/$portName/$portName-$portVersion.tar.gz"
CHECKSUM_SHA256="026ed72c8ed3fcce5bf8950572258698927fd1dbda10a5e981cdf0ac37f4f002"
@@ -21,10 +21,9 @@ 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=\"
@@ -47,8 +46,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