aboutsummaryrefslogtreecommitdiff
path: root/python/pynacl
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-21 21:32:21 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-06-02 01:02:27 +0700
commit4fb0c197365da73e8147b96d78fc024d1b90bbf2 (patch)
treebd55c3d49a0cb998904ead6c784776f6f86c07c7 /python/pynacl
parent4e05370dffedbddc6de94098e836000c42da7087 (diff)
python/pynacl: Convert python to python2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/pynacl')
-rw-r--r--python/pynacl/pynacl.SlackBuild5
1 files changed, 1 insertions, 4 deletions
diff --git a/python/pynacl/pynacl.SlackBuild b/python/pynacl/pynacl.SlackBuild
index 556c55790dbe..3036590ed1fa 100644
--- a/python/pynacl/pynacl.SlackBuild
+++ b/python/pynacl/pynacl.SlackBuild
@@ -65,10 +65,7 @@ if $(python2 -c 'import sys' 2>/dev/null); then
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