From d2a34adfd46762fc9df103e300e2e21199043f60 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Fri, 20 Dec 2024 22:47:26 -0500 Subject: [PATCH] tzutils: tzdata provides python3-tzdata and py3:tzdata according to the Python documentation[1], the `zoneinfo` module uses the system timezone data if available, and also provides an installable `tzdata` library on PyPi. Some Python packages (like pandas) spuriously always depend on this library. By having `tzdata` provide this py3: package, it would work around Python packages that make this mistake, and avoid needing to package `python3-tzdata` or set `noverifypydeps` (which would be overkill). [1]: https://docs.python.org/3/library/zoneinfo.html Close: #53607 --- srcpkgs/tzutils/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/tzutils/template b/srcpkgs/tzutils/template index 0f1c5e3009372c..25b1bdbd0800ce 100644 --- a/srcpkgs/tzutils/template +++ b/srcpkgs/tzutils/template @@ -1,7 +1,7 @@ # Template file for 'tzutils' pkgname=tzutils version=2024a -revision=1 +revision=2 bootstrap=yes short_desc="Time zone and daylight-saving time utilities" maintainer="Đoàn Trần Công Danh " @@ -52,6 +52,7 @@ do_install() { tzdata_package() { short_desc="Time zone and daylight-saving time data" + provides="python3-tzdata-${version}_${revision} py3:tzdata-${version}" pkg_install() { vmove usr/share/man/man5 vmove "usr/share/zoneinfo*"