pyparsing: drop Python 3.9 support.

All on-tree users (matplotlib, spice) are 3.10 only already.
This commit is contained in:
Oscar Lesta
2025-09-19 18:43:35 -03:00
committed by OscarL
parent ffe617d066
commit 411cb76ddd

View File

@@ -7,7 +7,7 @@ Python code."
HOMEPAGE="https://pypi.python.org/pypi/pyparsing"
COPYRIGHT="2003-2022 Paul T. McGuire"
LICENSE="MIT"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/pyparsing/pyparsing/archive/pyparsing_$portVersion.tar.gz"
CHECKSUM_SHA256="9655507e4583fa20d2b6909ce4bf7fee71a9976ea94c734dd857fa9ae7c9c7dd"
SOURCE_DIR="pyparsing-pyparsing_$portVersion"
@@ -25,13 +25,12 @@ 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)
eval "PROVIDES_${pythonPackage}=\"
for pythonVersion in ${PYTHON_VERSIONS[@]}; do
pythonPackage=python${pythonVersion//.}
eval "PROVIDES_$pythonPackage=\"
${portName}_$pythonPackage = $portVersion
\""
eval "REQUIRES_$pythonPackage=\"
@@ -50,9 +49,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/