# Contributor: Rasmus Thomsen # Maintainer: Natanael Copa pkgname=py3-pypandoc pkgver=1.15 pkgrel=0 pkgdesc="Thin wrapper for pandoc" url="https://github.com/NicklasTegner/pypandoc" arch="aarch64 x86_64" # pandoc license="MIT" depends="python3 pandoc" makedepends="py3-gpep517 py3-poetry-core" options="!check" # missing pandoc-citeproc subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/p/pypandoc/pypandoc-$pkgver.tar.gz" builddir="$srcdir/pypandoc-$pkgver" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { python3 setup.py test } package() { python3 -m installer -d "$pkgdir" \ .dist/pypandoc-*.whl } sha512sums=" 51683582743fa8b65bc5045cd811e1de77bd2d9568a134a0ad2b9713d30a8f00f5ab4d988bf7825b3fb77148cc079ffaf3be9a12ee4b62aa180a83b759648f65 pypandoc-1.15.tar.gz "