aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-sphinx/APKBUILD
blob: ff03578280916a8facad9a9296c5fcea9a30999a (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.5
pkgrel=2
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="99cb21bafac47d56e538f865617809c1  sphinx-1.4.5.tar.gz"
sha256sums="509648ada4175b12230157aa4590bb205fe2b31333719a6fd7afb738438386af  sphinx-1.4.5.tar.gz"
sha512sums="16695bfcc7562a7be32d583c4476a117ef3417abacd21219ffda096170ab3a4c47574c02884b5d3fbcefa82c6d17882c0c19a1c892039e59c1dd5d7cb83f9850  sphinx-1.4.5.tar.gz"