summaryrefslogtreecommitdiff
path: root/python
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
parent4e05370dffedbddc6de94098e836000c42da7087 (diff)
downloadslackbuilds-4fb0c197365da73e8147b96d78fc024d1b90bbf2.tar.gz
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')
-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 556c55790d..3036590ed1 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