aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-sphinx/APKBUILD
blob: b353fe35e8aa60318c3a4f94b3b2e3272b55c5a8 (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=3
pkgdesc="Python Documentation Generator"
url="http://sphinx.pocoo.org/"
arch="noarch"
license="BSD"
depends="python2 make py-docutils py-jinja2 py-pygments py-setuptools py2-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"
	python2 setup.py build || return 1
}

package() {
	cd "$builddir"
	python2 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"