diff options
Diffstat (limited to 'main/py-django-haystack/APKBUILD')
-rw-r--r-- | main/py-django-haystack/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/main/py-django-haystack/APKBUILD b/main/py-django-haystack/APKBUILD new file mode 100644 index 0000000000..66d8111fb8 --- /dev/null +++ b/main/py-django-haystack/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +pkgname=py-django-haystack +pkgver=2.3.1 +pkgrel=0 +pkgdesc="Modular search for Django" +url=http://haystacksearch.org/ +arch=noarch +license=BSD +depends=py-django +makedepends=py-setuptools +source=https://pypi.python.org/packages/source/d/django-haystack/django-haystack-$pkgver.tar.gz + +_builddir=$srcdir/django-haystack-$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" + python setup.py build +} + +package() { + cd "$_builddir" + python setup.py install --root "$pkgdir" +} + +md5sums="4c5dc665c1e82701a95168442e2510cd django-haystack-2.3.1.tar.gz" +sha256sums="a30df888ee0da32c4837c328ecf859e992edb6d185efa7d49341cc1949dbb24d django-haystack-2.3.1.tar.gz" +sha512sums="c051523a63f32e066e3d8c83ef5cc9eec77a969801f57a0826073317c4d80bb24a67b4487638d38028ae288d9698d32483b2755f171a1b3cbb66f13b2b28a623 django-haystack-2.3.1.tar.gz" |