summaryrefslogtreecommitdiff
path: root/python/rst-linker
diff options
context:
space:
mode:
authorProf. HORSTMANN <wmh@eipg.fr>2021-04-24 07:33:35 +0000
committerRobby Workman <rworkman@slackbuilds.org>2021-04-27 01:03:28 -0500
commit340410fceae7748a29ed9ecac0bdae7c427ac488 (patch)
tree266da7c66e26697b48b88596a8e68177778efb6f /python/rst-linker
parentea5e1c23ac317e41c1a8295f722c3e6065e12277 (diff)
downloadslackbuilds-340410fceae7748a29ed9ecac0bdae7c427ac488.tar.gz
python/rst-linker: Fix REQUIRES.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Diffstat (limited to 'python/rst-linker')
-rw-r--r--python/rst-linker/rst-linker.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/python/rst-linker/rst-linker.SlackBuild b/python/rst-linker/rst-linker.SlackBuild
index d8f904d9cb..d19dd42063 100644
--- a/python/rst-linker/rst-linker.SlackBuild
+++ b/python/rst-linker/rst-linker.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=rst-linker
SRCPKG=${SRCPKG-rst.linker}
VERSION=${VERSION:-2.0.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
SRCNAM="$(printf $SRCPKG | cut -d- -f2-)"
@@ -59,11 +59,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
python setup.py install --root=$PKG
-
-# 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 LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION