{% set version = "2023c" %}
package:
name: tzdata
version: {{ version }}
source:
- url: https://data.iana.org/time-zones/releases/tzdata{{ version }}.tar.gz
sha256: 3f510b5d1b4ae9bb38e485aa302a776b317fb3637bdb6404c4adf7b6cadd965c
- url: https://data.iana.org/time-zones/releases/tzcode{{ version }}.tar.gz
sha256: 46d17f2bb19ad73290f03a203006152e0fa0d7b11e5b71467c4a823811b214e7
build:
number: 0
noarch: generic
# This package needs to be noarch because it uses POSIX system APIs.
# The Windows build will be skipped when built to avoid Prefect failures.
# There is no Windows port available and porting to Windows is not trivial.
# However, the compiled package can be used on Windows.
# Tzdata is utilizing system header files which is not
# compatible with macOS.
# Since we are using using a noarch build, we can
# simply focus linux as our main build
skip: True # [not (linux and x86_64)]
ignore_run_exports:
- libgcc-ng
requirements:
build:
- {{ compiler('c') }}
- make
host:
run:
about:
home: https://www.iana.org/time-zones
dev_url: https://github.com/eggert/tz
doc_url: https://data.iana.org/time-zones/tz-link.html
license: CC-PDDC OR BSD-3-Clause
license_file: LICENSE
license_family: BSD
summary: The Time Zone Database (called tz, tzdb or zoneinfo)
description: |
The Time Zone Database (called tz, tzdb or zoneinfo) contains code and
data that represent the history of local time for many representative
locations around the globe. It is updated periodically to reflect
changes made by political bodies to time zone boundaries, UTC offsets,
and daylight-saving rules.
extra:
recipe-maintainers:
- ocefpaf
- mbargull
- pganssle