APKBUILD 932 Bytes
Newer Older
1
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
2
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
3
pkgname=py-django-tables2
4
pkgver=1.10.0
5
pkgrel=0
6 7 8 9
pkgdesc="Table/data-grid framework for Django"
url=https://github.com/bradleyayers/django-tables2/
arch=noarch
license=BSD
10
depends="py-django py-six"
11
makedepends=py-setuptools
12
source="https://files.pythonhosted.org/packages/source/d/django-tables2/django-tables2-$pkgver.tar.gz"
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34

_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"
}

35
sha512sums="42c2be8ea690f4ce94595f55cc7298b0fbb1747ae39a2123058bd77b46d83047610cd0fad3d299bfcaa3a009c9fc7788be8e42dbc4b7e3e6bfe552d576085653  django-tables2-1.10.0.tar.gz"