2019-11-02 23:09:03 +01:00
|
|
|
# Description: Tzinfo object for the local timezone
|
|
|
|
# URL: https://github.com/regebro/tzlocal
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2023-05-14 15:48:04 +02:00
|
|
|
# Depends on: python3-build python3-installer python3-wheel
|
2019-11-02 23:09:03 +01:00
|
|
|
|
|
|
|
name=python3-tzlocal
|
2023-05-16 19:23:20 +02:00
|
|
|
version=5.0.1
|
2019-11-02 23:09:03 +01:00
|
|
|
release=1
|
|
|
|
source=(https://files.pythonhosted.org/packages/source/t/tzlocal/tzlocal-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd tzlocal-$version
|
2023-05-14 15:48:04 +02:00
|
|
|
|
|
|
|
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
|
|
|
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
|
2019-11-02 23:09:03 +01:00
|
|
|
}
|