mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 19:36:48 +02:00
31 lines
916 B
Text
31 lines
916 B
Text
# Contributor: David Demelier <markand@malikania.fr>
|
|
# Maintainer: David Demelier <markand@malikania.fr>
|
|
pkgname=py3-lunr
|
|
pkgver=0.6.2
|
|
pkgrel=4
|
|
pkgdesc="python implementation of Lunr.js"
|
|
url="https://github.com/yeraydiazdiaz/lunr.py"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3 py3-future"
|
|
makedepends="py3-setuptools py3-gpep517"
|
|
checkdepends="py3-coverage py3-mock py3-pytest py3-pytest-timeout py3-tox"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://files.pythonhosted.org/packages/source/l/lunr/lunr-$pkgver.tar.gz"
|
|
builddir="$srcdir/lunr-$pkgver"
|
|
options="!check" # test fixtures not included
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
gpep517 install-wheel --destdir "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
6b7c29d30a8a64b71246ff884e473cceeef5e00e382ad54474e7855dcafcf3817dcc14c29c1bb2eb3371f1cb5ab1485a7840dbe41d345a4503294052aa9cd644 lunr-0.6.2.tar.gz
|
|
"
|