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 | |
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')
-rw-r--r-- | python/Whoosh/README | 9 | ||||
-rw-r--r-- | python/Whoosh/Whoosh.SlackBuild | 6 |
2 files changed, 8 insertions, 7 deletions
diff --git a/python/Whoosh/README b/python/Whoosh/README index 35b084975f..71ca2ab096 100644 --- a/python/Whoosh/README +++ b/python/Whoosh/README @@ -1,3 +1,6 @@ -Whoosh is a fast, featureful full-text indexing and searching library implemented in pure Python. -Programmers can use it to easily add search functionality to their applications and websites. -Every part of how Whoosh works can be extended or replaced to meet your needs exactly. +Whoosh is a fast, featureful full-text indexing and searching library +implemented in pure Python. +Programmers can use it to easily add search functionality to their +applications and websites. +Every part of how Whoosh works can be extended or replaced to meet your +needs exactly. 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 |