1 # Contributor: giniu <gginiu@gmail.com>
2 pkgname=python-testoob-svn
5 pkgdesc="Advanced Python testing framework."
7 url="http://code.google.com/p/testoob/"
10 makedepends=('subversion' 'setuptools')
11 provides=('python-testoob')
12 conflicts=('python-testoob')
15 _svntrunk=http://testoob.googlecode.com/svn/trunk
21 if [ -d "$_svnmod"/.svn ]; then
22 (cd "$_svnmod" && svn up -r "$pkgver")
24 svn co "$_svntrunk" --config-dir ./ -r "$pkgver" "$_svnmod"
27 msg "SVN checkout done or server timeout"
28 msg "Starting make..."
30 rm -rf "$_svnmod-build"
31 svn export "$_svnmod" "$_svnmod-build"
34 python setup.py install --root="$pkgdir"/ --optimize=1 || return 1