# Maintainer: Inkane # Contributor: aur2ccr (http://ddg.gg/?q=!ccr+aur2ccr) # Contributor: Felix Kaiser pkgname=python2-pytest pkgver=2.3.5 pkgrel=1 pkgdesc="rapid testing utils" arch=('any') license=('MIT') url="http://pytest.org/" depends=('python2' 'python2-py') makedepends=('python-distribute') source=("http://pypi.python.org/packages/source/p/pytest/pytest-$pkgver.tar.gz") md5sums=('18f150e7be96b5fe3c388b0e817b8087') build() { cd "$srcdir/pytest-$pkgver" python2 setup.py install --root="${pkgdir}" --optimize=1 install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/"$pkgname"/LICENSE # deal with the conflict with python-pytests version of /usr/bin/py.test #mv "$pkgdir/usr/bin/py.test"{,2} }