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

@@ -6,7 +6,7 @@ HOMEPAGE="https://github.com/sphinx-contrib/jquery/
COPYRIGHT="2022 Adam Turner"
LICENSE="MIT
0BSD"
REVISION="1"
REVISION="2"
SOURCE_URI="https://pypi.python.org/packages/source/s/sphinxcontrib-jquery/sphinxcontrib-jquery-$portVersion.tar.gz"
CHECKSUM_SHA256="1620739f04e36a2c779f1a131a2dfd49b2fd07351bf1968ced074365933abc7a"
SOURCE_DIR="sphinxcontrib-jquery-$portVersion"
@@ -24,12 +24,12 @@ BUILD_REQUIRES="
haiku_devel
"
PYTHON_PACKAGES=(python39 python310)
PYTHON_VERSIONS=(3.9 3.10)
defaultTestVersion="python39"
for i in "${!PYTHON_PACKAGES[@]}"; do
pythonPackage=${PYTHON_PACKAGES[i]}
PYTHON_VERSIONS=(3.10)
defaultTestVersion=3.10
for i in "${!PYTHON_VERSIONS[@]}"; do
pythonVersion=${PYTHON_VERSIONS[$i]}
pythonPackage=python${pythonVersion//.}
eval "PROVIDES_$pythonPackage=\"
${portName}_$pythonPackage = $portVersion
@@ -50,22 +50,23 @@ for i in "${!PYTHON_PACKAGES[@]}"; do
done
TEST_REQUIRES="
snowballstemmer_$defaultTestVersion
sphinxcontrib_jquery_$defaultTestVersion
snowballstemmer_python$defaultTestVersion
sphinxcontrib_jquery_python$defaultTestVersion
cmd:pytest
"
INSTALL()
{
for i in "${!PYTHON_PACKAGES[@]}"; do
for i in "${!PYTHON_VERSIONS[@]}"; do
pythonVersion=${PYTHON_VERSIONS[$i]}
pythonPackage=python${pythonVersion//.}
python=python$pythonVersion
$python -m build --wheel --skip-dependency-check --no-isolation
$python -m installer -p $prefix dist/*.whl
packageEntries ${PYTHON_PACKAGES[i]} \
packageEntries $pythonPackage \
$prefix/lib/python*
done
}