pkgname=python-pytz pkgver=2024.2 pkgrel=1 pkgdesc="Cross platform time zone library for Python" arch=('x86_64') url="https://pypi.python.org/pypi/pytz" license=('MIT') depends=('python') makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') source=(https://github.com/stub42/pytz/releases/download/release_${pkgver}/${pkgname#*-}-${pkgver}.tar.gz) sha256sums=(2aa355083c50a0f93fa581709deac0c9ad65cca8a9e9beac660adcbd493c798a) build() { cd ${pkgname#*-}-${pkgver} python3 -m build --wheel --no-isolation } package() { cd ${pkgname#*-}-${pkgver} python3 -m installer -d ${pkgdir} dist/*.whl }