# Contributor: Philipp Glaum
# Maintainer: Philipp Glaum
pkgname=py3-rebulk _pkgname=rebulk pkgver=3.2.0 pkgrel=1 pkgdesc="Define simple search patterns in bulk to perform advanced matching on any string" url="https://pypi.org/project/rebulk/" arch="noarch" license="MIT" depends="python3 py3-regex" makedepends="py3-setuptools" checkdepends="py3-pytest" subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/r/rebulk/rebulk-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" build() { python3 setup.py build } check() { pytest } package() { python3 setup.py install --skip-build --root="$pkgdir" rm -rf "$pkgdir"/usr/lib/python3*/site-packages/rebulk/test } sha512sums=" 9c1db2442a6a111d7f11108891b2fe0b36df786628fa188ba831f079025626c6dfbdcffb117289ee0ef0d752aaa8c885626c853f7ab829ad7008678f76157e09 rebulk-3.2.0.tar.gz "