contrib/python3-django-haystack/Pkgfile

18 lines
596 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 python3-setuptools-scm
# Optional: python3-elasticsearch python3-pysolr python3-whoosh
name=python3-django-haystack
version=3.2.1
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
}