aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2022-12-11 16:39:37 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-12-17 09:13:52 +0700
commit52d6364a94c343c81b14dab9c74328e8f2d1763e (patch)
treeedd056f52187b5fee45f360952387ead5817cff5
parent715f3e2737b3b1689b053307ad26952f108f6cc7 (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>
-rw-r--r--python/autopep8/autopep8.SlackBuild6
-rw-r--r--python/autopep8/autopep8.info6
2 files changed, 6 insertions, 6 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
diff --git a/python/autopep8/autopep8.info b/python/autopep8/autopep8.info
index 6d531e3b99d0..1135a417759d 100644
--- a/python/autopep8/autopep8.info
+++ b/python/autopep8/autopep8.info
@@ -1,8 +1,8 @@
PRGNAM="autopep8"
-VERSION="1.4"
+VERSION="2.0.0"
HOMEPAGE="https://github.com/hhatto/autopep8"
-DOWNLOAD="https://files.pythonhosted.org/packages/cf/30/9efc988f92f41e2ba51211e3d317ee82260d563ae84dceb53f7021a1bdfe/autopep8-1.4.tar.gz"
-MD5SUM="0cb541c5d62eb7cfda1102d62f07d6d5"
+DOWNLOAD="https://files.pythonhosted.org/packages/ac/71/48b7fde78ef09f4636a9b81f926b879d0230f90768483c441f22059d2474/autopep8-2.0.0.tar.gz"
+MD5SUM="97fe2ac0fe2ad4c59b15356d0ce5db9f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="pycodestyle"