* update tzdata to 2024b-2

This commit is contained in:
Alexander Baldeck 2024-10-05 00:51:31 +02:00
parent ba16e91459
commit e312d6a57d
4 changed files with 69 additions and 7 deletions

27
tzdata/.SRCINFO Normal file
View File

@ -0,0 +1,27 @@
pkgbase = tzdata
pkgdesc = Sources for time zone and daylight saving time data
pkgver = 2024b
pkgrel = 2
url = https://www.iana.org/time-zones
arch = x86_64
arch = powerpc64le
arch = powerpc64
arch = powerpc
arch = riscv64
license = LicenseRef-tz
optdepends = bash: for tzselect
optdepends = glibc: for zdump, zic
options = !emptydirs
source = https://www.iana.org/time-zones/repository/releases/tzcode2024b.tar.gz
source = https://www.iana.org/time-zones/repository/releases/tzcode2024b.tar.gz.asc
source = https://www.iana.org/time-zones/repository/releases/tzdata2024b.tar.gz
source = https://www.iana.org/time-zones/repository/releases/tzdata2024b.tar.gz.asc
source = 0001-Apr-not-April.patch
validpgpkeys = 7E3792A9D8ACF7D633BC1588ED97E90E62AA7E34
sha512sums = 0e4e872d6c6d9e2ce8c4e567fcbb7658942b8544157d1e48673d9cb989f3af3379fa58e7a71ab98f4a8f2ac6727de1f8c4cd1981053409ebd8989345dc640026
sha512sums = SKIP
sha512sums = 0d86686e215672343debb3471b7e7ccb8a27f063f085c9b532d5e0470377843daa0dfb6aee0db4fb9068dd52810c69aeee914a1a7c7e603fdecda7e855020193
sha512sums = SKIP
sha512sums = 19b546392fd0c8c6c2c535ca4e0d83baeef2741ee93cf58d9d8dc4f06d30e69bb47883652d2b3e23838f41d0a8600dbcfb2286bb11d107fb3f4a98920ca9bbcf
pkgname = tzdata

4
tzdata/.nvchecker.toml Normal file
View File

@ -0,0 +1,4 @@
[tzdata]
source = "github"
github = "eggert/tz"
use_max_tag = true

View File

@ -0,0 +1,25 @@
From 926b507fa5c3192b1b68fab5910cbd3ba9377c97 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Thu, 5 Sep 2024 14:36:02 -0700
Subject: [PATCH] "Apr", not "April", in IN column
* northamerica (Rule): Use "Apr", not "April", in the IN column.
Both forms are valid, but "Apr" is more consistent.
Problem reported by Howard Hinnant.
---
northamerica | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/northamerica b/northamerica
index 01f392e0..1af874b6 100644
--- a/northamerica
+++ b/northamerica
@@ -2631,7 +2631,7 @@ Zone America/Dawson -9:17:40 - LMT 1900 Aug 20
# http://puentelibre.mx/noticia/ciudad_juarez_cambio_horario_noviembre_2022/
# Rule NAME FROM TO - IN ON AT SAVE LETTER/S
-Rule Mexico 1931 only - April 30 0:00 1:00 D
+Rule Mexico 1931 only - Apr 30 0:00 1:00 D
Rule Mexico 1931 only - Oct 1 0:00 0 S
Rule Mexico 1939 only - Feb 5 0:00 1:00 D
Rule Mexico 1939 only - Jun 25 0:00 0 S

View File

@ -2,9 +2,9 @@
# Maintainer: Andreas Radke <andyrtr@archlinux.org> # Maintainer: Andreas Radke <andyrtr@archlinux.org>
pkgname=tzdata pkgname=tzdata
pkgver=2024a pkgver=2024b
_tzcode=2024a _tzcode=2024b
_tzdata=2024a _tzdata=2024b
pkgrel=2 pkgrel=2
pkgdesc="Sources for time zone and daylight saving time data" pkgdesc="Sources for time zone and daylight saving time data"
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64) arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
@ -14,11 +14,13 @@ optdepends=('bash: for tzselect'
'glibc: for zdump, zic') 'glibc: for zdump, zic')
options=('!emptydirs') options=('!emptydirs')
source=(https://www.iana.org/time-zones/repository/releases/tzcode${_tzcode}.tar.gz{,.asc} source=(https://www.iana.org/time-zones/repository/releases/tzcode${_tzcode}.tar.gz{,.asc}
https://www.iana.org/time-zones/repository/releases/${pkgname}${_tzdata}.tar.gz{,.asc}) https://www.iana.org/time-zones/repository/releases/${pkgname}${_tzdata}.tar.gz{,.asc}
sha512sums=('46da8bfa762c7d109db93e5c060789097fc0e1e38bdad5bb8fec886ef47f138bd03b913a743cd5f7e23dc359a72bfd63e7ffc0de199d2b51e6a174361dbdc43c' 0001-Apr-not-April.patch)
sha512sums=('0e4e872d6c6d9e2ce8c4e567fcbb7658942b8544157d1e48673d9cb989f3af3379fa58e7a71ab98f4a8f2ac6727de1f8c4cd1981053409ebd8989345dc640026'
'SKIP' 'SKIP'
'1f09f1b2327cc9e1afc7e9045e83ee3377918dafe1bee2f282b6991828d03b3c70a4d3a17f9207dfb1361bb25bc214a8922a756e84fa114e9ba476226db57236' '0d86686e215672343debb3471b7e7ccb8a27f063f085c9b532d5e0470377843daa0dfb6aee0db4fb9068dd52810c69aeee914a1a7c7e603fdecda7e855020193'
'SKIP') 'SKIP'
'19b546392fd0c8c6c2c535ca4e0d83baeef2741ee93cf58d9d8dc4f06d30e69bb47883652d2b3e23838f41d0a8600dbcfb2286bb11d107fb3f4a98920ca9bbcf')
validpgpkeys=('7E3792A9D8ACF7D633BC1588ED97E90E62AA7E34') # Paul Eggert <eggert@cs.ucla.edu> validpgpkeys=('7E3792A9D8ACF7D633BC1588ED97E90E62AA7E34') # Paul Eggert <eggert@cs.ucla.edu>
_timezones=('africa' 'antarctica' 'asia' 'australasia' _timezones=('africa' 'antarctica' 'asia' 'australasia'
@ -26,6 +28,10 @@ _timezones=('africa' 'antarctica' 'asia' 'australasia'
'etcetera' 'backward' 'factory') 'etcetera' 'backward' 'factory')
prepare() { prepare() {
pwd
# Use "Apr", not "April", in the IN column
patch -Np1 -i ${srcdir}/0001-Apr-not-April.patch
sed -i "s:sbin:bin:g" Makefile sed -i "s:sbin:bin:g" Makefile
} }