aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-sphinx/APKBUILD
blob: 067c5bb0435b6217238ab992df7ec8ab1a8c0aaf (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Matt Smith <mcs@darkregion.net>
pkgname=py-sphinx
_pkgname=${pkgname#py-}
pkgver=1.4.3
pkgrel=0
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"
makedepends="$depends_dev"
source="$_pkgname-$pkgver.tar.gz::https://github.com/sphinx-doc/sphinx/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

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

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

md5sums="b86c840a2b5ca06d18b0242360663c04  sphinx-1.4.3.tar.gz"
sha256sums="d70f7da9f68b5d460a118881eee371046f43b1c0bd3308d283a4f5aeda3b252c  sphinx-1.4.3.tar.gz"
sha512sums="25ba8f577424d9a59f03cad49807b47d3f2a17d80a1148da44dc0fb4c4cce2976b190056bacc6266f22046b7f100131f931738b4c5046a8d529654f46ef0b1ae  sphinx-1.4.3.tar.gz"