summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
author B. Watson <urchlay@slackware.uk>2023-05-20 05:04:30 -0400
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-05-27 08:08:57 +0700
commitcf043f8b85dd9dcbd94ea939d38f3fd988e73c2e (patch)
tree1e98fd73d3ab26e1084ab92608423e7ebe6d880c /network
parent96a8c1cfff6c030e2672977dc69337f0e53e38f3 (diff)
downloadslackbuilds-cf043f8b85dd9dcbd94ea939d38f3fd988e73c2e.tar.gz
slackbuilds-cf043f8b85dd9dcbd94ea939d38f3fd988e73c2e.tar.xz
network/surl: python => python2.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to '')
-rw-r--r--network/surl/surl.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/network/surl/surl.SlackBuild b/network/surl/surl.SlackBuild
index 196d93ae97..803031a3b4 100644
--- a/network/surl/surl.SlackBuild
+++ b/network/surl/surl.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230520 bkw: python => python2 (no other changes).
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=surl
@@ -64,7 +66,7 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
patch -p1 < $CWD/disable_broken_services.diff
sed -i 's,share/man,man,' setup.py
-python setup.py install --root=$PKG
+python2 setup.py install --root=$PKG
gzip -9 $PKG/usr/man/man1/$PRGNAM.1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION