summaryrefslogtreecommitdiff
path: root/python/PasteDeploy
diff options
context:
space:
mode:
authorYth - Arnaud <yth@ythogtha.org>2021-04-24 06:23:54 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-04-24 22:07:00 +0700
commit52f31f8c864fe99e10c021ffa75651fce0f4bd5a (patch)
treeb3a256ddf4ba13ad9288c0efc401d01bf6a9022a /python/PasteDeploy
parent03f2b269406911592c5af54b71cbee24e009497c (diff)
downloadslackbuilds-52f31f8c864fe99e10c021ffa75651fce0f4bd5a.tar.gz
python/PasteDeploy: Fix REQUIRES.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/PasteDeploy')
-rw-r--r--python/PasteDeploy/PasteDeploy.SlackBuild6
-rw-r--r--python/PasteDeploy/PasteDeploy.info2
2 files changed, 3 insertions, 5 deletions
diff --git a/python/PasteDeploy/PasteDeploy.SlackBuild b/python/PasteDeploy/PasteDeploy.SlackBuild
index 8fc535d160..e6448a3b05 100644
--- a/python/PasteDeploy/PasteDeploy.SlackBuild
+++ b/python/PasteDeploy/PasteDeploy.SlackBuild
@@ -22,7 +22,7 @@
PRGNAM=PasteDeploy
VERSION=${VERSION:-2.0.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -54,9 +54,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
python setup.py install --root=$PKG
-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 README.rst $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/python/PasteDeploy/PasteDeploy.info b/python/PasteDeploy/PasteDeploy.info
index 5f8c885e58..9b5db51cee 100644
--- a/python/PasteDeploy/PasteDeploy.info
+++ b/python/PasteDeploy/PasteDeploy.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.python.org/packages/source/P/PasteDeploy/PasteDeploy-2.0.
MD5SUM="6193afccc0982abedb9b7711d0d6adb0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="pytest-runner"
MAINTAINER="Yth - Arnaud"
EMAIL="yth@ythogtha.org"