# Contributor: Kaarle Ritvanen # Maintainer: Kaarle Ritvanen pkgname=py-django-widget-tweaks pkgver=1.4.5 pkgrel=0 pkgdesc="Tweak the form field rendering in templates, not in python-level form definitions" url=https://github.com/kmike/django-widget-tweaks arch=noarch license=MIT depends=py-django makedepends=py-setuptools source="https://files.pythonhosted.org/packages/source/d/django-widget-tweaks/django-widget-tweaks-$pkgver.tar.gz" _builddir=$srcdir/django-widget-tweaks-$pkgver prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" ./setup.py build } package() { cd "$_builddir" ./setup.py install --root "$pkgdir" } sha512sums="5621f611a794a59319ce0a290c53334ee51df11ed1e1c2e9db4ddf5ce44f3c52e299eea0afc5577e7ed43eb0bfe4bab2ef5b5cf0d45fc0608b1573936148aa72 django-widget-tweaks-1.4.5.tar.gz"