python3-tzdata 2025.2-1

This commit is contained in:
2025-12-09 00:10:38 +03:00
parent 1b0e1b10a7
commit 93c48224f1

49
python3-tzdata/alr.sh Normal file
View File

@@ -0,0 +1,49 @@
name='python3-tzdata'
version='2025.2'
release='1'
desc='Provider of IANA time zone data'
desc_ru='Поставщик данных о часовых поясах IANA'
homepage='https://github.com/python/tzdata'
maintainer='Evgeny Khramov <xpamych@yandex.ru>'
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
architectures=('all')
license=('Apache-2.0')
provides=('tzdata')
conflicts=('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
}