[arch-commits] Commit in sage-mathematics/trunk (PKGBUILD.split extensions.patch)

Antonio Rojas arojas at archlinux.org
Tue Dec 23 09:48:17 UTC 2014


    Date: Tuesday, December 23, 2014 @ 10:48:17
  Author: arojas
Revision: 124390

Add lrcalc support

Modified:
  sage-mathematics/trunk/PKGBUILD.split
  sage-mathematics/trunk/extensions.patch

------------------+
 PKGBUILD.split   |    8 +++++---
 extensions.patch |   18 +++++++++++++-----
 2 files changed, 18 insertions(+), 8 deletions(-)

Modified: PKGBUILD.split
===================================================================
--- PKGBUILD.split	2014-12-23 09:33:16 UTC (rev 124389)
+++ PKGBUILD.split	2014-12-23 09:48:17 UTC (rev 124390)
@@ -15,7 +15,7 @@
 arch=('i686' 'x86_64')
 url="http://www.sagemath.org"
 license=('GPL')
-makedepends=('ipython2' 'cython2' 'ppl' 'glpk' 'mpfi' 'polybori' 'singular' 'libcliquer' 'ecl' 'libgap' 'givaro' 'libmpc' 'lcalc' 
+makedepends=('ipython2' 'cython2' 'ppl' 'glpk' 'mpfi' 'polybori' 'singular' 'libcliquer' 'ecl' 'libgap' 'givaro' 'libmpc' 'lcalc' 'lrcalc'
   'eclib' 'gmp-ecm' 'zn_poly' 'pynac' 'linbox' 'gsl' 'boost' 'scons' 'ratpoints' 'symmetrica' 'fflas-ffpack' 'gd' 'python2-jinja' 'python2-numpy')
 source=("https://github.com/sagemath/sage/archive/$pkgver.tar.gz" "http://www.sagemath.org/packages/upstream/pexpect/pexpect-2.0.tar.bz2" 
 'extensions.patch' 'c_lib.patch' 'env.patch' 'paths.patch' 'blas.patch' 'clean.patch' 'skip-check.patch' 'gap-hap.patch' 'pexpect-env.patch')
@@ -89,10 +89,12 @@
 
 package_sage-mathematics() {
   depends=('ipython2' 'cython2' 'ppl' 'glpk' 'mpfi' 'palp' 'polybori' 'singular' 'libcliquer' 'maxima-ecl' 'gfan' 'sympow' 'tachyon' 'python2-rpy2' 
-  'python2-matplotlib' 'python2-scipy' 'python2-mpmath' 'python2-sympy' 'libgap' 'gap' 'genus2reduction' 'flintqs' 'givaro' 'libmpc' 'lcalc' 
+  'python2-matplotlib' 'python2-scipy' 'python2-mpmath' 'python2-sympy' 'libgap' 'gap' 'genus2reduction' 'flintqs' 'givaro' 'libmpc' 'lcalc' 'lrcalc'
   'eclib' 'gmp-ecm' 'zn_poly' 'python2-gd' 'pynac' 'linbox'  'gsl' 'pari-galdata' 'pari-seadata-small' 'sage-data-combinatorial_designs' 
   'sage-data-elliptic_curves' 'sage-data-graphs' 'sage-data-polytopes_db' 'sage-data-conway_polynomials') # python2-pexpect
-  optdepends=('jmol: 3D plots' 'sage-notebook: Web-based notebook interface' 'sage-mathematics-doc: Documentation and inline help' 'sage-mathematics-src: source files needed to build cython code' 'python2-pyzmq: ipython notebook' 'python2-tornado: ipython notebook' 'python2-jinja: ipython notebook')
+  optdepends=('jmol: 3D plots' 'sage-notebook: Web-based notebook interface' 'sage-mathematics-doc: Documentation and inline help'
+  'sage-mathematics-src: source files needed to build cython code'
+  'python2-pyzmq: ipython notebook' 'python2-tornado: ipython notebook' 'python2-jinja: ipython notebook')
 
   cd sage-$pkgver/src
 

Modified: extensions.patch
===================================================================
--- extensions.patch	2014-12-23 09:33:16 UTC (rev 124389)
+++ extensions.patch	2014-12-23 09:48:17 UTC (rev 124390)
@@ -1,7 +1,6 @@
-diff -up src/module_list.py.orig src/module_list.py
---- src/module_list.py.orig	2014-05-26 13:34:05.597783829 -0300
-+++ src/module_list.py	2014-05-26 13:34:15.908784224 -0300
-@@ -2070,7 +2070,8 @@ ext_modules = [
+--- src/module_list.py.orig	2014-11-23 15:58:13.000000000 +0100
++++ src/module_list.py	2014-12-23 10:43:44.412576412 +0100
+@@ -2126,7 +2126,8 @@
  # These extensions are to be compiled only if the
  # corresponding packages have been installed
  
@@ -10,4 +9,13 @@
 +    return False
  
  if is_package_installed('fes'):
-     ext_modules.extend([
\ No newline at end of file
+     ext_modules.extend([
+@@ -2208,7 +2209,7 @@
+         )
+ 
+ 
+-if is_package_installed('lrcalc'):
++if 1:
+     ext_modules.append(
+         Extension('sage.libs.lrcalc.lrcalc',
+                   sources = ["sage/libs/lrcalc/lrcalc.pyx"],



More information about the arch-commits mailing list