summaryrefslogtreecommitdiffstats
path: root/python/tzlocal/tzlocal.SlackBuild
diff options
context:
space:
mode:
author Dimitris Zlatanidis <d.zlatanidis@gmail.com>2021-03-28 11:22:13 +0300
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-04-03 08:48:36 +0700
commit9bf649d1c94ff23e0e535e3c5efeb569736f53a2 (patch)
treea7024e81d00ce56b80e2afdc5e2450fffad5291e /python/tzlocal/tzlocal.SlackBuild
parentc4e347cf97ce1d9f5b0033473b91b33084efae7c (diff)
downloadslackbuilds-9bf649d1c94ff23e0e535e3c5efeb569736f53a2.tar.gz
slackbuilds-9bf649d1c94ff23e0e535e3c5efeb569736f53a2.tar.xz
python/tzlocal: Updated for version 2.1.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/tzlocal/tzlocal.SlackBuild')
-rw-r--r--python/tzlocal/tzlocal.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/python/tzlocal/tzlocal.SlackBuild b/python/tzlocal/tzlocal.SlackBuild
index 122697c81a..d6495f6f02 100644
--- a/python/tzlocal/tzlocal.SlackBuild
+++ b/python/tzlocal/tzlocal.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for tzlocal
-# Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2021 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=tzlocal
-VERSION=${VERSION:-1.5.1}
+VERSION=${VERSION:-2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,6 +70,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
python 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