aboutsummaryrefslogtreecommitdiff
path: root/python/bcrypt
diff options
context:
space:
mode:
authorYth - Arnaud <yth@ythogtha.org>2021-04-24 06:24:22 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-04-24 22:07:00 +0700
commit18a28cd34c5f6fb37817b3abd7f828e7fc7c8b79 (patch)
tree83f9f2cb77527f3bda41a0d5f4c58986c77afbf5 /python/bcrypt
parent52f31f8c864fe99e10c021ffa75651fce0f4bd5a (diff)
python/bcrypt: Fix REQUIRES.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/bcrypt')
-rw-r--r--python/bcrypt/bcrypt.SlackBuild6
-rw-r--r--python/bcrypt/bcrypt.info2
2 files changed, 3 insertions, 5 deletions
diff --git a/python/bcrypt/bcrypt.SlackBuild b/python/bcrypt/bcrypt.SlackBuild
index 8b1ed6e95782..de4cbd2272eb 100644
--- a/python/bcrypt/bcrypt.SlackBuild
+++ b/python/bcrypt/bcrypt.SlackBuild
@@ -22,7 +22,7 @@
PRGNAM=bcrypt
VERSION=${VERSION:-3.1.7}
-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 LICENSE MANIFEST.in $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/python/bcrypt/bcrypt.info b/python/bcrypt/bcrypt.info
index 8416ec9d89b1..3539f6c44013 100644
--- a/python/bcrypt/bcrypt.info
+++ b/python/bcrypt/bcrypt.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.python.org/packages/source/b/bcrypt/bcrypt-3.1.7.tar.gz"
MD5SUM="5d6f93b575ce52470af37a8e7dce76fe"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="cffi"
MAINTAINER="Yth - Arnaud"
EMAIL="yth@ythogtha.org"