mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-19 09:15:30 +03:00
33 lines
860 B
Text
33 lines
860 B
Text
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
|
|
pkgname=py3-pypandoc
|
|
pkgver=1.10
|
|
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="
|
|
ad4cd08c58ff777624b39f40fb1b7d9db56b289ac514a3993bdde900a8e4f5dd69484ffd553164c721508fc3fa684d97c6084e382b210cab1b584519cb3c3b6f pypandoc-1.10.tar.gz
|
|
"
|