blob: 6e4287c1ff83f19403dd4ee7d4685a366c5612f0 (
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.3.6
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="f0b89b84a7ede814f2d78d531d195ebe sphinx-1.3.6.tar.gz"
sha256sums="77986d2edc1551b95a9bfbeb06104b765401ede11a445e3735b516a7ad4b1ca5 sphinx-1.3.6.tar.gz"
sha512sums="4283643b64c9faec3bdd340463c8dd03809411428d691a06f0acbeb8c196b14269e8104461073241dc8b70d1e86f47d74a904dcda7a29151b04ec3bc6044fc46 sphinx-1.3.6.tar.gz"
|