pyproject_hooks: 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:39:07 -03:00
committed by OscarL
parent a3b34c45ea
commit b15e9801aa

View File

@@ -12,7 +12,7 @@ Note: The 'pep517' project has been replaced by this project (low level) and the
HOMEPAGE="https://pypi.org/project/pyproject_hooks/"
COPYRIGHT="2017 Thomas Kluyver"
LICENSE="MIT"
REVISION="1"
REVISION="2"
SOURCE_URI="https://files.pythonhosted.org/packages/source/p/pyproject-hooks/pyproject_hooks-$portVersion.tar.gz"
CHECKSUM_SHA256="4b37730834edbd6bd37f26ece6b44802fb1c1ee2ece0e54ddff8bfc06db86965"
SOURCE_DIR="pyproject_hooks-$portVersion"
@@ -30,10 +30,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=\"
@@ -59,8 +58,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