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>
This commit is contained in:
Dimitris Zlatanidis 2021-03-28 11:22:13 +03:00 committed by Willy Sudiarto Raharjo
parent c4e347cf97
commit 9bf649d1c9
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 7 additions and 6 deletions

View file

@ -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

View file

@ -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"