updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / python2-mock / PKGBUILD
blob77424ef9163284c467eabb367a4d09e18dd1ea60
1 # Contributor: Felix Kaiser <felix.kaiser@fxkr.net>
3 pkgname=python2-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=('python2')
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   python2 setup.py install --optimize=1 --root="$pkgdir" || return 1