blob: 8d9bd927cbaea9d1cd470f4e43c480ce40dc02b5 (
plain)
1 # Description: Shims to make deprecation of pytz easier
2 # URL: https://github.com/pganssle/pytz-deprecation-shim
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: python3-tzdata pytz-deprecation-shim python3-build python3-install
5
6 name=python3-pytz-deprecation-shim
7 version=0.1.0.post0
8 release=1
9 source=(https://files.pythonhosted.org/packages/source/p/pytz_deprecation_shim/pytz_deprecation_shim-$version.tar.gz)
10
11 build() {
12 cd pytz_deprecation_shim-$version
13 /usr/bin/python3 -m build --wheel \
14 --skip-dependency-check \
15 --no-isolation
16 /usr/bin/python3 -m install \
17 --optimize=1 \
18 --destdir=$PKG dist/*.whl
19 }
|