aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
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 0b393fff84394..0884c00e35798 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