[sagemath] 01/01: Allow ipython spkg install in user path.

Tobias Hansen thansen at moszumanska.debian.org
Wed May 27 20:58:55 UTC 2015


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository sagemath.

commit b6e12c7815a6eb4b8264f60138c60423e9495700
Author: Tobias Hansen <tobias.han at gmx.de>
Date:   Wed May 27 18:46:04 2015 +0000

    Allow ipython spkg install in user path.
---
 debian/patches/series                 |  1 +
 debian/patches/spkg_ipython_fix.patch | 18 ++++++++++++++++++
 2 files changed, 19 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index 9ff3eb1..beb0922 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -11,3 +11,4 @@ silence_matplotlib_1_3_changes.patch
 rubiks_executables_renames.patch
 python_installs_in_userdir.patch
 pari.patch
+spkg_ipython_fix.patch
diff --git a/debian/patches/spkg_ipython_fix.patch b/debian/patches/spkg_ipython_fix.patch
new file mode 100644
index 0000000..e7f7e21
--- /dev/null
+++ b/debian/patches/spkg_ipython_fix.patch
@@ -0,0 +1,18 @@
+--- a/sage/build/pkgs/ipython/spkg-install
++++ b/sage/build/pkgs/ipython/spkg-install
+@@ -27,14 +27,7 @@
+     exit 1
+ fi
+ 
+-echo "Removing old version of IPython..."
+-rm -rf "$SAGE_LOCAL/lib/python/site-packages/IPython"
+-if [ $? -ne 0 ]; then
+-    echo >&2 "Error deleting previous version"
+-    exit 1
+-fi
+-
+-python setup.py install
++python setup.py install --user
+ if [ $? -ne 0 ]; then
+     echo >&2 "Error installing IPython"
+     exit 1

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagemath.git



More information about the debian-science-commits mailing list