From 9a5f9923623e34ed850cc1f702a2c11d927d5612 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 18 Apr 2019 03:03:39 +0000 Subject: user/py3-recommonmark: new package --- user/py3-recommonmark/APKBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 user/py3-recommonmark/APKBUILD (limited to 'user') 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 +# Maintainer: A. Wilcox +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" -- cgit v1.2.3-70-g09d2