ayaports/user/py3-whoosh/APKBUILD

31 lines
908 B
Text
Raw Normal View History

2023-01-10 19:12:28 +00:00
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
2021-11-30 21:44:44 +00:00
2023-01-10 19:12:28 +00:00
pkgname=py3-whoosh
_pyname="Whoosh"
2021-11-30 21:44:44 +00:00
pkgver=2.7.4
2023-01-12 18:48:03 +00:00
pkgrel=1
2023-08-11 19:49:05 +00:00
arch="noarch"
2023-01-10 19:12:28 +00:00
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"
2021-11-30 21:44:44 +00:00
builddir="$srcdir"/$_pyname-$pkgver
build() {
2023-01-10 19:12:28 +00:00
python3 setup.py build
2021-11-30 21:44:44 +00:00
}
check() {
2023-01-12 18:48:03 +00:00
python3 setup.py ptr || warning "Tests failed"
2021-11-30 21:44:44 +00:00
}
package() {
2023-01-10 19:12:28 +00:00
python3 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build
2021-11-30 21:44:44 +00:00
}
sha512sums="
7cdefdcf52b704ffe50c00718c42677e2ddfe879f81ad2d14b580b0e026cc0ebb6b9ddc99d8709eaff4eb9b83f654b042c8792821e1ed90aa85cfa6f82845074 py3-whoosh-2.7.4.tar.gz
"