SUMMARY="A sphinx extension which renders HTML help files" DESCRIPTION="sphinxcontrib-htmlhelp is a sphinx extension which renders HTML help files" HOMEPAGE="https://www.sphinx-doc.org/ https://github.com/sphinx-doc/sphinxcontrib-htmlhelp" COPYRIGHT="2007-2019 by the Sphinx team" LICENSE="BSD (2-clause)" REVISION="2" SOURCE_URI="https://pypi.python.org/packages/source/s/sphinxcontrib-htmlhelp/sphinxcontrib-htmlhelp-$portVersion.tar.gz" CHECKSUM_SHA256="0cbdd302815330058422b98a113195c9249825d681e18f11e8b1f78a2f11efff" SOURCE_DIR="sphinxcontrib-htmlhelp-$portVersion" ARCHITECTURES="any" PROVIDES=" $portName = $portVersion " REQUIRES=" haiku " BUILD_REQUIRES=" haiku_devel " 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 \"" eval "REQUIRES_$pythonPackage=\" haiku cmd:python$pythonVersion \"" BUILD_REQUIRES+=" build_$pythonPackage installer_$pythonPackage setuptools_$pythonPackage wheel_$pythonPackage " BUILD_PREREQUIRES+=" cmd:python$pythonVersion " done TEST_REQUIRES=" html5lib_python$defaultTestVersion sphinx_python$defaultTestVersion cmd:pytest " INSTALL() { 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 $pythonPackage \ $prefix/lib/python* done } TEST() { pytest -v }