blob: b9191e18e728d2b5bc7c5141efaf1b5e69c50498 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
pkgname=py-django-tables2
pkgver=1.17.1
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="0c0fc60b68d129d8600f151ac954d10b2ad215055c6285fab8db8115dff41fea588fe5e1f52ab41fd6e0a3e8e52d76c37df81e894d7022d25c393e059bacfc80 django-tables2-1.17.1.tar.gz"
|