1 # Contributor: Elena ``of Valhalla'' Grandi <elena.valhalla@gmail.com>
2 pkgname=python-numpydoc
5 pkgdesc="Sphinx extension to support docstrings in Numpy format"
7 url="http://projects.scipy.org/numpy/browser/trunk/doc/sphinxext"
9 depends=('python2' 'python-sphinx')
13 source=(http://pypi.python.org/packages/source/n/numpydoc/numpydoc-$pkgver.tar.gz)
14 md5sums=('e5bdd98f84f2bb220373819e20c27091') #generate with 'makepkg -g'
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: