sphinx: clean up, drop _python39 package. (#11605)

Also cleanup and drop _python39 from related recipes:

- alabaster
- sphinx_rtd_theme
- sphinx_argparse
- sphinxcontrib_applehelp
- sphinxcontrib_devhelp
- sphinxcontrib_htmlhelp
- sphinxcontrib_jquery
- sphinxcontrib_jsmath
- sphinxcontrib_qthelp
- sphinxcontrib_serializinghtml
This commit is contained in:
OscarL
2025-01-08 06:30:51 -03:00
committed by GitHub
parent 18c180c8e5
commit fd55e514dd
11 changed files with 109 additions and 98 deletions

View File

@@ -9,7 +9,7 @@ COPYRIGHT="2020 Jeff Forcier
2011 Kenneth Reitz
2010 Armin Ronacher"
LICENSE="BSD (3-clause)"
REVISION="1"
REVISION="2"
SOURCE_URI="$HOMEPAGE/archive/refs/tags/$portVersion.tar.gz"
CHECKSUM_SHA256="c5efad86e1bb8215d037e2890e62aa2bb5e4f13f6fa455be100413835b5bfe43"
SOURCE_FILENAME="alabaster-$portVersion.tar.gz"
@@ -27,11 +27,11 @@ BUILD_REQUIRES="
haiku_devel
"
PYTHON_PACKAGES=(python39 python310)
PYTHON_VERSIONS=(3.9 3.10)
for i in "${!PYTHON_PACKAGES[@]}"; do
pythonPackage=${PYTHON_PACKAGES[i]}
PYTHON_VERSIONS=(3.10)
for i in "${!PYTHON_VERSIONS[@]}"; do
pythonVersion=${PYTHON_VERSIONS[$i]}
pythonPackage=python${pythonVersion//.}
eval "PROVIDES_$pythonPackage=\"
${portName}_$pythonPackage = $portVersion
@@ -50,9 +50,9 @@ done
INSTALL()
{
for i in "${!PYTHON_PACKAGES[@]}"; do
pythonPackage=${PYTHON_PACKAGES[i]}
for i in "${!PYTHON_VERSIONS[@]}"; do
pythonVersion=${PYTHON_VERSIONS[$i]}
pythonPackage=python${pythonVersion//.}
python=python$pythonVersion
installLocation=$prefix/lib/$python/vendor-packages/