diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2015-02-08 15:01:53 +0200 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2015-02-08 15:01:53 +0200 |
commit | 8ef219b6d0cd74044be5de6b7447c2d6e2d709d6 (patch) | |
tree | 9d2bf101c5486fe2548e201d8cd1da117270489b /testing/py-django-tables2 | |
parent | 26f3ea5b2229ee1af48a18cca6e2d1085593cc9c (diff) | |
download | aports-8ef219b6d0cd74044be5de6b7447c2d6e2d709d6.tar.bz2 aports-8ef219b6d0cd74044be5de6b7447c2d6e2d709d6.tar.xz |
testing/py-django-tables2: new package
Diffstat (limited to 'testing/py-django-tables2')
-rw-r--r-- | testing/py-django-tables2/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/py-django-tables2/APKBUILD b/testing/py-django-tables2/APKBUILD new file mode 100644 index 0000000000..e29ea098c1 --- /dev/null +++ b/testing/py-django-tables2/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +# Maintainer: +pkgname=py-django-tables2 +pkgver=0.15.0 +pkgrel=0 +pkgdesc="Table/data-grid framework for Django" +url=https://github.com/bradleyayers/django-tables2/ +arch=noarch +license=BSD +depends=py-django +makedepends=py-setuptools +source=https://pypi.python.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" +} + +md5sums="73c1e627278e47e8a29c53f5bfa8d57a django-tables2-0.15.0.tar.gz" +sha256sums="e9758a05bf7c26e94d16b69deb7c71545b36d7252382aad89927d37f2f24aba3 django-tables2-0.15.0.tar.gz" +sha512sums="fe049aefce89928168009113ac7b9e93d460a296b2f07cfe8ec0c1e06fe6e3f702dce2e48bfffa858a2984ddddcb201c08acbd60beef219ac18f6434c13c32b6 django-tables2-0.15.0.tar.gz" |