1 # Maintainer: BeholdMyGlory <larvid@gmail.com>
3 pkgname=python3-genshi-svn
6 pkgdesc="Python toolkit for stream-based generation of output for the web."
7 url="http://genshi.edgewall.org/"
11 makedepends=('python-distribute' 'subversion')
13 _svntrunk=http://svn.edgewall.org/repos/genshi/trunk
18 msg "Connecting to SVN server...."
20 if [[ -d "$_svnmod/.svn" ]]; then
21 (cd "$_svnmod" && svn up -r "$pkgver")
23 svn co "$_svntrunk" --config-dir ./ -r "$pkgver" "$_svnmod"
26 msg "SVN checkout done or server timeout"
27 msg "Starting build..."
29 rm -rf "$srcdir/$_svnmod-build"
30 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
31 cd "$srcdir/$_svnmod-build"
33 python setup.py install --root=$pkgdir
34 install -D -m0644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING