aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2021-05-15 18:18:42 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-27 07:47:21 +0700
commit62e6aa7c32f5439307bc4367fce46ed7c1d8d0d5 (patch)
tree014dc940cf58847d93eebbc7c9219b0299cd5274
parent52a32a56a7e9208667c0ee2c6dfe4768c8389c20 (diff)
system/TermRecord: Removed Python 2 support.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/TermRecord/TermRecord.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/TermRecord/TermRecord.SlackBuild b/system/TermRecord/TermRecord.SlackBuild
index ca45787fd194..6a59d3017b31 100644
--- a/system/TermRecord/TermRecord.SlackBuild
+++ b/system/TermRecord/TermRecord.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for TermRecord
-# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2021 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=TermRecord
VERSION=${VERSION:-1.2.5}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -69,7 +69,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true