Package Base Details: spyder-git

Git Clone URL: https://aur.archlinux.org/spyder-git.git (read-only)
Submitter: willemw
Maintainer: willemw
Last Packager: willemw
Votes: 20
Popularity: 0.745538
First Submitted: 2015-02-24 08:52
Last Updated: 2019-06-11 15:09

Packages (2)

Latest Comments

« First ‹ Previous ... 4 5 6 7 8 9

flying-sheep commented on 2013-05-18 12:55

fixed it:

https://gist.github.com/flying-sheep/5604309

davidovitch commented on 2013-04-08 11:43

Since pacman 4.1, I think every -git, -hg, -bzr needs to be updated. It is explained here: https://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines

For example, to get the correct version info I updated the PKGBUILD with:

pkgver() {
cd @srcdir/$_hgrepo-build
hg identify -ni | awk 'BEGIN{OFS=".";} {print $2}'
}

contrebasse commented on 2012-11-09 22:38

It seems that it requires python2-pyzmq:
ImportError: IPython.zmq requires pyzmq >= 2.1.4

big_gie commented on 2012-11-08 17:08

EDIT: Sorry AUR broke the patch.

Here's a pastebin for a diff of a working PKGBUILD: http://pastebin.com/jp4i2Zqr

big_gie commented on 2012-11-08 17:06

Here's a diff to a working PKGBUILD:
--- PKGBUILD.orig 2012-11-08 11:50:03.511586937 -0500
+++ PKGBUILD 2012-11-08 12:05:03.158445735 -0500
@@ -1,43 +1,57 @@
# Maintainer: TDY <tdy@gmx.com>

pkgname=spyder-hg
-pkgver=1059
+pkgver=2368
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')
+depends=('python2-pyqt' 'python2-pyflakes' 'desktop-file-utils' 'python2-pyzmq')
+makedepends=('mercurial' 'setuptools' 'python2-sphinx')
optdepends=('pylint: code analysis'
- 'python-matplotlib: 2D plotting'
- 'python-numpy: N-dimensional arrays'
- 'python-scipy: signal/image processing')
+ 'ipython2: enhanced Python interpreter'
+ 'python2-rope: editor code completion, calltips and go-to-definition'
+ "python2-sphinx: object inspector's rich text mode"
+ 'python2-numpy: N-dimensional arrays'
+ 'python2-scipy: signal/image processing'
+ 'python2-matplotlib: 2D/3D plotting')
provides=('spyder')
conflicts=('spyder')

-_hgroot=https://spyderlib.googlecode.com/hg/
+_hgroot=https://spyderlib.googlecode.com/hg
_hgrepo=spyderlib

build() {
cd "$srcdir"
+ msg "Connecting to Mercurial server...."

- if [[ -d $_hgrepo/.hg ]]; then
- cd $_hgrepo && hg pull -u && cd ..
+ if [[ -d "$_hgrepo" ]]; then
+ cd "$_hgrepo"
+ hg pull -u
+ msg "The local files are updated."
else
- hg clone $_hgroot/$_hgrepo
+ hg clone "$_hgroot" "$_hgrepo"
fi

- rm -rf $_hgrepo-build
- hg clone $_hgrepo $_hgrepo-build
- cd $_hgrepo-build
+ msg "Mercurial checkout done or server timeout"
+ msg "Starting build..."
+
+ rm -rf "$srcdir/$_hgrepo-build"
+ cp -r "$srcdir/$_hgrepo" "$srcdir/$_hgrepo-build"
+ cd "$srcdir/$_hgrepo-build"

python2 setup.py build
}

package() {
cd "$srcdir/$_hgrepo-build"
- python2 setup.py install --prefix=/usr --root="$pkgdir"
+ python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
install -Dm644 $_hgrepo/__init__.py \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ #Icon
+ sed -i -e '$a\Icon=spyder' "$srcdir/$_hgrepo-build"/scripts/spyder.desktop
+ install -D -m644 "$srcdir/$_hgrepo-build"/scripts/spyder.desktop \
+ "${pkgdir}"/usr/share/applications/spyder.desktop
+ install -D -m644 "$srcdir/$_hgrepo-build"/spyderlib/images/spyder.svg "${pkgdir}"/usr/share/icons/hicolor/scalable/apps/spyder.svg
}

cheesinglee commented on 2012-02-24 09:59

Build fails for me because it appears that the hg repository is pulled in twice, and gives up because no changes were added after the second pull.

I commented out the if-clause in build(), and was then able to get it to install.

vit commented on 2010-11-21 12:26

Doesn't compile.
real URL is https://spyderlib.googlecode.com/hg/
pulling from https://spyderlib.googlecode.com/hg//spyderlib
searching for changes
no changes found
updating to branch default
383 files updated, 0 files merged, 0 files removed, 0 files unresolved
Traceback (most recent call last):
File "setup.py", line 16, in <module>
from sphinx import setup_command
ImportError: No module named sphinx
Aborting...

Is it updated for python3?

vit commented on 2010-11-21 11:23

Doesn't compile.
real URL is https://spyderlib.googlecode.com/hg/
pulling from https://spyderlib.googlecode.com/hg//spyderlib
searching for changes
no changes found
updating to branch default
383 files updated, 0 files merged, 0 files removed, 0 files unresolved
Traceback (most recent call last):
File "setup.py", line 16, in <module>
from sphinx import setup_command
ImportError: No module named sphinx
Aborting...

Is it updated for python3?