mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
pygments: drop Python 3.9 support.
All on-tree users (calibre, gtk_doc, icecream, prompt_toolkit, retext, sphinx, and xonsh) of this package are 3.10 only already.
This commit is contained in:
@@ -14,7 +14,7 @@ ANSI sequences
|
||||
HOMEPAGE="https://pygments.org/"
|
||||
COPYRIGHT="2006-2023 by the Pygments team"
|
||||
LICENSE="BSD (2-clause)"
|
||||
REVISION="4"
|
||||
REVISION="5"
|
||||
SOURCE_URI="https://pypi.org/packages/source/P/Pygments/Pygments-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="b3ed06a9e8ac9a9aae5a6f5dbe78a8a58655d17b43b93c078f094ddc476ae297"
|
||||
SOURCE_DIR="Pygments-$portVersion"
|
||||
@@ -33,15 +33,14 @@ BUILD_REQUIRES="
|
||||
"
|
||||
|
||||
# Add more versions here as necessary:
|
||||
PYTHON_VERSIONS=(3.9 3.10)
|
||||
PYTHON_VERSIONS=(3.10)
|
||||
# And don't forget to change this if the default Python version on Haiku changes:
|
||||
defaultVersion=3.10
|
||||
|
||||
for i in "${!PYTHON_VERSIONS[@]}"; do
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
for pythonVersion in ${PYTHON_VERSIONS[@]}; do
|
||||
pythonPackage=python${pythonVersion//.}
|
||||
|
||||
eval "PROVIDES_${pythonPackage}=\"
|
||||
eval "PROVIDES_$pythonPackage=\"
|
||||
${portName}_$pythonPackage = $portVersion
|
||||
cmd:pygmentize_$pythonVersion = $portVersion
|
||||
\""
|
||||
@@ -67,8 +66,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
|
||||
|
||||
Reference in New Issue
Block a user