mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 13:46:41 +02:00
34 lines
894 B
Text
34 lines
894 B
Text
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
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
|
|
"
|