diff --git a/dev-python/pygments/pygments-2.4.2.recipe b/dev-python/pygments/pygments-2.4.2.recipe index 63db8997e..47b1aaaf2 100644 --- a/dev-python/pygments/pygments-2.4.2.recipe +++ b/dev-python/pygments/pygments-2.4.2.recipe @@ -14,7 +14,7 @@ ANSI sequences HOMEPAGE="http://pygments.org/" COPYRIGHT="2006-2019 by the Pygments team" LICENSE="BSD (2-clause)" -REVISION="1" +REVISION="2" SOURCE_URI="https://files.pythonhosted.org/packages/7e/ae/26808275fc76bf2832deb10d3a3ed3107bc4de01b85dcccbe525f2cd6d1e/Pygments-$portVersion.tar.gz" CHECKSUM_SHA256="881c4c157e45f30af185c1ffe8d549d48ac9127433f2c380c24b84572ad66297" SOURCE_DIR="Pygments-$portVersion" @@ -32,8 +32,8 @@ BUILD_REQUIRES=" haiku_devel " -PYTHON_PACKAGES=(python python36 python3) -PYTHON_VERSIONS=(2.7 3.6 3.7) +PYTHON_PACKAGES=(python python3 python38 python39) +PYTHON_VERSIONS=(2.7 3.7 3.8 3.9) for i in "${!PYTHON_PACKAGES[@]}"; do pythonPackage=${PYTHON_PACKAGES[i]} pythonVersion=${PYTHON_VERSIONS[$i]} @@ -53,12 +53,15 @@ done PROVIDES_python="$PROVIDES_python cmd:pygmentize = $portVersion " -PROVIDES_python36="$PROVIDES_python36 - cmd:pygmentize3.6 = $portVersion - " PROVIDES_python3="$PROVIDES_python3 cmd:pygmentize3 = $portVersion " +PROVIDES_python38="$PROVIDES_python38 + cmd:pygmentize3.8 = $portVersion + " +PROVIDES_python39="$PROVIDES_python39 + cmd:pygmentize3.9 = $portVersion + " INSTALL() { @@ -77,8 +80,11 @@ INSTALL() if [ $pythonPackage = python3 ]; then mv $binDir/pygmentize $binDir/pygmentize3 fi - if [ $pythonPackage = python36 ]; then - mv $binDir/pygmentize $binDir/pygmentize3.6 + if [ $pythonPackage = python38 ]; then + mv $binDir/pygmentize $binDir/pygmentize3.8 + fi + if [ $pythonPackage = python39 ]; then + mv $binDir/pygmentize $binDir/pygmentize3.9 fi packageEntries $pythonPackage \ $prefix/lib/python* \