SUMMARY="An open source Python library for generating PDFs and graphics" DESCRIPTION="ReportLab is a software library that lets you directly create documents in Adobe's \ Portable Document Format (PDF) using the Python programming language. It also creates charts \ and data graphics in various bitmap and vector formats as well as PDF. The ReportLab library directly creates PDF documents based on your graphics commands with no \ intervening steps. This means your applications can generate reports extremely quickly compared \ to other approaches such as scripting GUI PDF authoring tools." HOMEPAGE="https://www.reportlab.com/" COPYRIGHT="2000-2025 ReportLab Inc." LICENSE="BSD (3-clause)" REVISION="3" SOURCE_URI="https://files.pythonhosted.org/packages/py3/${portName:0:1}/$portName/$portName-$portVersion-py3-none-any.whl#noarchive" CHECKSUM_SHA256="299b3b0534e7202bb94ed2ddcd7179b818dcda7de9d8518a57c85a58a1ebaadb" ARCHITECTURES="any" PROVIDES="$portName = $portVersion" REQUIRES="haiku" # This package was not "any" before: REPLACES=" reportlab_x86 " BUILD_REQUIRES="haiku_devel" # Add more versions here if necessary: PYTHON_VERSIONS=(3.10) for pythonVersion in ${PYTHON_VERSIONS[@]}; do pythonPackage=python${pythonVersion//.} eval "PROVIDES_$pythonPackage=\" ${portName}_$pythonPackage = $portVersion \"" eval "REQUIRES_$pythonPackage=\" $REQUIRES chardet_$pythonPackage pillow_$pythonPackage cmd:python$pythonVersion \"" # This package was not "any" before: eval "REPLACES_$pythonPackage=\" ${portName}_x86_$pythonPackage \"" BUILD_REQUIRES+=" installer_$pythonPackage " BUILD_PREREQUIRES+=" cmd:python$pythonVersion " done INSTALL() { for pythonVersion in ${PYTHON_VERSIONS[@]}; do pythonPackage=python${pythonVersion//.} python=python$pythonVersion $python -m installer -p $prefix $portName-$portVersion-py3-none-any.whl packageEntries $pythonPackage \ $prefix/lib/python* done }