mirror of
https://github.com/TrentSPalmer/aur-packages.git
synced 2024-11-24 03:51:29 -08:00
add python-numpydoc
This commit is contained in:
parent
b2334deadb
commit
bf4a23186d
14
python-numpydoc/.SRCINFO
Normal file
14
python-numpydoc/.SRCINFO
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
pkgbase = python-numpydoc
|
||||||
|
pkgdesc = Sphinx extension to support docstrings in Numpy format
|
||||||
|
pkgver = 0.9.1
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://github.com/numpy/numpydoc
|
||||||
|
arch = any
|
||||||
|
license = BSD
|
||||||
|
depends = python-sphinx
|
||||||
|
options = !emptydirs
|
||||||
|
source = python-numpydoc-0.9.1.tar.gz::https://github.com/numpy/numpydoc/archive/v0.9.1.tar.gz
|
||||||
|
sha256sums = b480ef5a7ed680a2ecb1615c44a5becb8eacb2be94b58b200340f0a2a458b854
|
||||||
|
|
||||||
|
pkgname = python-numpydoc
|
||||||
|
|
29
python-numpydoc/PKGBUILD
Normal file
29
python-numpydoc/PKGBUILD
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
# 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/*
|
||||||
|
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user