updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / pythonmock / PKGBUILD
blob2bbddd1d08d9312a3a81fb39b523b377c1b6f0c2
1 # Contributor: Peter Simons <simons@cryp.to>
2 # Contributor: Nicolas Pouillard <nicolas.pouillard@gmail.com>
3 pkgname=pythonmock
4 pkgver=0.6.0
5 pkgrel=6
6 pkgdesc="create python mock objects that mimic the interface of classes that unit tests depends on"
7 arch=('i686' 'x86_64')
8 url='http://python-mock.sourceforge.net/'
9 license=('BSD')
10 depends=('python2')
11 source=("https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-sdists/mock-$pkgver.tar.gz")
12 md5sums=('2f7763e3051b663b3708ab93e16991b3')
14 build()
16   cd "$srcdir/mock-$pkgver" || return 1
17   python2 setup.py build || return 1
18   python2 setup.py install --root="$pkgdir" || return 1