[arch-commits] Commit in sage-notebook/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue Jan 6 18:50:21 UTC 2015
Date: Tuesday, January 6, 2015 @ 19:50:21
Author: arojas
Revision: 125533
Fix displaying 3D plots (FS#43360)
Modified:
sage-notebook/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-01-06 17:45:27 UTC (rev 125532)
+++ PKGBUILD 2015-01-06 18:50:21 UTC (rev 125533)
@@ -3,7 +3,7 @@
pkgname=sage-notebook
pkgver=0.11.1
-pkgrel=1
+pkgrel=2
pkgdesc='Web-based notebook interface for Sage'
arch=('any')
url='http://www.sagemath.org'
@@ -11,10 +11,11 @@
depends=('sage-mathematics' 'python2-twisted' 'python2-flask-oldsessions' 'python2-flask-openid' 'python2-flask-autoindex' 'python2-flask-babel' 'python2-flask-silk' 'python2-webassets')
optdepends=('python2-pyopenssl: to use the notebook in secure mode')
makedepends=('gendesk')
-source=("https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz" 'sage.service')
+source=("https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz" 'sage.service' 'jmol.patch')
install=$pkgname.install
md5sums=('74d9ddd0f1b77ff8ef9d0f5b0007cf00'
- '61620179a7ecd85401d8e5a6ece3ea41')
+ '61620179a7ecd85401d8e5a6ece3ea41'
+ 'b29760c97a5328faa179a46008391bf0')
prepare() {
# create *.desktop file
@@ -36,6 +37,9 @@
-e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i
sed -e 's|python %s|python2 %s|' -i sagenb/notebook/run_notebook.py
sed -e "s|python = 'python'|python = 'python2'|" -i sagenb/interfaces/expect.py
+
+# fix displaying 3D plots
+ patch -p0 -i "$srcdir"/jmol.patch
}
build() {
More information about the arch-commits
mailing list