# Maintainer: Antoine Martin (ayakael) # Contributor: Antoine Martin (ayakael) pkgname=py3-whoosh _pyname="Whoosh" pkgver=2.7.4 pkgrel=1 arch="noarch" pkgdesc="Fast, pure-Python full text indexing, search, and spell checking library" url="https://pypi.python.org/project/$_pyname" license="BSD-3-Clause" depends="python3" makedepends="py3-setuptools py3-pytest-runner" source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz" builddir="$srcdir"/$_pyname-$pkgver build() { python3 setup.py build } check() { python3 setup.py ptr || warning "Tests failed" } package() { python3 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build } sha512sums=" 7cdefdcf52b704ffe50c00718c42677e2ddfe879f81ad2d14b580b0e026cc0ebb6b9ddc99d8709eaff4eb9b83f654b042c8792821e1ed90aa85cfa6f82845074 py3-whoosh-2.7.4.tar.gz "