1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-19 09:15:30 +03:00
aports/testing/py3-pypandoc/APKBUILD
2023-10-18 10:56:26 +00:00

34 lines
889 B
Text

# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py3-pypandoc
pkgver=1.12
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="
9b6e3e8402928e5ff43a014135a3eeca25034e5519bdf1a1e17e46812115544a63373337b204bb5ce05cded407b76181599657e582b9042a3a0b8eaf02064c2d pypandoc-1.12.tar.gz
"