summaryrefslogblamecommitdiff
path: root/user/py3-commonmark/APKBUILD
blob: 90bc7fe56d9ed2a9fc610fa441f52a40ad624a0f (plain) (tree)




























                                                                                                                                                                      
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=py3-commonmark
_pkgname=commonmark
pkgver=0.8.1
pkgrel=0
pkgdesc="Python parser for the CommonMark Markdown flavour"
url="https://pypi.org/project/CommonMark/"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends=""
subpackages=""
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	PYTHONPATH=. python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="dbab51d45c1973a8d0906148d785fb8ddc2b52177dfe0e69fe79bef2a5eb05a5a7ab8693852f4aaa8545af19d741569d04a24f06ea65171e6e80d9f66af47fdf  commonmark-0.8.1.tar.gz"