blob: 542e666869fbfbd54dbe9c94d822f78d89ef3819 (
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
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Matt Smith <mcs@darkregion.net>
pkgname=py-sphinx
pkgver=1.4
pkgrel=0
pkgdesc="Python Documentation Generator"
url="http://sphinx.pocoo.org/"
arch="noarch"
license="BSD"
depends="python py-docutils py-jinja2 py-pygments py-setuptools make py-six
py-sphinx_rtd_theme py-alabaster py-babel py-snowballstemmer"
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="5873fcf7a5638f8d17358487686189ac sphinx-1.4.tar.gz"
sha256sums="e448c06389240445dc6fb2a9b3af5bc71314e94d7a9e2bc04962233f55be9d75 sphinx-1.4.tar.gz"
sha512sums="5f01eb56f8eb0097a1798e8a2d10b9bcc0c0536f4c7b807e6c940f1b3c286b771e5e7de6b0917a8d52ae3718872b13fdcf03d0d9acedcaedabe639c83c2e442e sphinx-1.4.tar.gz"
|