SUMMARY="A configurable sidebar-enabled Sphinx theme" DESCRIPTION="Alabaster is a visually (c)lean, responsive, configurable theme for the Sphinx \ documentation system. It is Python 3.6+ compatible. It began as a third-party theme, and is still maintained separately, but as of Sphinx 1.3, \ Alabaster is an install-time dependency of Sphinx and is selected as the default theme." HOMEPAGE="https://github.com/sphinx-doc/alabaster" COPYRIGHT="2020 Jeff Forcier 2011 Kenneth Reitz 2010 Armin Ronacher" LICENSE="BSD (3-clause)" REVISION="2" SOURCE_URI="$HOMEPAGE/archive/refs/tags/$portVersion.tar.gz" CHECKSUM_SHA256="c5efad86e1bb8215d037e2890e62aa2bb5e4f13f6fa455be100413835b5bfe43" SOURCE_FILENAME="alabaster-$portVersion.tar.gz" ARCHITECTURES="any" PROVIDES=" $portName = $portVersion " REQUIRES=" haiku " BUILD_REQUIRES=" haiku_devel " PYTHON_VERSIONS=(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+=" setuptools_$pythonPackage " BUILD_PREREQUIRES+=" cmd:python$pythonVersion " done INSTALL() { for i in "${!PYTHON_VERSIONS[@]}"; do pythonVersion=${PYTHON_VERSIONS[$i]} pythonPackage=python${pythonVersion//.} python=python$pythonVersion installLocation=$prefix/lib/$python/vendor-packages/ export PYTHONPATH=$installLocation:$PYTHONPATH mkdir -p $installLocation rm -rf build $python setup.py build install \ --root=/ --prefix=$prefix packageEntries $pythonPackage \ $prefix/lib/python* done }