aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-django-haystack/APKBUILD
blob: 66d8111fb8140a5c4133aaefe7376a9eda7f67c8 (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
36
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"