From 0302457950f96a117fe8122aa2d675797d4df0ba Mon Sep 17 00:00:00 2001 From: Damien Goutte-Gattat Date: Fri, 22 Nov 2019 22:27:34 +0000 Subject: [PATCH] d/sphinx: Default to Python 3. --- d/sphinx/sphinx.SlackBuild | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/d/sphinx/sphinx.SlackBuild b/d/sphinx/sphinx.SlackBuild index 3ff8ce6b..b1759f80 100755 --- a/d/sphinx/sphinx.SlackBuild +++ b/d/sphinx/sphinx.SlackBuild @@ -36,7 +36,7 @@ WGET=${WGET:-https://files.pythonhosted.org/packages/2a/86/8e1e8400bb6eca5ed9609 # Build infos NAMEPKG=${NAMEPKG:-sphinx} -BUILD=${BUILD:-1GGD} +BUILD=${BUILD:-2GGD} ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')} EXT=${EXT:-txz} @@ -80,14 +80,6 @@ done # And now for Python 3 python3 setup.py build python3 setup.py install --root=$PKG -for f in sphinx-{apidoc,autogen,build,quickstart} ; do - mv $PKG/usr/bin/$f $PKG/usr/bin/$f-3.7 -done - -# Add default symlinks to the -2.7 executables -for f in sphinx-{apidoc,autogen,build,quickstart} ; do - ln -s $f-2.7 $PKG/usr/bin/$f -done # Install the documentation mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION