1 # Contributor: Edvinas Valatka <edacval@gmail.com>
2 # Maintainer: Edvinas Valatka <edacval@gmail.com>
7 pkgdesc="Python3 SVN Extension."
8 url="http://pysvn.tigris.org"
9 depends=('python=3.1.3' 'subversion' 'apr' 'expat' 'neon' 'openssl')
10 conflicts=('pysvn<=1.7.4-3')
11 arch=('i686' 'x86_64')
13 source=("http://pysvn.barrys-emacs.org/source_kits/pysvn-$pkgver.tar.gz")
14 md5sums=('3334718248ec667b17d333aac73d5680')
16 _pyver=`python3 -V 2>&1|sed -e 's/.* 3\.\([0-9]\).*/\1/'`
17 cd $srcdir/pysvn-$pkgver
18 cd $srcdir/pysvn-$pkgver/Source
19 python3 setup.py configure || return 1
21 install -D -m644 pysvn/__init__.py $pkgdir/usr/lib/python3.${_pyver}/site-packages/pysvn/__init__.py
22 install -D -m755 pysvn/_pysvn_3_${_pyver}.so $pkgdir/usr/lib/python3.${_pyver}/site-packages/pysvn/_pysvn_3_${_pyver}.so
24 # vim: set ts=2 sw=2 et: