summaryrefslogtreecommitdiffstats
path: root/python/tzdata
diff options
context:
space:
mode:
author fourtysixandtwo <fourtysixandtwo@sliderr.net>2023-04-09 12:05:11 -0600
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-04-15 07:15:33 +0700
commitd28232412abf9fc62de8335988d639b2b68e7835 (patch)
treed48b242d019087d6a8f5644f44f9c5003779e9c3 /python/tzdata
parentda6246313701c9127f96b5ad035d81e3f0804b58 (diff)
downloadslackbuilds-d28232412abf9fc62de8335988d639b2b68e7835.tar.gz
slackbuilds-d28232412abf9fc62de8335988d639b2b68e7835.tar.xz
python/tzdata: Updated for version 2023.3.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/tzdata')
-rw-r--r--python/tzdata/tzdata.SlackBuild11
-rw-r--r--python/tzdata/tzdata.info6
2 files changed, 7 insertions, 10 deletions
diff --git a/python/tzdata/tzdata.SlackBuild b/python/tzdata/tzdata.SlackBuild
index 9878979da3..b70448295d 100644
--- a/python/tzdata/tzdata.SlackBuild
+++ b/python/tzdata/tzdata.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for tzdata
-# Copyright 2022 fourtysixandtwo <fourtysixandtwo@sliderr.net>
+# Copyright 2022-23 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=tzdata
SRCNAM=$(echo $PRGNAM | sed "s/python3-//")
-VERSION=${VERSION:-2022.7}
+VERSION=${VERSION:-2023.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -41,9 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -78,9 +75,9 @@ cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
python3 -m build --no-isolation
python3 -m installer -d "$PKG" dist/*.whl
diff --git a/python/tzdata/tzdata.info b/python/tzdata/tzdata.info
index 8ead481863..36bd7609e8 100644
--- a/python/tzdata/tzdata.info
+++ b/python/tzdata/tzdata.info
@@ -1,8 +1,8 @@
PRGNAM="tzdata"
-VERSION="2022.7"
+VERSION="2023.3"
HOMEPAGE="https://github.com/python/tzdata"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/t/tzdata/tzdata-2022.7.tar.gz"
-MD5SUM="e2ba3171df69993f945a4bb70a2e443f"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/t/tzdata/tzdata-2023.3.tar.gz"
+MD5SUM="3c8f05d031770659a7d80de5159af202"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-build python3-installer wheel"