contrib/python3-pytz-deprecation-shim/Pkgfile

20 lines
646 B
Plaintext

# Description: Shims to make deprecation of pytz easier
# URL: https://github.com/pganssle/pytz-deprecation-shim
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-tzdata pytz-deprecation-shim python3-build python3-install
name=python3-pytz-deprecation-shim
version=0.1.0.post0
release=1
source=(https://files.pythonhosted.org/packages/source/p/pytz_deprecation_shim/pytz_deprecation_shim-$version.tar.gz)
build() {
cd pytz_deprecation_shim-$version
/usr/bin/python3 -m build --wheel \
--skip-dependency-check \
--no-isolation
/usr/bin/python3 -m install \
--optimize=1 \
--destdir=$PKG dist/*.whl
}