[arch-commits] Commit in sagemath/trunk (PKGBUILD jupyter-path.patch)
Antonio Rojas
arojas at archlinux.org
Sat Oct 24 18:28:03 UTC 2015
Date: Saturday, October 24, 2015 @ 20:28:03
Author: arojas
Revision: 144931
Fix icons in jupyter notebook
Modified:
sagemath/trunk/PKGBUILD
sagemath/trunk/jupyter-path.patch
--------------------+
PKGBUILD | 3 +--
jupyter-path.patch | 9 +++++++++
2 files changed, 10 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-10-24 18:27:15 UTC (rev 144930)
+++ PKGBUILD 2015-10-24 18:28:03 UTC (rev 144931)
@@ -47,7 +47,7 @@
'a83a3b1bc7fcb7cbf752a83a8311fc42'
'f333939ea6c41377b66407c81016cee4'
'4eb23a3c7363258bc9ba764d6e5512ba'
- '5dd1cc8852b9d89cc8be98340c9bb44e'
+ '16b529194c6105c3364127bd8f1efa83'
'01229c3dabbb5fe13348d8c8c31da710'
'f91e760a251fe1042fa9f2aad68b6b02'
'fe3c5ef5b30a19c632d7fad0ee58c7c4')
@@ -137,7 +137,6 @@
export SAGE_ROOT="/usr"
export SAGE_LOCAL="$SAGE_ROOT"
export SAGE_SRC="$PWD"
- export SAGE_EXTCODE="$SAGE_SRC"/ext
export JUPYTER_PATH="$pkgdir"/usr/share/jupyter
python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
Modified: jupyter-path.patch
===================================================================
--- jupyter-path.patch 2015-10-24 18:27:15 UTC (rev 144930)
+++ jupyter-path.patch 2015-10-24 18:28:03 UTC (rev 144931)
@@ -19,4 +19,13 @@
'--python',
'-m', 'sage.repl.ipython_kernel',
'-f', '{connection_file}',
+@@ -208,7 +208,7 @@
+ sage: spec._symlink_resources() # not tested
+ """
+ path = os.path.join(SAGE_EXTCODE, 'notebook-ipython')
+- for filename in os.listdir(path):
++ for filename in os.listdir('ext/notebook-ipython'):
+ self.symlink(
+ os.path.join(path, filename),
+ os.path.join(self.kernel_dir, filename)
More information about the arch-commits
mailing list