diff options
author | Fabien Devaux | 2015-07-15 10:19:22 +0200 |
---|---|---|
committer | Fabien Devaux | 2015-07-15 10:19:22 +0200 |
commit | c3b067271bed3c84166e3b058de6f9dadcd65231 (patch) | |
tree | a403b27f63dd64681babd4d60bc44171d1255685 | |
download | aur-c3b067271bed3c84166e3b058de6f9dadcd65231.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 37 |
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..45f5b4f3d912 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = python2-yappi + pkgdesc = Yet Another Python Profiler, but this time Thread-Aware + pkgver = 0.82 + pkgrel = 1 + url = http://code.google.com/p/yappi/ + arch = any + license = MIT + depends = python2 + options = !emptydirs + source = http://yappi.googlecode.com/files/yappi-0.82.tar.gz + md5sums = 3386a00eca61c490db521ebd96390bdd + +pkgname = python2-yappi + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7ea87b6e395a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# See http://wiki.archlinux.org/index.php/Python_Package_Guidelines for more +# information on Python packaging. + +# Maintainer: Your Name <youremail@domain.com> +_name=yappi +_py=python2 +pkgname=$_py-$_name +pkgver=0.82 +pkgrel=1 +pkgdesc="Yet Another Python Profiler, but this time Thread-Aware" +arch=(any) +url="http://code.google.com/p/$_name/" + +license=('MIT') +groups=() +depends=($_py) +makedepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=(!emptydirs) +install= +source=("http://yappi.googlecode.com/files/$_name-$pkgver.tar.gz") +md5sums=('3386a00eca61c490db521ebd96390bdd') + +package() { + cd "$srcdir/$_name-$pkgver" + $_py setup.py install --root="$pkgdir/" --optimize=1 +} + +# vim:set ts=2 sw=2 et: |