summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-09-12 19:05:33 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-09-22 16:15:03 -0300
commit99a2b038666a595304c35c997688e2775a804006 (patch)
tree3d8c70197019185b1e2cb621afdda1cc78decf5b /libre
parentec0b82e6ba3658290cc1335026e654c798daed0e (diff)
sagemath-6.8-4.parabola1: fix opening docs from Jupyter notebook and rebuild against m4rie 20150908
Diffstat (limited to 'libre')
-rw-r--r--libre/sagemath/PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/libre/sagemath/PKGBUILD b/libre/sagemath/PKGBUILD
index 872ceceb7..12a739ace 100644
--- a/libre/sagemath/PKGBUILD
+++ b/libre/sagemath/PKGBUILD
@@ -11,7 +11,7 @@
pkgname=sagemath
pkgver=6.8
-pkgrel=3.parabola1
+pkgrel=4.parabola1
pkgdesc="Free Mathematics Software, free software replacement of Magma, Maple, Mathematica, and Matlab, without nonfree nauty recommendation"
arch=(i686 x86_64)
url="http://www.sagemath.org"
@@ -77,10 +77,10 @@ prepare(){
# fix Cremona database detection
sed -e "s|is_package_installed('database_cremona_ellcurve')|os.path.exists('/usr/share/sage/cremona/cremona.db')|" \
-i src/sage/databases/cremona.py
-# fix IPython kernel path
- sed -e "s|os.path.join(SAGE_ROOT, 'sage')|'/usr/bin/sage'|" -i src/sage/repl/ipython_kernel/install.py
# find bliss headers
sed -e 's|graph.hh|bliss/graph.hh|' -i src/sage/graphs/bliss.pyx
+# fix opening docs from Jupyter notebook
+ sed -e "s|SageKernelSpec.identifier()|'SageMath'|g" -i src/sage/repl/ipython_kernel/kernel.py
# fix IPython 4 compatibility
patch -p0 -i ../ipython-4.patch