blob: 76fcc76808cc51574fe03ac225d678df09e4c3ac (
plain)
1 # Description: Python package wrapping the IANA time zone database
2 # URL: https://github.com/python/tzdata
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: python3-build python3-installer
5
6 name=python3-tzdata
7 version=2022.1
8 release=1
9 source=(https://files.pythonhosted.org/packages/source/t/tzdata/tzdata-$version.tar.gz)
10
11 build() {
12 cd tzdata-$version
13 /usr/bin/python3 -m build \
14 --wheel \
15 --skip-dependency-check \
16 --no-isolation
17 /usr/bin/python3 -m installer \
18 --compile-bytecode 2 \
19 --destdir=$PKG dist/*.whl
20 }
|