diff options
author | Dave Woodfall <dave@slackbuilds.org> | 2021-05-21 21:32:09 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-06-02 01:02:22 +0700 |
commit | d28e074fb56cd9aaa3d4f40d9b7bd87622a13f44 (patch) | |
tree | 1caebead14ca5e02e7858b6f09ae01c040b475f9 /python/Whoosh/Whoosh.SlackBuild | |
parent | b2ce7dfab86e0812e9913bdd8961f0d1c1828995 (diff) | |
download | slackbuilds-d28e074fb56cd9aaa3d4f40d9b7bd87622a13f44.tar.gz |
python/Whoosh: Convert python to python2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/Whoosh/Whoosh.SlackBuild')
-rw-r--r-- | python/Whoosh/Whoosh.SlackBuild | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/python/Whoosh/Whoosh.SlackBuild b/python/Whoosh/Whoosh.SlackBuild index 02b56cf097..1653897fad 100644 --- a/python/Whoosh/Whoosh.SlackBuild +++ b/python/Whoosh/Whoosh.SlackBuild @@ -53,10 +53,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -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 +python2 setup.py install --root=$PKG +python3 setup.py install --root=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a README* MANIFEST.in $PKG/usr/doc/$PRGNAM-$VERSION |