summaryrefslogtreecommitdiffstats
path: root/python/pathtools3/pathtools3.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/pathtools3/pathtools3.SlackBuild')
-rw-r--r--python/pathtools3/pathtools3.SlackBuild11
1 files changed, 1 insertions, 10 deletions
diff --git a/python/pathtools3/pathtools3.SlackBuild b/python/pathtools3/pathtools3.SlackBuild
index e0e6e25a70..eeb0de4460 100644
--- a/python/pathtools3/pathtools3.SlackBuild
+++ b/python/pathtools3/pathtools3.SlackBuild
@@ -58,16 +58,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 2.7 will be droped in the future.
-if $(python2 -c 'import sys' 2>/dev/null); then
- python2 setup.py install --root=$PKG
- else
- python setup.py install --root=$PKG
-fi
-# Replacement of python-2.x Python3.x check presence and build if found.
-if $(python3 -c 'import sys' 2>/dev/null); then
- python3 setup.py install --root=$PKG
-fi
+python3 setup.py install --root=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION