summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/py3-recommonmark/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/user/py3-recommonmark/APKBUILD b/user/py3-recommonmark/APKBUILD
new file mode 100644
index 000000000..2b0d6db68
--- /dev/null
+++ b/user/py3-recommonmark/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=py3-recommonmark
+_pkgname=recommonmark
+pkgver=0.5.0
+pkgrel=0
+pkgdesc="Bridge between CommonMark and docutils"
+url="https://pypi.org/project/recommonmark/"
+arch="noarch"
+options="!check" # Test data not shipped with tarball
+license="MIT"
+depends="python3 py3-commonmark py3-docutils py3-sphinx"
+checkdepends="py3-future"
+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() {
+ python3 setup.py test
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="581b3492e082ab4f0a53e50df0c9cfa3badda7ba9ee28dadbea85c55de96304257790e6aa06ebc793fba1d9ac399ce470fe821492106150b3a0db10dc734ee4b recommonmark-0.5.0.tar.gz"