From ce3e6fa735b792d09ae674beb9acfa04e21a12d9 Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Sat, 13 Apr 2024 00:59:20 +0000 Subject: Sat Apr 13 00:59:20 UTC 2024 l/python-docutils-0.21.1-x86_64-2.txz: Rebuilt. Fix ridiculous broken symlink. Thanks to marav. --- source/l/python-docutils/python-docutils.SlackBuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'source') diff --git a/source/l/python-docutils/python-docutils.SlackBuild b/source/l/python-docutils/python-docutils.SlackBuild index 7a9476ebd..6bbf75897 100755 --- a/source/l/python-docutils/python-docutils.SlackBuild +++ b/source/l/python-docutils/python-docutils.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=python-docutils VERSION=${VERSION:-$(echo docutils-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} SRCNAM=docutils @@ -65,10 +65,12 @@ unshare -n python3 -m build --wheel --no-isolation || exit 1 python3 -m installer --destdir "$PKG" dist/*.whl || exit 1 - +# Gotta be careful with that * cd $PKG/usr/bin for i in *.py; do - ln -s "$i" "$PKG/usr/bin/$(basename $i .py)" + if [ -r "$i" ]; then + ln -s "$i" "$PKG/usr/bin/$(basename $i .py)" + fi done cd - -- cgit v1.2.3