From 3a9e6f4e24a7782187f9c63ca72484118c5923dd Mon Sep 17 00:00:00 2001 From: Paul Ganssle Date: Mon, 16 Nov 2020 10:12:44 -0500 Subject: [PATCH] Explicitly specify tzpath PEP 615 added a compile-time option for specifying the location of time zone data, with a primary use case being that it would allow distros to specify where the system-deployed zoneinfo files are. This patch makes it so that the default zoneinfo.TZPATH (i.e. the value when the time zone search path is not modified by an environment variable or zoneinfo.reset_tzpath) is ('/usr/share/zoneinfo',) rather than: ('/usr/share/zoneinfo', '/usr/lib/zoneinfo', '/usr/share/lib/zoneinfo', '/etc/zoneinfo'). --- python/trunk/PKGBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/trunk/PKGBUILD b/python/trunk/PKGBUILD index d7e910560c6..7ab0102c1bd 100644 --- a/python/trunk/PKGBUILD +++ b/python/trunk/PKGBUILD @@ -60,7 +60,8 @@ build() { --with-system-ffi \ --with-system-libmpdec \ --enable-loadable-sqlite-extensions \ - --without-ensurepip + --without-ensurepip \ + --with-tzpath=/usr/share/zoneinfo # Obtain next free server number for xvfb-run; this even works in a chroot environment. export servernum=99 -- 2.29.1