1 # Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
2 # based on community version of stable ipython package
4 pkgname=ipython-unstable
8 pkgdesc="An enhanced Interactive Python shell, unstable version."
9 url="http://ipython.scipy.org/"
10 provides=("ipython=$pkgver" "ipython-docs=$pkgver")
11 conflicts=('ipython' 'ipython-docs')
13 depends=('python2>=2.6')
14 optdepends=("python-pexpect: for irunner"
15 "python2-nose: if you want to run IPython's test suite"
16 "python2-pyzmq: for parallel computing"
17 "python2-pyqt: for qtconsole GUI"
18 "pyside: alternative to PyQt for qtconsole GUI"
19 "python2-pygments: for syntax highlighting in qtconsole"
22 source=("https://github.com/ipython/ipython/tarball/rel-$pkgver")
23 md5sums=('c5881caecc873e569fd0d9a442336d0d')
30 cd "$srcdir/ipython-ipython-$_githubtag"
32 install -Dm644 docs/source/about/license_and_copyright.txt "$pkgdir/usr/share/licenses/ipython/license.txt"
33 python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
34 rm -rf "$pkgdir/usr/share/doc"
35 find "$pkgdir" -name '*.py' -print0 |xargs -0 \
36 sed -i -e 's,^#!/usr/bin/env python$,#!/usr/bin/env python2,' \
37 -e 's,^#!/usr/bin/python$,#!/usr/bin/python2,'