# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-funcparserlib _pkgname=funcparserlib pkgver=1.0.1 pkgrel=4 pkgdesc="Recursive descent parsing library based on functional combinators" url="https://github.com/vlasovskikh/funcparserlib" arch="noarch" license="MIT" depends="python3" makedepends="py3-poetry-core py3-gpep517 py3-wheel" subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver replaces="py-funcparserlib" # for backwards compatibility provides="py-funcparserlib=$pkgver-r$pkgrel" # for backwards compatibility build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } package() { gpep517 install-wheel --destdir "$pkgdir" \ .dist/*.whl } sha512sums=" 721673b7d79c19cd3cbad8387297644790581057d077139fe6efbaa14bc5ad28dc9074b34728bdd9ea1c00c56c402ce329d9f53728e59030408fd87059339f79 funcparserlib-1.0.1.tar.gz "