Skip to content

Instantly share code, notes, and snippets.

@flying-sheep
Created May 18, 2013 12:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flying-sheep/5604309 to your computer and use it in GitHub Desktop.
Save flying-sheep/5604309 to your computer and use it in GitHub Desktop.
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