summaryrefslogtreecommitdiff
path: root/user/py3-recommonmark/APKBUILD
blob: a0b15b6757e5890369ba5582763c150a1379fde3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=py3-recommonmark
_pkgname=recommonmark
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
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/$_p/$_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"