updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / nose-django / PKGBUILD
blob452cc38e393180fada6aaad063ba055ad927691c
1 # maintainer: palbo <palbof@gmail.com>
3 pkgname=nose-django
4 pkgdesc="Plugin for nosetests to run unit tests against Django."
5 pkgver=13
6 pkgrel=1
7 license=('GPL')
8 arch=('i686' 'x86_64')
9 depends=('python>=2.5' 'python-nose' 'django')
10 makedepends=('mercurial')
11 url="http://bitbucket.org/akaihola/nose-django/"
12 source=()
13 md5sums=()
15 _hgroot="http://bitbucket.org/akaihola/"
16 _hgrepo="nose-django"
18 build() {
19   cd $startdir/src
21   cp -r $_hgrepo $_hgrepo-build
22   cd $_hgrepo-build
24   python setup.py install --prefix=/usr --root=$startdir/pkg || return 1
26   rm -rf $startdir/src/$_hgrepo-build