# Contributor: Kaarle Ritvanen # Maintainer: Kaarle Ritvanen pkgname=py3-django-haystack pkgver=2.8.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" 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() { cd "$builddir" python3 setup.py build } package() { cd "$builddir" python3 setup.py install --root "$pkgdir" } sha512sums="019defd304334657f5a4ef849fedcf2915800c816f4ff7a53d68a61f5506fc4b94dc43fffda2a4d4ce105a55ac37076e73edcc1ae4acd1c85240320e0af2f069 django-haystack-2.8.1.tar.gz"