summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-04-18 03:03:39 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-04-18 03:03:39 +0000
commit9a5f9923623e34ed850cc1f702a2c11d927d5612 (patch)
tree1393a475fbfd1d5e316749670b71330fec129dea
parenteb9066c6cfc00ed5fc549c9cf7de472f29b1b781 (diff)
downloadpackages-9a5f9923623e34ed850cc1f702a2c11d927d5612.tar.gz
packages-9a5f9923623e34ed850cc1f702a2c11d927d5612.tar.bz2
packages-9a5f9923623e34ed850cc1f702a2c11d927d5612.tar.xz
packages-9a5f9923623e34ed850cc1f702a2c11d927d5612.zip
user/py3-recommonmark: new package
-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"