1 # Maintainer: Nikolay Bryskin <devel.niks@gmail.com>
3 pkgname=python-rdflib-hg
6 pkgdesc="A Python3 library for working with RDF, a simple yet powerful language for representing information"
8 url="https://bitbucket.org/gromgull/rdflib-python3"
12 makedepends=('python-distribute' 'mercurial')
13 provides=('python-rdflib')
15 _hgroot="https://bitbucket.org/gromgull"
16 _hgrepo="rdflib-python3"
20 msg "Connecting to Mercurial server...."
22 if [ -d $_hgrepo ] ; then
25 msg "The local files are updated."
27 hg clone $_hgroot $_hgrepo
30 msg "Mercurial checkout done or server timeout"
31 msg "Starting make..."
33 rm -rf "$srcdir/$_hgrepo-build"
34 cp -r "$srcdir/$_hgrepo" "$srcdir/$_hgrepo-build"
35 cd "$srcdir/$_hgrepo-build"
45 cd "$srcdir/$_hgrepo-build"
46 python setup.py install --root="$pkgdir/"