[arch-commits] Commit in sagemath/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Mon Jun 12 21:18:28 UTC 2017


    Date: Monday, June 12, 2017 @ 21:18:28
  Author: arojas
Revision: 236569

Bring back Cremona database detection fix

Modified:
  sagemath/trunk/PKGBUILD

----------+
 PKGBUILD |    3 +++
 1 file changed, 3 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-12 20:49:05 UTC (rev 236568)
+++ PKGBUILD	2017-06-12 21:18:28 UTC (rev 236569)
@@ -88,6 +88,9 @@
   patch -p1 -i ../latte-count.patch
 # make 'sage -notebook=jupyter' work with our python3 jupyter-notebook package
   patch -p1 -i ../sagemath-python3-notebook.patch
+# 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
 
 # Upstream patches  
 # fix build against libfes 0.2 http://trac.sagemath.org/ticket/15209



More information about the arch-commits mailing list