# Contributor: Kaarle Ritvanen # Maintainer: Kaarle Ritvanen pkgname=py-django-tables2 pkgver=1.3.0 pkgrel=0 pkgdesc="Table/data-grid framework for Django" url=https://github.com/bradleyayers/django-tables2/ arch=noarch license=BSD depends="py-django py-six" makedepends=py-setuptools source="https://files.pythonhosted.org/packages/source/d/django-tables2/django-tables2-$pkgver.tar.gz" _builddir=$srcdir/django-tables2-$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="1d9af4d4be46acb62513848e072914c5e71e72bc58f5d9dc050587da4a7544a6ea9331cc41b90293c0e2a49b818dd73125e1f848558d224592fd3b60d44f2c8c django-tables2-1.3.0.tar.gz"