aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-21 21:32:13 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-06-02 01:02:24 +0700
commitd57a7bda1687b00a12b401bbda8ac6260879200d (patch)
tree7e8747937e09ff2f867ecc927bb41428cc3c3b29 /python
parentb1f69fd42fbb0c4dc42c9f5dbc271dc6d9d7b8e7 (diff)
python/internetarchive: 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')
-rw-r--r--python/internetarchive/internetarchive.SlackBuild6
-rw-r--r--python/internetarchive/internetarchive.info2
2 files changed, 2 insertions, 6 deletions
diff --git a/python/internetarchive/internetarchive.SlackBuild b/python/internetarchive/internetarchive.SlackBuild
index d6d19e913b6f..287839284043 100644
--- a/python/internetarchive/internetarchive.SlackBuild
+++ b/python/internetarchive/internetarchive.SlackBuild
@@ -69,11 +69,7 @@ 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 {} \;
-if $(python3 -c 'import sys' 2>/dev/null); then
- python3 setup.py install --root=$PKG
-else
- python setup.py install --root=$PKG
-fi
+python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/python/internetarchive/internetarchive.info b/python/internetarchive/internetarchive.info
index dab55c00650a..978bde630c16 100644
--- a/python/internetarchive/internetarchive.info
+++ b/python/internetarchive/internetarchive.info
@@ -2,7 +2,7 @@ PRGNAM="internetarchive"
VERSION="2.0.1"
HOMEPAGE="https://github.com/jjjake/internetarchive"
DOWNLOAD="https://github.com/jjjake/internetarchive/archive/v2.0.1/internetarchive-2.0.1.tar.gz"
-MD5SUM="cd546a46d513990d7f9b175f746ed6af"
+MD5SUM="65c86c147903efcb971e79224d922f9e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="docopt schema tqdm"