From 4fb0c197365da73e8147b96d78fc024d1b90bbf2 Mon Sep 17 00:00:00 2001 From: Dave Woodfall Date: Fri, 21 May 2021 21:32:21 +0100 Subject: python/pynacl: Convert python to python2. Signed-off-by: Dave Woodfall Signed-off-by: Willy Sudiarto Raharjo --- python/pynacl/pynacl.SlackBuild | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'python') diff --git a/python/pynacl/pynacl.SlackBuild b/python/pynacl/pynacl.SlackBuild index 556c55790dbe0..3036590ed1fac 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 -- cgit v1.2.3