aboutsummaryrefslogtreecommitdiff
path: root/python/python3-isort/python3-isort.SlackBuild
diff options
context:
space:
mode:
authorMarkus Rinne <markus.ka.rinne@gmail.com>2021-01-01 17:36:12 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-01-02 10:48:18 +0700
commita03a0aa2474320ebec4516150a5eb67d6bbe8aaa (patch)
treec51deaa863e8191ece3af6c8cbbba7ab03700ad1 /python/python3-isort/python3-isort.SlackBuild
parent68e3b76a9ef8a8b1bc72f915e6e3a6ff9f49ecd2 (diff)
python/python3-isort: Updated for version 5.7.0.
As part of this commit, the SlackBuild script is changed to retain the directory /usr/bin in the package. This is done because the new version of isort installs also other binaries than 'isort' into /usr/bin. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-isort/python3-isort.SlackBuild')
-rw-r--r--python/python3-isort/python3-isort.SlackBuild3
1 files changed, 1 insertions, 2 deletions
diff --git a/python/python3-isort/python3-isort.SlackBuild b/python/python3-isort/python3-isort.SlackBuild
index d7b4e10873..04e2475e75 100644
--- a/python/python3-isort/python3-isort.SlackBuild
+++ b/python/python3-isort/python3-isort.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=python3-isort
SRCNAM=isort
-VERSION=${VERSION:-5.6.4}
+VERSION=${VERSION:-5.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -74,7 +74,6 @@ python3 setup.py install --root=$PKG
# Remove isort binary, because it is contained in Python 2 version of isort package.
rm $PKG/usr/bin/isort
-rmdir $PKG/usr/bin
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