summaryrefslogtreecommitdiff
path: root/main/py3-sphinxcontrib-serializinghtml/APKBUILD
blob: 7e4a944eecb2217ea9c8c4b05f9f6b51a5520d94 (plain)
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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py3-sphinxcontrib-serializinghtml
_pyname=sphinxcontrib-serializinghtml
pkgver=1.1.5
pkgrel=3
pkgdesc="Sphinx serializinghtml extension"
url="https://pypi.python.org/pypi/sphinxcontrib-serializinghtml"
arch="noarch"
license="BSD-2-Clause"
depends="python3"
makedepends="py3-setuptools"
options="!check" # cyclic dependency
source="https://files.pythonhosted.org/packages/source/${_pyname%${_pyname#?}}/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir"/$_pyname-$pkgver

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
c5aabe4d29fd0455c269f8054089fdd61e1de5c35aa407740fc3baae4cfb3235d9fd5515c0489b0becd12abc8f18d0f42aa169ed315c00f30ba87e64ce851667  sphinxcontrib-serializinghtml-1.1.5.tar.gz
"