snoballstemmer: drop Python 3.9 support.

All on-tree users (orcus0.18, sphinx, sphinxcontrib_jquery, assimp_docs)
already target 3.10 only.
This commit is contained in:
Oscar Lesta
2025-09-19 19:21:53 -03:00
committed by OscarL
parent d6831586bd
commit 219ac9bc27

View File

@@ -19,7 +19,7 @@ COPYRIGHT="2001, Dr Martin Porter
2013, Yoshiki Shibukawa
2006-2019 Olly Betts"
LICENSE="BSD (3-clause)"
REVISION="1"
REVISION="2"
SOURCE_URI="https://pypi.python.org/packages/source/s/snowballstemmer/snowballstemmer-$portVersion.tar.gz"
CHECKSUM_SHA256="09b16deb8547d3412ad7b590689584cd0fe25ec8db3be37788be3810cbf19cb1"
@@ -36,11 +36,10 @@ 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)
for pythonVersion in ${PYTHON_VERSIONS[@]}; do
pythonPackage=python${pythonVersion//.}
eval "PROVIDES_$pythonPackage=\"
${portName}_$pythonPackage = $portVersion
@@ -59,9 +58,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/