mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
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
This commit is contained in:
parent
fa4e6e9564
commit
d2a34adfd4
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'tzutils'
|
# Template file for 'tzutils'
|
||||||
pkgname=tzutils
|
pkgname=tzutils
|
||||||
version=2024a
|
version=2024a
|
||||||
revision=1
|
revision=2
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
short_desc="Time zone and daylight-saving time utilities"
|
short_desc="Time zone and daylight-saving time utilities"
|
||||||
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
||||||
|
@ -52,6 +52,7 @@ do_install() {
|
||||||
|
|
||||||
tzdata_package() {
|
tzdata_package() {
|
||||||
short_desc="Time zone and daylight-saving time data"
|
short_desc="Time zone and daylight-saving time data"
|
||||||
|
provides="python3-tzdata-${version}_${revision} py3:tzdata-${version}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/share/man/man5
|
vmove usr/share/man/man5
|
||||||
vmove "usr/share/zoneinfo*"
|
vmove "usr/share/zoneinfo*"
|
||||||
|
|
Loading…
Add table
Reference in a new issue