1 # Contributor: Felix Kaiser <felix.kaiser@fxkr.net>
6 pkgdesc="rapid testing utils"
9 url="http://pytest.org/"
10 depends=('python2' 'python2-py')
11 makedepends=('python2-distribute')
12 source=(http://pypi.python.org/packages/source/p/pytest/pytest-$pkgver.zip)
13 md5sums=('fa904c0f879c51f62058dbafe93cbe2f')
16 cd "$srcdir/pytest-$pkgver"
18 python2 setup.py install --root="${pkgdir}" --optimize=1
19 install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/"$pkgname"/LICENSE
21 # deal with the conflict with python-pytests version of /usr/bin/py.test
22 mv "$pkgdir/usr/bin/py.test"{,2}