1 # Contributor: Alexander Rødseth <rodseth@gmail.com>
5 pkgdesc="A fancy interface for the Python interpreter"
7 url="http://www.bpython-interpreter.org/"
9 depends=('python-pygments')
10 makedepends=('mercurial')
13 _hgroot="https://bitbucket.org/bobf/bpython/"
18 msg "Connecting to mercurial server"
19 if [ -d $_hgname ] ; then
20 cd "$_hgname" && hg pull
21 msg "Local files are updated"
25 msg "Mercurial checkout done or server timeout"
27 cp -r "$_hgname" "$_hgname-build"
36 python setup.py install --root=$pkgdir
37 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
40 # vim:set ts=2 sw=2 et: