diff options
author | Antony Lee | 2016-03-18 10:02:26 -0700 |
---|---|---|
committer | Antony Lee | 2016-03-18 10:02:26 -0700 |
commit | 482407a329a484b8704381bbe5452dfcd227143a (patch) | |
tree | dfc88ff73e301d2dfbb241afb12531f8a59657c8 | |
download | aur-482407a329a484b8704381bbe5452dfcd227143a.tar.gz |
Initial commit.
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c805d4e0282a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by mksrcinfo v8 +# Fri Mar 18 17:01:58 UTC 2016 +pkgbase = python-nbstripout + pkgdesc = Strips outputs from Jupyter and IPython notebooks + pkgver = 0.2.6 + pkgrel = 1 + url = https://pypi.python.org/pypi/nbstripout/ + arch = any + license = MIT + checkdepends = python-pytest + depends = git + depends = jupyter-notebook + source = https://pypi.python.org/packages/source/n/nbstripout/nbstripout-0.2.6.tar.gz + md5sums = 09e86f12b7a211d4a4040ed939d905a7 + +pkgname = python-nbstripout + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8810428bd0fd --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Antony Lee <anntzer dot lee at gmail dot com> + +_pyname=nbstripout +pkgname=python-$_pyname +pkgver=0.2.6 +pkgrel=1 +pkgdesc='Strips outputs from Jupyter and IPython notebooks' +url="https://pypi.python.org/pypi/$_pyname/" +depends=('git' 'jupyter-notebook') +checkdepends=('python-pytest') +license=('MIT') +arch=('any') +source=("https://pypi.python.org/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz") +md5sums=('09e86f12b7a211d4a4040ed939d905a7') + +build() { + cd $srcdir/$_pyname-$pkgver + python setup.py build +} + +check() { + cd $srcdir/$_pyname-$pkgver + python setup.py test +} + +package() { + cd $srcdir/$_pyname-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |