reportlab, revbump, fix REPLACES (#12994)

* reportlab, revbump, fix REPLACES

* Update dev-python/reportlab/reportlab-4.4.4.recipe

Co-authored-by: Joachim Mairböck <j.mairboeck@gmail.com>

---------

Co-authored-by: Joachim Mairböck <j.mairboeck@gmail.com>
This commit is contained in:
Schrijvers Luc
2025-10-01 15:34:19 +02:00
committed by GitHub
parent 9155087cfe
commit 695436b9ab

View File

@@ -9,7 +9,7 @@ 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="2"
REVISION="3"
SOURCE_URI="https://files.pythonhosted.org/packages/py3/${portName:0:1}/$portName/$portName-$portVersion-py3-none-any.whl#noarchive"
CHECKSUM_SHA256="299b3b0534e7202bb94ed2ddcd7179b818dcda7de9d8518a57c85a58a1ebaadb"
@@ -17,6 +17,11 @@ 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:
@@ -35,6 +40,10 @@ for pythonVersion in ${PYTHON_VERSIONS[@]}; do
pillow_$pythonPackage
cmd:python$pythonVersion
\""
# This package was not "any" before:
eval "REPLACES_$pythonPackage=\"
${portName}_x86_$pythonPackage
\""
BUILD_REQUIRES+="
installer_$pythonPackage
@@ -44,11 +53,6 @@ for pythonVersion in ${PYTHON_VERSIONS[@]}; do
"
done
# This package was not "any" before:
if [ "$targetArchitecture" = x86_gcc2 ]; then
REPLACES_python310="reportlab_x86_python310"
fi
INSTALL()
{
for pythonVersion in ${PYTHON_VERSIONS[@]}; do