2023-01-11 13:23:51 +00:00
|
|
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
2022-08-15 15:51:38 +00:00
|
|
|
|
2023-03-31 20:26:25 +00:00
|
|
|
pkgname=py3-pytz-deprecation-shim
|
2022-08-15 15:51:38 +00:00
|
|
|
_pkgname=pytz_deprecation_shim
|
|
|
|
pkgver=0.1.0
|
|
|
|
_pkgver=$pkgver.post0
|
2023-03-31 20:26:25 +00:00
|
|
|
pkgrel=1
|
2022-08-15 15:51:38 +00:00
|
|
|
arch='noarch'
|
|
|
|
pkgdesc="Tzinfo object for the local timezone"
|
|
|
|
url="https://pypi.python.org/pypi/pytz"
|
|
|
|
license="MIT"
|
|
|
|
depends="python3"
|
2023-01-11 00:40:45 +00:00
|
|
|
makedepends="py3-setuptools py3-wheel py3-installer py3-build"
|
2023-03-31 20:26:25 +00:00
|
|
|
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$_pkgver.tar.gz"
|
2022-08-15 15:51:38 +00:00
|
|
|
builddir="$srcdir"/$_pkgname-$_pkgver
|
|
|
|
options="!check"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
python3 -m build --wheel --no-isolation
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
python3 -m installer --destdir="$pkgdir" dist/*.whl
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
|
|
|
201eea777f4da9def1b060911da5eaa89652f6716d5608278fdc94a2f67af5ea23a8b667cb181e03d5edd7f0a07f4954047621668f4c2e7bb325dd07f454d0b6 py3-pytz-deprecation-shim-0.1.0.tar.gz
|
|
|
|
"
|