mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-28 10:02:43 +01:00
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>
This commit is contained in:
parent
68e3b76a9e
commit
a03a0aa247
2 changed files with 4 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="python3-isort"
|
||||
VERSION="5.6.4"
|
||||
VERSION="5.7.0"
|
||||
HOMEPAGE="https://timothycrosley.github.io/isort/"
|
||||
DOWNLOAD="https://files.pythonhosted.org/packages/7b/b5/19e828baf02d3e441cd287a3f3cc172bec2d1210c0210294debeddbd3550/isort-5.6.4.tar.gz"
|
||||
MD5SUM="d2dfc32943b1d64311facec6a05c2f98"
|
||||
DOWNLOAD="https://files.pythonhosted.org/packages/a2/f7/f50fc9555dc0fe2dc1e7f69d93f71961d052857c296cad0fb6d275b20008/isort-5.7.0.tar.gz"
|
||||
MD5SUM="941d03d2389b0eb091738b4f0ff5e365"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="python3"
|
||||
|
|
Loading…
Reference in a new issue