From 478018374d9dc15f2fdcbdfff9e93bbccb61c2fa Mon Sep 17 00:00:00 2001 From: Kyle Guinn Date: Sat, 4 Sep 2021 02:20:26 -0500 Subject: python/tempita: Always build for python3 Signed-off-by: Kyle Guinn Signed-off-by: Willy Sudiarto Raharjo --- python/tempita/tempita.SlackBuild | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'python') 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 +# Copyright 2014-2021 Kyle Guinn # 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 -- cgit v1.2.3