1 # Contributor: furester <furester at gmail dot com>
3 pkgname="python-e_dbus-svn"
6 pkgdesc="e_dbus integrate dbus with EFL based applications (Python bindings)"
8 url="http://www.enlightenment.org"
10 depends=('e_dbus-svn' 'python')
11 makedepends=('svn' 'cython' 'pyrex')
12 conflicts=('pye_dbus')
17 _svntrunk="http://svn.enlightenment.org/svn/e/trunk/BINDINGS/python/python-e_dbus/"
18 _svnmod="python-e_dbus"
23 msg "Connecting to $_svntrunk SVN server...."
24 if [ -d $_svnmod/.svn ]; then
25 (cd $_svnmod && svn up -r $pkgver)
27 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
30 msg "SVN checkout done or server timeout"
31 msg "Starting make..."
33 cp -r $_svnmod $_svnmod-build
36 _incdir=`python -c "import distutils.sysconfig; \
37 print distutils.sysconfig.get_python_inc()"`
38 python setup.py install --root="$pkgdir" \
39 install_headers --install-dir="$pkgdir/${_incdir}" || return 1
41 # install license files
42 install -Dm644 $srcdir/$_svnmod-build/COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
44 rm -r $srcdir/$_svnmod-build