From 9bf649d1c94ff23e0e535e3c5efeb569736f53a2 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Sun, 28 Mar 2021 11:22:13 +0300 Subject: python/tzlocal: Updated for version 2.1. Signed-off-by: Dimitris Zlatanidis Signed-off-by: Willy Sudiarto Raharjo --- python/tzlocal/tzlocal.SlackBuild | 5 +++-- python/tzlocal/tzlocal.info | 8 ++++---- 2 files changed, 7 insertions(+), 6 deletions(-) (limited to 'python') 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 diff --git a/python/tzlocal/tzlocal.info b/python/tzlocal/tzlocal.info index 39288117b2..a5a526dfab 100644 --- a/python/tzlocal/tzlocal.info +++ b/python/tzlocal/tzlocal.info @@ -1,10 +1,10 @@ PRGNAM="tzlocal" -VERSION="1.5.1" +VERSION="2.1" HOMEPAGE="https://github.com/regebro/tzlocal" -DOWNLOAD="https://pypi.python.org/packages/cb/89/e3687d3ed99bc882793f82634e9824e62499fdfdc4b1ae39e211c5b05017/tzlocal-1.5.1.tar.gz" -MD5SUM="4553be891efa0812c4adfb0c6e818eec" +DOWNLOAD="https://files.pythonhosted.org/packages/ce/73/99e4cc30db6b21cba6c3b3b80cffc472cc5a0feaf79c290f01f1ac460710/tzlocal-2.1.tar.gz" +MD5SUM="c0877603ff9de71cd8ca6ee2b50d2ebd" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="pytz" +REQUIRES="python3 pytz" MAINTAINER="Dimitris Zlatanidis" EMAIL="d.zlatanidis@gmail.com" -- cgit v1.2.3