[sagemath] 03/09: Added a chunk to find pari's datadir and help in unbreak.patch

Julien Puydt julien.puydt at laposte.net
Fri Mar 13 22:05:21 UTC 2015


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

jpuydt-guest pushed a commit to branch master
in repository sagemath.

commit 83cde55db95476c1052757ba4991b2168e0c68e3
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Fri Mar 13 22:47:43 2015 +0100

    Added a chunk to find pari's datadir and help in unbreak.patch
---
 debian/patches/unbreak.patch | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/debian/patches/unbreak.patch b/debian/patches/unbreak.patch
index 2d9fb21..54325f0 100644
--- a/debian/patches/unbreak.patch
+++ b/debian/patches/unbreak.patch
@@ -259,6 +259,18 @@
  
 --- a/sage/src/sage/interfaces/gp.py
 +++ b/sage/src/sage/interfaces/gp.py
+@@ -222,9 +222,9 @@
+         # list of directories where gp will look for scripts (only current working directory)
+         self._eval_line('default(path,".");')
+         # location of elldata, seadata, galdata
+-        self._eval_line('default(datadir, "$SAGE_LOCAL/share/pari");')
++        self._eval_line('default(datadir, "/usr/share/pari");')
+         # executable for gp ?? help
+-        self._eval_line('default(help, "$SAGE_LOCAL/bin/gphelp -detex");')
++        self._eval_line('default(help, "/usr/bin/gphelp -detex");')
+         # logfile disabled since Expect already logs
+         self._eval_line('default(log,0);')
+ 
 @@ -501,7 +501,7 @@
              sage: gp.get_default('log')
              0

-- 
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