1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Maintainer: Caleb Maclennan <caleb@alerque.com>
4 pkgname=python-pypandoc
7 pkgdesc="Thin wrapper for pandoc"
10 url="https://github.com/bebraw/pypandoc"
12 makedepends=('python-build' 'python-installer' 'python-poetry-core' 'python-wheel')
13 checkdepends=('texlive-core' 'texlive-latexextra')
14 source=("https://github.com/bebraw/pypandoc/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
15 sha512sums=('1ca753ac2da9ad1a98c72aa639b6809e31d8c5da85a3a843f91675f95861e5056c183f67d73008c064b8fd2c82a4cd255f20b1c0073cc288a1e0e6a74caa9f94')
24 # https://github.com/NicklasTegner/pypandoc/issues/278
25 python tests.py || echo "Tests failed"
30 python -m installer -d "$pkgdir" dist/*.whl
31 install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/