aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-django-haystack/APKBUILD
blob: 3a1d3f0247eb63f2094cabeadeb45b71f34fdd50 (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.5.0
pkgrel=0
pkgdesc="Modular search for Django"
url=http://haystacksearch.org/
arch=noarch
license=BSD
depends=py-django
makedepends=py-setuptools
source="https://files.pythonhosted.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="46f14482af7f32ea85a4aaec60f4676f  django-haystack-2.5.0.tar.gz"
sha256sums="54f6aa03770aa11de30b7052cdbdfdb102f8d5be4342033a89e538b4bdc86d9b  django-haystack-2.5.0.tar.gz"
sha512sums="36748a6246df72edb296bc3299ad9e6c2221ff3eb1e270eeaf84dd291783bc37e004e659c6dcd3669e3ac2208a06ae57ddfbc429dcff74d0abf0dc196e4e4dbb  django-haystack-2.5.0.tar.gz"