diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2022-12-11 16:39:37 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-12-17 09:13:52 +0700 |
commit | 52d6364a94c343c81b14dab9c74328e8f2d1763e (patch) | |
tree | edd056f52187b5fee45f360952387ead5817cff5 /python/autopep8/autopep8.SlackBuild | |
parent | 715f3e2737b3b1689b053307ad26952f108f6cc7 (diff) |
python/autopep8: Updated for version 2.0.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/autopep8/autopep8.SlackBuild')
-rw-r--r-- | python/autopep8/autopep8.SlackBuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/autopep8/autopep8.SlackBuild b/python/autopep8/autopep8.SlackBuild index 63cfed16617e..5dd89db0cd87 100644 --- a/python/autopep8/autopep8.SlackBuild +++ b/python/autopep8/autopep8.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for autopep8 -# Copyright 2014-2018 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2014-2022 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=autopep8 -VERSION=${VERSION:-1.4} +VERSION=${VERSION:-2.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -79,7 +79,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 {} \; -python2 setup.py install --root=$PKG +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 |