updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / python-mock / PKGBUILD
blob71402909716979dc940d95729f404896a73e6a30
1 # Contributor: Felix Kaiser <felix.kaiser@fxkr.net>
3 pkgname=python-mock
4 pkgver=0.7.2
5 pkgrel=1
6 pkgdesc="A Python Mocking and Patching Library for Testing"
7 url='http://www.voidspace.org.uk/python/mock/'
8 license=('BSD')
9 depends=('python')
10 arch=('i686' 'x86_64')
11 source=("http://pypi.python.org/packages/source/m/mock/mock-$pkgver.tar.gz")
12 md5sums=('0e63747b20e67f7d3e563bc6fd5b88d3')
14 build() {
15   cd "$srcdir/mock-$pkgver"
16   python setup.py install --optimize=1 --root="$pkgdir" || return 1