summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cbdbc200f19761c5da73d82ed1cc06952da605a3 (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
# Contributor: Johannes Dewender arch at JonnyJD dot net

pkgname=python2-pymetrics
_pkgname=pymetrics
pkgver=0.8.1
pkgrel=1
pkgdesc="produces metrics for Python programs"
arch=(any)
url="http://pymetrics.sourceforge.net/"
license=('GPL2')
depends=('python2')
conflicts=('python-pymetrics<=0.8.1')
replaces=('python-pymetrics<=0.8.1')
options=(!emptydirs)
source=(http://downloads.sourceforge.net/$_pkgname/$_pkgname-$pkgver.tar.gz)
md5sums=('2413ea3d414e8a2b88b4a3d2aa32d835')

build () {
	  cd $srcdir/$_pkgname-$pkgver
	  python2 setup.py build
}

package () {
	  cd $srcdir/$_pkgname-$pkgver
	  python2 setup.py install --skip-build --root=$pkgdir/ --optimize=1
}