# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=py3-marisa-trie pkgver=0.8.0 pkgrel=0 pkgdesc="Static memory-efficient and fast Trie-like structures for Python" url="https://github.com/kmike/marisa-trie" arch="all" license="MIT" makedepends=" py3-gpep517 py3-setuptools py3-wheel python3-dev " checkdepends=" py3-hypothesis py3-pytest py3-readme_renderer " source="https://pypi.python.org/packages/source/m/marisa-trie/marisa-trie-$pkgver.tar.gz" builddir="$srcdir/marisa-trie-$pkgver" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m venv --clear --without-pip --system-site-packages .testenv .testenv/bin/python3 -m installer .dist/*.whl .testenv/bin/python3 -m pytest } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" ded149b33b4a641eb29b037569a9d38cb62b4f89c956865b8653d9493d32115e6d41c75b3693aafa26c22e88309e50f090fd5b732a30edcfca43a0c20bf17f90 marisa-trie-0.8.0.tar.gz "