summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2021-09-04 02:20:26 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-09-06 08:50:28 +0700
commit478018374d9dc15f2fdcbdfff9e93bbccb61c2fa (patch)
treeae8bf6bdb3dfea072759bebd5ca450143cd03734 /python
parentf430e2dc24ba76998621c80f85c3ff4113f52b5d (diff)
downloadslackbuilds-478018374d9dc15f2fdcbdfff9e93bbccb61c2fa.tar.gz
python/tempita: Always build for python3
Signed-off-by: Kyle Guinn <elyk03@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r--python/tempita/tempita.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/python/tempita/tempita.SlackBuild b/python/tempita/tempita.SlackBuild
index 0b393fff84..0884c00e35 100644
--- a/python/tempita/tempita.SlackBuild
+++ b/python/tempita/tempita.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Tempita
-# Copyright 2014-2019 Kyle Guinn <elyk03@gmail.com>
+# Copyright 2014-2021 Kyle Guinn <elyk03@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -62,11 +62,9 @@ cd $SRCNAM-$VERSION
chown -R root:root .
chmod -R u+w,go-w,a+rX-st .
-python2 ./setup.py install --root=$PKG
-if python3 -c 'import sys' 2>/dev/null; then
- rm -rf build
- python3 ./setup.py install --root=$PKG
-fi
+python2 setup.py install --root=$PKG
+rm -rf build
+python3 setup.py install --root=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild