contrib/python3-django-haystack/Pkgfile

18 lines
573 B
Plaintext

# Description: Pluggable search for Django
# URL: https://haystacksearch.org/
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: python3-django
# Optional: python3-elasticsearch python3-pysolr python3-whoosh
name=python3-django-haystack
version=3.3.0
release=1
source=(https://pypi.org/packages/source/d/django_haystack/django_haystack-$version.tar.gz)
build() {
cd django_haystack-$version
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
}