desktop/python2-pytest/PKGBUILD
Adrian Chaves Fernandez (Gallaecio) 53b62ea21a PyTest added from the CCR.
2013-05-13 22:28:27 +00:00

26 lines
768 B
Bash

# Maintainer: Inkane <neoinkaneglade@aol.com>
# Contributor: aur2ccr (http://ddg.gg/?q=!ccr+aur2ccr)
# Contributor: Felix Kaiser <felix.kaiser@fxkr.net>
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}
}