updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / python-numpydoc / PKGBUILD
blobd265f9df56b81dea1f2d60d6f34b20e0c0546859
1 # Contributor: Elena ``of Valhalla'' Grandi <elena.valhalla@gmail.com>
2 pkgname=python-numpydoc
3 pkgver=0.4
4 pkgrel=1
5 pkgdesc="Sphinx extension to support docstrings in Numpy format"
6 arch=('any')
7 url="http://projects.scipy.org/numpy/browser/trunk/doc/sphinxext"
8 license=('BSD')
9 depends=('python2' 'python-sphinx')
10 backup=()
11 options=(!emptydirs)
12 install=
13 source=(http://pypi.python.org/packages/source/n/numpydoc/numpydoc-$pkgver.tar.gz)
14 md5sums=('e5bdd98f84f2bb220373819e20c27091') #generate with 'makepkg -g'
16 build() {
18   cd "$srcdir/numpydoc-$pkgver"
20   python2 setup.py install --root=$pkgdir/ --optimize=1 || return 1
22   install -D -m644 "$srcdir/numpydoc-$pkgver/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
24   chmod 644 "$pkgdir"/usr/lib/python*/site-packages/numpydoc-$pkgver-py*.egg-info/*
28 # vim:set ts=2 sw=2 et: