[arch-commits] Commit in sagemath/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Wed Sep 2 10:55:43 UTC 2015
Date: Wednesday, September 2, 2015 @ 12:55:43
Author: arojas
Revision: 139105
Fix opening docs from Jupyter notebook
Modified:
sagemath/trunk/PKGBUILD
----------+
PKGBUILD | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-09-02 10:25:27 UTC (rev 139104)
+++ PKGBUILD 2015-09-02 10:55:43 UTC (rev 139105)
@@ -75,10 +75,10 @@
# 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
More information about the arch-commits
mailing list