aboutsummaryrefslogtreecommitdiffstats
path: root/main/py3-sphinx/APKBUILD
blob: 69406f87919bc312f2e76bf6ec4d630517db14e1 (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
31
32
33
34
35
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-sphinx
_pkgname=${pkgname#py3-}
pkgver=2.2.1
pkgrel=0
pkgdesc="Python Documentation Generator"
url="http://sphinx.pocoo.org/"
arch="noarch"
license="BSD-2-Clause"
depends="py3-docutils py3-jinja2 py3-pygments py3-six py3-sphinx_rtd_theme
	py3-alabaster<0.8 py3-babel py3-snowballstemmer py3-imagesize
	py3-requests py3-sphinxcontrib-websupport py3-setuptools py3-packaging
	py3-sphinxcontrib-applehelp py3-sphinxcontrib-devhelp
	py3-sphinxcontrib-jsmath py3-sphinxcontrib-htmlhelp
	py3-sphinxcontrib-serializinghtml py3-sphinxcontrib-qthelp
	py3-attrs make"
checkdepends="py3-pytest py3-funcsigs py3-pluggy"
options="!check" # py3-pluggy and some other packages needs to be moved to main first
source="$_pkgname-$pkgver.tar.gz::https://github.com/sphinx-doc/sphinx/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	make PYTHON=python3 test
}

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

sha512sums="d3f3f89ddf7d007ac271e6351223852918f028ba0ce39f06f4a75babeb4525cdc65c625162b2d1e732db448f77aeb9cae656eb484a7c9eab7ad6dd563b92fe52  sphinx-2.2.1.tar.gz"