# Contributor: Kaarle Ritvanen # Maintainer: Kaarle Ritvanen pkgname=py3-django-widget-tweaks pkgver=1.4.5 pkgrel=1 pkgdesc="Tweak the form field rendering in templates, not in python-level form definitions" url="https://github.com/jazzband/django-widget-tweaks" arch="noarch" license="MIT" depends="py3-django" makedepends="py3-setuptools" source="$pkgname-$pkgver.tar.gz::https://github.com/jazzband/django-widget-tweaks/archive/$pkgver.tar.gz" builddir="$srcdir/django-widget-tweaks-$pkgver" replaces="py-django-widget-tweaks" # Backwards compatibility provides="py-django-widget-tweaks=$pkgver-r$pkgrel" # Backwards compatibility build() { cd "$builddir" python3 setup.py build } check() { cd "$builddir" python3 runtests.py } package() { cd "$builddir" python3 setup.py install --root "$pkgdir" } sha512sums="e35c5360bfe016c470cd50b8d500d9e3f8648e1a909508c5a516ecf82d98d2808432bb2a5738ec2dd6d1e77e63e9beb454237ba44e5a4060cf812ddd43ace18e py3-django-widget-tweaks-1.4.5.tar.gz"