1 # Maintainer: TDY <tdy@gmx.com>
6 pkgdesc="Scientific PYthon Development EnviRonment providing MATLAB-like features (formerly pydee)"
8 url="http://spyderlib.googlecode.com/"
10 depends=('python-qscintilla')
11 makedepends=('mercurial' 'setuptools')
12 optdepends=('pylint: code analysis'
13 'python-matplotlib: 2D plotting'
14 'python-numpy: N-dimensional arrays'
15 'python-scipy: signal/image processing')
19 _hgroot=https://spyderlib.googlecode.com/hg/
25 if [[ -d $_hgrepo/.hg ]]; then
26 cd $_hgrepo && hg pull -u && cd ..
28 hg clone $_hgroot/$_hgrepo
32 hg clone $_hgrepo $_hgrepo-build
35 python2 setup.py build
39 cd "$srcdir/$_hgrepo-build"
40 python2 setup.py install --prefix=/usr --root="$pkgdir"
41 install -Dm644 $_hgrepo/__init__.py \
42 "$pkgdir/usr/share/licenses/$pkgname/LICENSE"