Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
fixed Spyder PKGBUILD
pkgname=spyder-hg
_hgrepo=spyderlib
pkgver=2823
pkgrel=1
pkgdesc="Scientific PYthon Development EnviRonment providing MATLAB-like features (formerly pydee)"
arch=('i686' 'x86_64')
url="http://spyderlib.googlecode.com/"
license=('MIT')
depends=('python-qscintilla')
makedepends=('mercurial' 'setuptools')
optdepends=(
'pylint: code analysis'
'python-matplotlib: 2D plotting'
'python-numpy: N-dimensional arrays'
'python-scipy: signal/image processing'
'ipython>=1.0: scientific console')
provides=('spyder')
conflicts=('spyder')
source=("hg+https://code.google.com/p/$_hgrepo/")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_hgrepo"
hg identify -ni | awk 'BEGIN{OFS=".";} {print $2}'
}
build() {
cd "$srcdir/$_hgrepo"
python setup.py build
}
package() {
cd "$srcdir/$_hgrepo"
python setup.py install --prefix=/usr --root="$pkgdir"
install -Dm644 "$_hgrepo/__init__.py" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment