summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/py3-commonmark/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/user/py3-commonmark/APKBUILD b/user/py3-commonmark/APKBUILD
new file mode 100644
index 000000000..90bc7fe56
--- /dev/null
+++ b/user/py3-commonmark/APKBUILD
@@ -0,0 +1,29 @@
+# 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"