diff options
author | Kevin Slagle | 2015-07-13 14:33:02 -0700 |
---|---|---|
committer | Kevin Slagle | 2015-07-13 14:33:02 -0700 |
commit | 1007d5572676b3ab8650010f818cb6fdc4ee29a8 (patch) | |
tree | 530ee76a42c33208e4ec4490112447a073ca6741 | |
download | aur-1007d5572676b3ab8650010f818cb6fdc4ee29a8.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 00000000000..4164cfc8526 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = python-snakeviz + pkgdesc = A viewer for Python profiling data that runs as a web application in your browser. It is inspired by the wxPython profile viewer RunSnakeRun. + pkgver = 0.4.0 + pkgrel = 1 + url = http://jiffyclub.github.io/snakeviz + arch = any + license = CUSTOM + depends = python + depends = python-tornado + depends = python-jinja + options = !emptydirs + source = https://pypi.python.org/packages/source/s/snakeviz/snakeviz-0.4.0.tar.gz + md5sums = a7f59cded288ac7dab683f718dd34727 + +pkgname = python-snakeviz + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 00000000000..32577c5e242 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Kevin Slagle <kjslag at gmail dot com> +pkgname=python-snakeviz +_pythonname=snakeviz +pkgver=0.4.0 +pkgrel=1 +pkgdesc='A viewer for Python profiling data that runs as a web application in your browser. It is inspired by the wxPython profile viewer RunSnakeRun.' +arch=('any') +url="http://jiffyclub.github.io/snakeviz" +license=('CUSTOM') +depends=('python' 'python-tornado' 'python-jinja') +source=("https://pypi.python.org/packages/source/s/$_pythonname/$_pythonname-0.4.0.tar.gz") +md5sums=('a7f59cded288ac7dab683f718dd34727') +options=(!emptydirs) + +package() { + cd "$srcdir/$_pythonname-$pkgver/" + python setup.py install --root="$pkgdir/" --optimize=1 + install -D -m 644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt" +} + +# vim:set ts=2 sw=2 et: |