1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/testing/py3-pypandoc/APKBUILD
2022-10-05 12:15:13 +00:00

34 lines
861 B
Text

# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py3-pypandoc
pkgver=1.9
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
source="https://files.pythonhosted.org/packages/source/p/pypandoc/pypandoc-$pkgver.tar.gz"
builddir="$srcdir/pypandoc-$pkgver"
build() {
mkdir dist
gpep517 build-wheel \
--wheel-dir dist \
--output-fd 1
}
check() {
python3 setup.py test
}
package() {
python3 -m installer -d "$pkgdir" \
dist/pypandoc-*.whl
}
sha512sums="
7eec6d99c04ace054f8ae60063374e517e8845b12eeb989ea3fc4e13e10f20d2291f61bdd7a60311a21e88b466e5eabed0ab7d72ae7a995c08e9271909171a95 pypandoc-1.9.tar.gz
"