1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00
aports/testing/py3-pypandoc/APKBUILD
2021-04-05 18:19:32 +00:00

28 lines
781 B
Text

# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py3-pypandoc
pkgver=1.5
pkgrel=1
pkgdesc="Thin wrapper for pandoc"
url="https://github.com/bebraw/pypandoc"
arch="x86_64" # pandoc
license="MIT"
depends="python3 pandoc"
makedepends="py3-setuptools"
options="!check" # missing pandoc-citeproc
source="https://files.pythonhosted.org/packages/source/p/pypandoc/pypandoc-$pkgver.tar.gz"
builddir="$srcdir/pypandoc-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="511f5f5f7bff8de686c3f74d3756d27a3ae245803e2e9b45abc957acf112b306eff057ce87e8f3b335de00b97d4753de31e9681830d9aa776247ca707683ed13 pypandoc-1.5.tar.gz"