sphinx, fix symbolic links (#8796)

This commit is contained in:
Schrijvers Luc
2023-06-04 18:41:58 +02:00
committed by GitHub
parent 9589e4deb3
commit 7285d13659

View File

@@ -21,7 +21,7 @@ extensions."
HOMEPAGE="https://www.sphinx-doc.org/"
COPYRIGHT="2023 Georg Brandl"
LICENSE="BSD (2-clause)"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/sphinx-doc/sphinx/archive/refs/tags/v$portVersion.tar.gz"
CHECKSUM_SHA256="07615442c34dbbf1844d4b514c659c27a8fa14819d6999b920773aed798d00c9"
@@ -120,7 +120,7 @@ INSTALL()
# And provide suffix-less symlinks for the default version
if [ $pythonVersion = $defaultVersion ]; then
for f in $binDir/*; do
ln -sr $f $f-$pythonVersion
ln -sr $f ${f%-$pythonVersion}
done
fi