aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-django-haystack/APKBUILD
blob: e039f6a290de461ec963f5ded97f2a05de70486a (plain) (blame)
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
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
pkgname=py3-django-haystack
pkgver=3.1.1
pkgrel=0
pkgdesc="Modular search for Django"
options="!check" # requires unpackaged pysolr and whoosh
url="https://github.com/django-haystack/django-haystack"
arch="noarch"
license="BSD-3-Clause"
depends="py3-django py3-setuptools"
makedepends="py3-setuptools_scm"
source="https://files.pythonhosted.org/packages/source/d/django-haystack/django-haystack-$pkgver.tar.gz"

builddir="$srcdir/django-haystack-$pkgver"

replaces="py-django-haystack" # Backwards compatibility
provides="py-django-haystack=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --root "$pkgdir"
}

sha512sums="
509c2c922b6c6c5a2961b2d10b640cf82e8bc2536203c865c2c7a6fdebd2c7173616ce22d620bfd5ef14b61e11a9c88f64cc941195ff2adc2d62604d2c13717c  django-haystack-3.1.1.tar.gz
"