# Maintainer: Antoine Martin (ayakael) # Contributor: Antoine Martin (ayakael) pkgname=py3-tika _pyname="tika" pkgver=2.6.0 pkgrel=0 arch="noarch" pkgdesc="Apache Tika Python library" url="https://pypi.python.org/project/$_pyname" license="Apache-2.0" makedepends=" py3-setuptools py3-gpep517 py3-wheel py3-installer " options="!check" # Failing testsuite source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz" builddir="$srcdir"/$_pyname-$pkgver subpackages="$pkgname-pyc" build() { gpep517 build-wheel \ --wheel-dir dist \ --output-fd 3 3>&1 >&2 } check() { pytest -v } package() { python3 -m installer -d "$pkgdir" \ dist/*.whl } sha512sums=" 092986afd0968d41b6a0274b1f1cac5f6a168bc79cea920f65543c46b6541b6b02eceb0ae89fc254b709421dd75ebe50aad0f17a52becbdb27a541b80a08a0ae py3-tika-2.6.0.tar.gz "