[arch-commits] Commit in sagemath/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Mon Jan 29 14:47:45 UTC 2018
Date: Monday, January 29, 2018 @ 14:47:40
Author: arojas
Revision: 287777
Fix python2 sed line (FS#57271)
Modified:
sagemath/trunk/PKGBUILD
----------+
PKGBUILD | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-29 14:46:17 UTC (rev 287776)
+++ PKGBUILD 2018-01-29 14:47:40 UTC (rev 287777)
@@ -9,7 +9,7 @@
pkgbase=sagemath
pkgname=(sagemath sagemath-jupyter)
pkgver=8.1
-pkgrel=5
+pkgrel=6
pkgdesc="Open Source Mathematics Software, free alternative to Magma, Maple, Mathematica, and Matlab"
arch=(x86_64)
url="http://www.sagemath.org"
@@ -106,7 +106,7 @@
patch -p1 -i ../sagemath-matplotlib2.patch
# use python2
- sed -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -e 's|exec python|exec python2|' -i src/bin/*
+ sed -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -e 's|\<exec python\>|exec python2|' -i src/bin/*
sed -e 's|cython {OPT}|cython2 {OPT}|' -e 's|python setup.py|python2 setup.py|' -i src/sage/misc/cython.py
sed -e 's|exec ipython|exec ipython2|' -e 's|cygdb|cygdb2|g' -i src/bin/sage
sed -e "s|'cython'|'cython2'|" -i src/bin/sage-cython
More information about the arch-commits
mailing list