updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / python2-coverage / PKGBUILD
blobef5dafed52c9a152d42a07dc218f8ef3eff583e6
1 # Contributor: Fazlul Shahriar <fshahriar@gmail.com>
2 # Maintainer: Clément Démoulins <clement@archivel.fr>
4 pkgname=python2-coverage
5 pkgver=3.5.1
6 pkgrel=1
7 pkgdesc="A tool for measuring code coverage of Python programs."
8 arch=('i686' 'x86_64')
9 url="http://nedbatchelder.com/code/coverage/"
10 license=('BSD')
11 depends=('python2')
12 makedepends=('python2-distribute')
14 source=("http://pypi.python.org/packages/source/c/coverage/coverage-$pkgver.tar.gz")
15 md5sums=('410d4c8155a4dab222f2bc51212d4a24')
17 build() {
18     cd "$srcdir/coverage-$pkgver"
20     # Everything has permission 0?700 for some reason
21     chmod +r $(find $srcdir/coverage-$pkgver)
22     chmod -x $srcdir/coverage-$pkgver/coverage.egg-info/*
23     chmod -x $srcdir/coverage-$pkgver/coverage/htmlfiles/*
25     python2 setup.py install --root=$pkgdir