# Maintainer: Roshless pkgname=python-django-tables2 pkgver=2.3.4 pkgrel=3 pkgdesc='A module for rendering Django data sets as HTML tables.' arch=(any) url='https://github.com/jieter/django-tables2' license=(MIT) options=(!emptydirs) depends=('python-django>=1.11') makedepends=(python-setuptools) optdepends=('python-tablib: to export table data as CSV, XLS, etc.') source=("https://github.com/jieter/django-tables2/archive/v${pkgver}.tar.gz") package() { cd "${srcdir}/django-tables2-${pkgver}" python setup.py install --root="${pkgdir}/" --optimize=1 install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } sha256sums=('16e9e65a0ceea49e262c41ec89b1fa804f9600ead7e180ea86124bc3c89f2556')