name='python3-tzdata' version='2025.2' release='2' desc='Provider of IANA time zone data' desc_ru='Поставщик данных о часовых поясах IANA' homepage='https://github.com/python/tzdata' maintainer='Evgeny Khramov ' maintainer_ru='Евгений Храмов ' architectures=('all') license=('Apache-2.0') provides=('python-tzdata') deps=('python3') deps_alt=('python3') deps_arch=('python') deps_debian=('python3') deps_fedora=('python3') deps_redos=('python3') deps_rhel=('python3') deps_rosa=('python3') deps_alpine=('python3') build_deps=('python3' 'python3-build' 'python3-installer') build_deps_alt=('python3' 'python3-module-build' 'python3-module-installer') build_deps_arch=('python' 'python-build' 'python-installer') build_deps_debian=('python3' 'python3-build' 'python3-installer') build_deps_fedora=("${build_deps[@]}") build_deps_redos=("${build_deps[@]}") build_deps_rhel=("${build_deps[@]}") build_deps_rosa=("${build_deps[@]}") build_deps_alpine=('python3' 'py3-build' 'py3-installer') sources=("https://files.pythonhosted.org/packages/source/t/tzdata/tzdata-${version}.tar.gz") checksums=('SKIP') build() { cd "$srcdir/tzdata-${version}" python -m build --wheel --no-isolation } package() { cd "$srcdir/tzdata-${version}" python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl } files() { files-find-lib }