rst2pdf, revbump for jinja vs jinja2 (#12995)

This commit is contained in:
Schrijvers Luc
2025-10-01 14:34:42 +02:00
committed by GitHub
parent b25d00ec3e
commit 39f907ef70

View File

@@ -5,14 +5,14 @@ output very quickly and easily."
HOMEPAGE="http://rst2pdf.github.io/"
COPYRIGHT="2007-2020 Roberto Alsina and the contributors to the rst2pdf project"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://files.pythonhosted.org/packages/py3/${portName:0:1}/$portName/$portName-$portVersion-py3-none-any.whl#noarchive"
REVISION="2"
SOURCE_URI="https://files.pythonhosted.org/packages/py3/${portBaseName:0:1}/$portBaseName/$portBaseName-$portVersion-py3-none-any.whl#noarchive"
CHECKSUM_SHA256="10baf9ca1638a228500635369ecf9850270c62b8608f49788556636aeb5c65b8"
ARCHITECTURES="any"
PROVIDES="
$portName = $portVersion
$portBaseName = $portVersion
"
REQUIRES="
haiku
@@ -29,7 +29,7 @@ for pythonVersion in ${PYTHON_VERSIONS[@]}; do
pythonPackage=python${pythonVersion//.}
eval "PROVIDES_$pythonPackage=\"
${portName}_$pythonPackage = $portVersion
${portBaseName}_$pythonPackage = $portVersion
cmd:rst2pdf_$pythonVersion = $portVersion
\""
@@ -44,7 +44,7 @@ for pythonVersion in ${PYTHON_VERSIONS[@]}; do
cmd:python$pythonVersion
docutils_$pythonPackage
importlib_metadata_$pythonPackage
jinja_$pythonPackage
jinja2_$pythonPackage
packaging_$pythonPackage
pygments_$pythonPackage
pyyaml_$pythonPackage
@@ -65,7 +65,7 @@ INSTALL()
pythonPackage=python${pythonVersion//.}
python=python$pythonVersion
$python -m installer -p $prefix $portName-$portVersion-py3-none-any.whl
$python -m installer -p $prefix $portBaseName-$portVersion-py3-none-any.whl
# Version suffix all the scripts
for f in $binDir/*; do