aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-sphinx/APKBUILD
blob: 9737adcc8fe7db520a0072dc482a8889172e649c (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Matt Smith <mcs@darkregion.net>
pkgname=py-sphinx
pkgver=1.4.1
pkgrel=1
pkgdesc="Python Documentation Generator"
url="http://sphinx.pocoo.org/"
arch="noarch"
license="BSD"
depends="python make py-docutils py-jinja2 py-pygments py-setuptools py-six
	py-sphinx_rtd_theme py-alabaster py-babel py-snowballstemmer
	py-imagesize"
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=""
source="sphinx-$pkgver.tar.gz::https://github.com/sphinx-doc/sphinx/archive/$pkgver.tar.gz"

_builddir="$srcdir"/sphinx-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
        cd "$_builddir"
        python setup.py build || return 1
}

package() {
        cd "$_builddir"
        python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="fdfe0e3f02d6761ee49e0369475814f1  sphinx-1.4.1.tar.gz"
sha256sums="ebc119385f986d1f099be799ffac456dbaef6d46d239632c446e8d6e27f2af56  sphinx-1.4.1.tar.gz"
sha512sums="ef1583d1378056556c36e639916c54cd83a71328a6e0a6c74ee7b6d032a06e32b8f1bbc2e490f0ea85591336fb8051d1cf86664cbe7ac2dec7e96f955bea6295  sphinx-1.4.1.tar.gz"