python/PasteDeploy: Fix REQUIRES.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Yth - Arnaud 2021-04-24 06:23:54 +00:00 committed by Willy Sudiarto Raharjo
parent 03f2b26940
commit 52f31f8c86
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 3 additions and 5 deletions

View File

@ -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

View File

@ -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"