mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
testing/py3-lunr: build with gpep517
This commit is contained in:
parent
a2e9280893
commit
c69487ebe9
@ -2,25 +2,28 @@
|
||||
# Maintainer: David Demelier <markand@malikania.fr>
|
||||
pkgname=py3-lunr
|
||||
pkgver=0.6.2
|
||||
pkgrel=3
|
||||
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"
|
||||
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" # No tests yet.
|
||||
options="!check" # test fixtures not included
|
||||
|
||||
build() {
|
||||
python3 setup.py build
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir .dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 setup.py install --skip-build --root="$pkgdir"
|
||||
gpep517 install-wheel --destdir "$pkgdir" \
|
||||
.dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
|
Loading…
Reference in New Issue
Block a user