SUMMARY="Filters to enhance web typography" DESCRIPTION="Typogrify provides a set of custom filters that automatically apply various \ transformations to plain text in order to yield typographically-improved HTML. While often used in conjunction with Jinja_ and Django_ template systems, the filters can be \ used in any environment." HOMEPAGE="https://github.com/mintchaos/typogrify https://github.com/justinmayer/typogrify" COPYRIGHT="2007 Christian Metts 2014 Justin Mayer" LICENSE="MIT" REVISION="3" SOURCE_URI="https://github.com/justinmayer/typogrify/archive/refs/tags/$portVersion.tar.gz" CHECKSUM_SHA256="212603210fb5a55fd5bed4c34cd9043b96ab605b190d4e17e27396330147e523" 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\n\ cmd:python$pythonVersion\n\ smartypants_$pythonPackage\ \"" BUILD_REQUIRES="$BUILD_REQUIRES build_$pythonPackage hatchling_$pythonPackage installer_$pythonPackage setuptools_$pythonPackage wheel_$pythonPackage" BUILD_PREREQUIRES="$BUILD_PREREQUIRES cmd:python$pythonVersion" done INSTALL() { for i in "${!PYTHON_VERSIONS[@]}"; do pythonVersion=${PYTHON_VERSIONS[$i]} pythonPackage=python${pythonVersion//.} python=python$pythonVersion $python -m build --wheel --no-isolation $python -m installer -p $prefix dist/*.whl packageEntries $pythonPackage \ $prefix/lib/python* done }