1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-15 20:25:17 +03:00
aports/testing/py3-pypandoc/APKBUILD
2023-03-06 19:47:08 +01:00

33 lines
860 B
Text

# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py3-pypandoc
pkgver=1.11
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() {
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="
549cfedff3f57868aa84dd234900a4f88e735a3b8cdfc9d7a9cab906320cb5741fe93f9e97905f0df8136fc4834941470fada975be4c8d5d1be5fc316a802cb9 pypandoc-1.11.tar.gz
"