forked from ports/contrib
21 lines
544 B
Plaintext
21 lines
544 B
Plaintext
|
# Description: Python package wrapping the IANA time zone database
|
||
|
# URL: https://github.com/python/tzdata
|
||
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||
|
# Depends on: python3-build python3-install
|
||
|
|
||
|
name=python3-tzdata
|
||
|
version=2021.5
|
||
|
release=1
|
||
|
source=(https://files.pythonhosted.org/packages/source/t/tzdata/tzdata-$version.tar.gz)
|
||
|
|
||
|
build() {
|
||
|
cd tzdata-$version
|
||
|
/usr/bin/python3 -m build \
|
||
|
--wheel \
|
||
|
--skip-dependency-check \
|
||
|
--no-isolation
|
||
|
/usr/bin/python3 -m install \
|
||
|
--optimize=1 \
|
||
|
--destdir=$PKG dist/*.whl
|
||
|
}
|