Created
May 18, 2013 12:54
-
-
Save flying-sheep/5604309 to your computer and use it in GitHub Desktop.
fixed Spyder PKGBUILD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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