1 # Contributor: Fazlul Shahriar <fshahriar@gmail.com>
2 # Maintainer: Clément Démoulins <clement@archivel.fr>
4 pkgname=python2-coverage
7 pkgdesc="A tool for measuring code coverage of Python programs."
9 url="http://nedbatchelder.com/code/coverage/"
12 makedepends=('python2-distribute')
14 source=("http://pypi.python.org/packages/source/c/coverage/coverage-$pkgver.tar.gz")
15 md5sums=('410d4c8155a4dab222f2bc51212d4a24')
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