# Contributor: Kaarle Ritvanen # Maintainer: Kaarle Ritvanen pkgname=py-django-widget-tweaks pkgver=1.4.2 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="1ea165edcd4174cea335dbcda96cb3b18234f70822a2913fb986e7aa469724c60f54f975a8ee687ca2e16b3efa50da1e9a8245b2d0d593c21cf26c19f879307b django-widget-tweaks-1.4.2.tar.gz"