editorconfig_core_py: drop Python 3.9 support.

Only user on-tree (jdtextedit) is 3.10 only already.
This commit is contained in:
Oscar Lesta
2025-09-19 16:59:02 -03:00
committed by OscarL
parent 4f98af24d7
commit 4648dcdb42

View File

@@ -9,7 +9,7 @@ website."
HOMEPAGE="https://editorconfig.org/"
COPYRIGHT="2011-2018 EditorConfig Team"
LICENSE="BSD (2-clause)"
REVISION="1"
REVISION="2"
pyName="EditorConfig"
SOURCE_URI="https://pypi.io/packages/source/${pyName:0:1}/$pyName/$pyName-$portVersion.tar.gz"
CHECKSUM_SHA256="57f8ce78afcba15c8b18d46b5170848c88d56fd38f05c2ec60dbbfcb8996e89e"
@@ -28,14 +28,13 @@ BUILD_REQUIRES="
haiku_devel
"
PYTHON_PACKAGES=(python39 python310)
PYTHON_VERSIONS=(3.9 3.10)
PYTHON_VERSIONS=(3.10)
defaultVersion=3.10
for i in "${!PYTHON_PACKAGES[@]}"; do
pythonPackage=${PYTHON_PACKAGES[i]}
pythonVersion=${PYTHON_VERSIONS[$i]}
eval "PROVIDES_${pythonPackage}=\"
for pythonVersion in ${PYTHON_VERSIONS[@]}; do
pythonPackage=python${pythonVersion//.}
eval "PROVIDES_$pythonPackage=\"
${portName}_$pythonPackage = $portVersion
cmd:editorconfig_$pythonVersion
\""
@@ -62,9 +61,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/