From 25ebfd29e132cf1c238a70f57afc0be0548c4474 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 18 Nov 2012 21:25:41 +0100 Subject: adopt python2-numpydoc + update gitignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- python2-numpydoc/PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 python2-numpydoc/PKGBUILD (limited to 'python2-numpydoc/PKGBUILD') diff --git a/python2-numpydoc/PKGBUILD b/python2-numpydoc/PKGBUILD new file mode 100644 index 0000000..18960ac --- /dev/null +++ b/python2-numpydoc/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Mattias Andrée +pkgname=python2-numpydoc +pkgver=0.4 +pkgrel=1 +pkgdesc="Sphinx extension to support docstrings in Numpy format" +arch=('any') +url="http://projects.scipy.org/numpy/browser/trunk/doc/sphinxext" +license=('BSD') +depends=('python2' 'python2-sphinx') +conflicts=(python-numpydoc) +backup=() +options=(!emptydirs) +install= +source=(http://pypi.python.org/packages/source/n/numpydoc/numpydoc-$pkgver.tar.gz) +md5sums=('e5bdd98f84f2bb220373819e20c27091') + +build() { + + cd "$srcdir/numpydoc-$pkgver" + + python2 setup.py install --root=$pkgdir/ --optimize=1 || return 1 + + install -D -m644 "$srcdir/numpydoc-$pkgver/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + chmod 644 "$pkgdir"/usr/lib/python*/site-packages/numpydoc-$pkgver-py*.egg-info/* + +} -- cgit v1.2.3-70-g09d2