mirror of
https://github.com/TrentSPalmer/aur-packages.git
synced 2024-11-16 09:11:31 -08:00
30 lines
905 B
Bash
30 lines
905 B
Bash
# Maintainer: Trent Palmer trenttdually at gmail
|
|
# Previous maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
|
|
# Previous maintainer: Elena ``of Valhalla'' Grandi <elena.valhalla@gmail.com>
|
|
|
|
pkgname=python-numpydoc
|
|
pkgver=0.9.1
|
|
pkgrel=1
|
|
pkgdesc="Sphinx extension to support docstrings in Numpy format"
|
|
arch=('any')
|
|
url="https://github.com/numpy/numpydoc"
|
|
license=('BSD')
|
|
depends=('python-sphinx')
|
|
backup=()
|
|
options=(!emptydirs)
|
|
source=("$pkgname-$pkgver.tar.gz::${url}/archive/v${pkgver}.tar.gz")
|
|
sha256sums=('b480ef5a7ed680a2ecb1615c44a5becb8eacb2be94b58b200340f0a2a458b854')
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/numpydoc-$pkgver"
|
|
|
|
python 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/*
|
|
|
|
}
|
|
|