summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 02a66b773106c8fce82c72369e5d79667c58861c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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.94
pkgrel=1
pkgdesc="Yet Another Python Profiler, but this time Thread-Aware"
arch=(any)
url="http://${_name}.googlecode.com/"

license=('MIT')
groups=()
depends=($_py)
makedepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=(!emptydirs)
install=
source=("https://pypi.python.org/packages/source/y/yappi/${_name}-${pkgver}.tar.gz")
md5sums=('a02c49efe783c4e31d6bbd805a37adec')

package() {
  cd "$srcdir/$_name-$pkgver"
  $_py setup.py install --root="$pkgdir/" --optimize=1
}

# vim:set ts=2 sw=2 et: