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-08-30 17:55:36 +00:00
|
|
|
pkgrel=0
|
2022-08-15 15:51:38 +00:00
|
|
|
arch='noarch'
|
2023-08-30 17:55:36 +00:00
|
|
|
pkgdesc="Shims to help you safely remove pytz"
|
|
|
|
url="https://pypi.org/project/$_pkgname/"
|
2022-08-15 15:51:38 +00:00
|
|
|
license="MIT"
|
2023-08-30 17:55:36 +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
|
2023-08-30 17:55:36 +00:00
|
|
|
options="!check" # No testsuite
|
|
|
|
subpackages="$pkgname-pyc"
|
2022-08-15 15:51:38 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
"
|