blob: 5d1b7ab30595c7cda1cf332a857791893972c3b4 (
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
36
37
38
39
40
41
42
43
44
45
46
47
|
# Contributor: Yurii Kolesnykov <root@yurikoles.com>
# Based on python-sphinx: Johannes Löthberg <johannes@kyriasis.com>, Daniel M. Capella <polyzen@archlinux.org>
pkgname=python-sphinx-2
pkgver=2.4.5
pkgrel=3
pkgdesc='Python documentation generator'
arch=('any')
url=http://www.sphinx-doc.org/
license=('BSD')
depends=('python-babel'
'python-docutils'
'python-imagesize'
'python-jinja'
'python-pygments'
'python-requests'
'python-setuptools'
'python-snowballstemmer'
'python-sphinx-alabaster-theme'
'python-sphinxcontrib-'{{apple,dev,html}help,jsmath,qthelp,serializinghtml})
#checkdepends=('imagemagick' 'librsvg'
# 'python-html5lib'
# 'python-pytest'
# 'texlive-fontsextra' 'texlive-latexextra')
conflicts=(python-sphinx)
optdepends=('imagemagick: for ext.imgconverter'
'texlive-latexextra: for generation of PDF documentation')
source=("https://pypi.org/packages/source/S/Sphinx/Sphinx-$pkgver.tar.gz")
sha256sums=('b00394e90463e7482c4cf59e7db1c8604baeca1468abfc062904dedc1cea6fcc')
build() {
cd Sphinx-$pkgver
make build
}
# https://github.com/sphinx-doc/sphinx/issues/6777
#check() {
# cd Sphinx-$pkgver
# LC_ALL="en_US.UTF-8" make test
# rm -r tests
#}
package() {
cd Sphinx-$pkgver
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
}
|