updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / python-minimock / PKGBUILD
blobd63e62472b5953891b71a826ab32ab962818d473
1 # Maintainer: Markus Golser <elmargol@googlemail.com> 
3 pkgname=python-minimock
4 pkgver=1.2.7
5 pkgrel=1
6 pkgdesc="Minimock is a simple library for doing Mock objects with doctest."
7 arch=('any')
8 url="http://pypi.python.org/pypi/MiniMock"
9 license=('MIT')
10 depends=('python')
11 source=(
12     "http://pypi.python.org/packages/source/M/MiniMock/MiniMock-$pkgver.tar.gz"
13     "license.txt"
16 md5sums=('31e813667ed46b6990630a0f5bd62d94'
17          '02c66efc17f9943fad46dc4fad90a60f')
19 build() {
20   cd ${srcdir}/MiniMock-${pkgver}
21   python setup.py install --root=$pkgdir --optimize=1
22   install -D -m644 ${startdir}/license.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE