summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonio Rojas2019-03-03 14:28:59 +0000
committerAntonio Rojas2019-03-03 14:28:59 +0000
commitb6d5c0e655368746b5705220206a94dd965d7944 (patch)
treeac020ce4e1948ce0645f4f41b8175eea0d084fd4
parent3493c8d76503867bc97cfdc05dd61fbe446e0c34 (diff)
downloadaur-b6d5c0e655368746b5705220206a94dd965d7944.tar.gz
Add new python2-pplpy dependency
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD31
-rw-r--r--package.patch4
-rw-r--r--sagemath-env.patch3
-rw-r--r--sagemath-python3-notebook.patch2
-rw-r--r--sagemath-singular-4.1.2.patch (renamed from sagemath-singular-4.1.1.p4.patch)24
6 files changed, 54 insertions, 30 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6f25f364673f..ec970e216509 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = sagemath-git
pkgdesc = Open Source Mathematics Software, free alternative to Magma, Maple, Mathematica, and Matlab
- pkgver = 8.7.beta2.r0.ga6cab5b519
+ pkgver = 8.7.beta6.r0.gc59b6881d8
pkgrel = 1
url = http://www.sagemath.org
arch = x86_64
@@ -14,7 +14,7 @@ pkgbase = sagemath-git
makedepends = sirocco
makedepends = mcqd
makedepends = coxeter
- makedepends = bliss-graphs
+ makedepends = bliss
makedepends = tdlib
makedepends = python2-pkgconfig
makedepends = shared_meataxe
@@ -22,7 +22,6 @@ pkgbase = sagemath-git
makedepends = primecount
makedepends = git
depends = ipython2
- depends = ppl
depends = palp
depends = brial
depends = cliquer
@@ -39,6 +38,7 @@ pkgbase = sagemath-git
depends = python2-sympy
depends = python2-networkx
depends = python2-pillow
+ depends = python2-pplpy
depends = python2-future
depends = gap
depends = flintqs
@@ -67,7 +67,6 @@ pkgbase = sagemath-git
depends = libhomfly
depends = libbraiding
depends = three.js
- depends = openblas
optdepends = cython2: to compile cython code
optdepends = python2-pkgconfig: to compile cython code
optdepends = jmol: 3D plots
@@ -88,6 +87,7 @@ pkgbase = sagemath-git
optdepends = latte-integrale: integral point count in polyhedra
optdepends = polymake: polymake backend for polyhedral computations
optdepends = shared_meataxe: faster matrix arithmetic over finite fields
+ optdepends = openblas: faster linear algebra
optdepends = sirocco: for computing the fundamental group of the complement of a plane curve
optdepends = primecount: faster prime_pi implementation
optdepends = dot2tex: for displaying some diagrams
@@ -104,19 +104,19 @@ pkgbase = sagemath-git
source = sagemath-threejs.patch
source = sagemath-cremona.patch
source = sagemath-sphinx-1.8.patch
- source = sagemath-singular-4.1.1.p4.patch
+ source = sagemath-singular-4.1.2.patch
source = sagemath-ecl-sigfpe.patch
sha256sums = SKIP
- sha256sums = 5ce8d222eb54511b42b6eb90b55871d1e15f3bdd812704a96e066bf183a25a38
- sha256sums = 960afe4fcbffe2762b66119b8f14355386ced0d8ee52b535d0dac1dba90d365b
+ sha256sums = e0e36f2a39b634a76e1c3ad9a31f9ab60e734dd53b43203557b76613277d53b9
+ sha256sums = 71457eb692d5a518686132ee080ea40a4db948113415ba1b8df0de5b0451b944
sha256sums = b66d5bb692159910cec83c80262c43a687d3a678010c7ae4c7070f7cf3a0d5cb
- sha256sums = bd2744c6564bbf71bd6ea3cd7b9031e2126cc1423bcdc1fcc258d90d750a129d
+ sha256sums = 12cd410035ae644c2495b0dcd3a5138133a471ecc07912d37114c46ee837eb0e
sha256sums = f12bd2a53ad51549015093aacc89978f4d796d9ab5bcd3d737aa0d57a5815b54
sha256sums = 7fcb52e96935dccb0f958d37c2f4e3918392480b9af53e08562f6cba6c68cb94
sha256sums = f6b48abf34f64ea3fc092b0f0179e89633f7d3ecc0d62c2acacbfa1217751d63
sha256sums = 4c6df9e4e5a7b29ecf6189eda3e5a79f69b6e1b4d29c1b9559663149b8c0af96
sha256sums = 22f5e44a42c8276025b8512f45cac1c36d576c29c7fd9d36fde8b19ff87867d8
- sha256sums = 482887fe43d89cef3270e89300ab9e2238fa74cd5b7c875688b68fb1b10c4fdf
+ sha256sums = 961bfb5694b67d425d21240d71490cb71714b5207c23448c89be0966512ff8f9
sha256sums = a42f3b152b1aedb8abf16bc70971419919d1fe30328574e7fef8305f9d07d938
pkgname = sagemath-git
@@ -140,6 +140,7 @@ pkgname = sagemath-git
optdepends = latte-integrale: integral point count in polyhedra
optdepends = polymake: polymake backend for polyhedral computations
optdepends = shared_meataxe: faster matrix arithmetic over finite fields
+ optdepends = openblas: faster linear algebra
optdepends = sirocco: for computing the fundamental group of the complement of a plane curve
optdepends = primecount: faster prime_pi implementation
optdepends = dot2tex: for displaying some diagrams
@@ -155,7 +156,6 @@ pkgname = sagemath-jupyter-git
depends = sagemath
depends = python2-jupyter_client
depends = python2-ipywidgets
- depends = mathjax
depends = jsmol
optdepends = sage-notebook-exporter: convert flask notebooks to Jupyter
diff --git a/PKGBUILD b/PKGBUILD
index c11b4dda9ff8..65906f77f627 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,17 +7,17 @@
pkgbase=sagemath-git
pkgname=(sagemath-git sagemath-jupyter-git)
-pkgver=8.7.beta2.r0.ga6cab5b519
+pkgver=8.7.beta6.r0.gc59b6881d8
pkgrel=1
pkgdesc="Open Source Mathematics Software, free alternative to Magma, Maple, Mathematica, and Matlab"
arch=(x86_64)
url="http://www.sagemath.org"
license=(GPL)
-depends=(ipython2 ppl palp brial cliquer maxima-ecl gfan sympow nauty python2-rpy2 python2-fpylll python2-psutil python2-cypari2
- python2-matplotlib python2-scipy python2-sympy python2-networkx python2-pillow python2-future gap flintqs lcalc lrcalc arb
- eclib zn_poly gd python2-cvxopt pynac linbox m4rie rubiks pari-galdata pari-seadata-small planarity rankwidth tachyon
+depends=(ipython2 palp brial cliquer maxima-ecl gfan sympow nauty python2-rpy2 python2-fpylll python2-psutil python2-cypari2
+ python2-matplotlib python2-scipy python2-sympy python2-networkx python2-pillow python2-pplpy python2-future
+ gap flintqs lcalc lrcalc arb eclib zn_poly gd python2-cvxopt pynac linbox m4rie rubiks pari-galdata pari-seadata-small planarity rankwidth tachyon
sage-data-combinatorial_designs sage-data-elliptic_curves sage-data-graphs sage-data-polytopes_db sage-data-conway_polynomials
- libgiac libhomfly libbraiding three.js openblas)
+ libgiac libhomfly libbraiding three.js)
optdepends=('cython2: to compile cython code' 'python2-pkgconfig: to compile cython code'
'jmol: 3D plots' 'sage-notebook: Flask notebook interface (deprecated)'
'sagemath-doc: Documentation and inline help' 'python2-igraph: igraph backend for graph theory'
@@ -28,12 +28,12 @@ optdepends=('cython2: to compile cython code' 'python2-pkgconfig: to compile cyt
'lrs: Algorithms for linear reverse search used in game theory and for computing volume of polytopes'
'libfes: exhaustive search of solutions for boolean equations' 'python2-pynormaliz: Normaliz backend for polyhedral computations'
'latte-integrale: integral point count in polyhedra' 'polymake: polymake backend for polyhedral computations'
- 'shared_meataxe: faster matrix arithmetic over finite fields'
+ 'shared_meataxe: faster matrix arithmetic over finite fields' 'openblas: faster linear algebra'
'sirocco: for computing the fundamental group of the complement of a plane curve' 'primecount: faster prime_pi implementation'
'dot2tex: for displaying some diagrams' 'cryptominisat5: SAT solver' 'python2-pycosat: picosat SAT solver'
'python2-pip: to install optional packages with sage -pip')
makedepends=(cython2 boost ratpoints symmetrica python2-jinja coin-or-cbc sirocco
- mcqd coxeter bliss-graphs tdlib python2-pkgconfig shared_meataxe libfes primecount git)
+ mcqd coxeter bliss tdlib python2-pkgconfig shared_meataxe libfes primecount git)
source=(git://git.sagemath.org/sage.git#branch=develop
sagemath-env.patch
package.patch
@@ -44,19 +44,19 @@ source=(git://git.sagemath.org/sage.git#branch=develop
sagemath-threejs.patch
sagemath-cremona.patch
sagemath-sphinx-1.8.patch
- sagemath-singular-4.1.1.p4.patch
+ sagemath-singular-4.1.2.patch
sagemath-ecl-sigfpe.patch)
sha256sums=('SKIP'
- '5ce8d222eb54511b42b6eb90b55871d1e15f3bdd812704a96e066bf183a25a38'
- '960afe4fcbffe2762b66119b8f14355386ced0d8ee52b535d0dac1dba90d365b'
+ 'e0e36f2a39b634a76e1c3ad9a31f9ab60e734dd53b43203557b76613277d53b9'
+ '71457eb692d5a518686132ee080ea40a4db948113415ba1b8df0de5b0451b944'
'b66d5bb692159910cec83c80262c43a687d3a678010c7ae4c7070f7cf3a0d5cb'
- 'bd2744c6564bbf71bd6ea3cd7b9031e2126cc1423bcdc1fcc258d90d750a129d'
+ '12cd410035ae644c2495b0dcd3a5138133a471ecc07912d37114c46ee837eb0e'
'f12bd2a53ad51549015093aacc89978f4d796d9ab5bcd3d737aa0d57a5815b54'
'7fcb52e96935dccb0f958d37c2f4e3918392480b9af53e08562f6cba6c68cb94'
'f6b48abf34f64ea3fc092b0f0179e89633f7d3ecc0d62c2acacbfa1217751d63'
'4c6df9e4e5a7b29ecf6189eda3e5a79f69b6e1b4d29c1b9559663149b8c0af96'
'22f5e44a42c8276025b8512f45cac1c36d576c29c7fd9d36fde8b19ff87867d8'
- '482887fe43d89cef3270e89300ab9e2238fa74cd5b7c875688b68fb1b10c4fdf'
+ '961bfb5694b67d425d21240d71490cb71714b5207c23448c89be0966512ff8f9'
'a42f3b152b1aedb8abf16bc70971419919d1fe30328574e7fef8305f9d07d938')
pkgver() {
@@ -88,8 +88,8 @@ prepare(){
patch -p1 -i ../fes02.patch
# use Features to detect Cremona databases https://trac.sagemath.org/ticket/25825
patch -p1 -i ../sagemath-cremona.patch
-# Fixes for singular 4.1.1p4 https://trac.sagemath.org/ticket/25993
- patch -p1 -i ../sagemath-singular-4.1.1.p4.patch
+# Fixes for singular 4.1.2 https://trac.sagemath.org/ticket/25993
+ patch -p1 -i ../sagemath-singular-4.1.2.patch
# Fix SIGFPE crashes with ecl 16.1.3 https://trac.sagemath.org/ticket/22191
patch -p1 -i ../sagemath-ecl-sigfpe.patch
@@ -98,6 +98,7 @@ prepare(){
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\b|exec ipython2|' -e 's|cygdb|cygdb2|g' -i src/bin/sage
sed -e "s|'cython'|'cython2'|" -i src/bin/sage-cython
+ sed -e 's|"python"|"python2"|' -i src/sage/env.py
}
build() {
@@ -144,7 +145,7 @@ package_sagemath-git() {
package_sagemath-jupyter-git() {
pkgdesc='Jupyter kernel for SageMath'
- depends=(sagemath python2-jupyter_client python2-ipywidgets mathjax jsmol)
+ depends=(sagemath python2-jupyter_client python2-ipywidgets jsmol)
optdepends=('sage-notebook-exporter: convert flask notebooks to Jupyter')
cd sage/src
diff --git a/package.patch b/package.patch
index 49c469563d59..c9033b625e99 100644
--- a/package.patch
+++ b/package.patch
@@ -1,14 +1,14 @@
--- src/sage/misc/package.py.orig 2014-11-23 15:58:13.000000000 +0100
+++ src/sage/misc/package.py 2015-01-22 20:32:25.651383902 +0100
-@@ -328,7 +328,7 @@
+@@ -332,7 +332,7 @@
Use the framework provided by :mod:`sage.features` to check
whether a library is installed and functional.
"""
- return any(p.split('-')[0] == package for p in installed_packages(exclude_pip))
+ return True
+
def package_versions(package_type, local=False):
- r"""
--- src/sage_setup/optional_extension.py.orig 2016-10-19 18:35:10.092577510 +0000
+++ src/sage_setup/optional_extension.py 2016-10-19 18:38:13.514765366 +0000
@@ -21,8 +21,6 @@
diff --git a/sagemath-env.patch b/sagemath-env.patch
index 80696c0ab831..4e4fa2238222 100644
--- a/sagemath-env.patch
+++ b/sagemath-env.patch
@@ -1,6 +1,6 @@
--- src/bin/sage-env.orig 2015-01-06 10:46:04.469687605 +0100
+++ src/bin/sage-env 2015-01-06 10:49:59.547762019 +0100
-@@ -111,41 +111,7 @@
+@@ -111,41 +111,6 @@
}
@@ -39,7 +39,6 @@
- echo >&2 "Old SAGE_ROOT=$SAGE_ROOT"
- echo >&2 "New SAGE_ROOT=$NEW_SAGE_ROOT"
-fi
-+NEW_SAGE_ROOT="/usr"
# Don't execute the commands more than once for the same version of
diff --git a/sagemath-python3-notebook.patch b/sagemath-python3-notebook.patch
index b3133c1e7334..54e162a59929 100644
--- a/sagemath-python3-notebook.patch
+++ b/sagemath-python3-notebook.patch
@@ -2,7 +2,7 @@ diff --git a/src/bin/sage-notebook b/src/bin/sage-notebook
index 74192da240..0ede281aad 100755
--- a/src/bin/sage-notebook
+++ b/src/bin/sage-notebook
-@@ -96,8 +96,7 @@ class NotebookJupyter(object):
+@@ -95,8 +95,7 @@ class NotebookJupyter(object):
if not have_prerequisites():
print(self.PREREQUISITE_ERROR)
raise SystemExit(1)
diff --git a/sagemath-singular-4.1.1.p4.patch b/sagemath-singular-4.1.2.patch
index 2bc025c46897..41e1f83f3192 100644
--- a/sagemath-singular-4.1.1.p4.patch
+++ b/sagemath-singular-4.1.2.patch
@@ -76,3 +76,27 @@ index 7a8400052e..b3474fa07c 100644
return C.ideal(out)
###########################
+diff --git a/src/sage/algebras/letterplace/letterplace_ideal.pyx b/src/sage/algebras/letterplace/letterplace_ideal.pyx
+index 5776c58cf7..e4ad267bd4 100644
+--- a/src/sage/algebras/letterplace/letterplace_ideal.pyx
++++ b/src/sage/algebras/letterplace/letterplace_ideal.pyx
+@@ -48,7 +48,7 @@ from sage.rings.infinity import Infinity
+ #####################
+ # Define some singular functions
+ lib("freegb.lib")
+-singular_system=singular_function("system")
++singular_std=singular_function("std")
+ poly_reduce=singular_function("NF")
+
+ class LetterplaceIdeal(Ideal_nc):
+@@ -276,8 +276,7 @@ class LetterplaceIdeal(Ideal_nc):
+ A.set_degbound(degbound)
+ P = A._current_ring
+ out = [FreeAlgebraElement_letterplace(A,X,check=False) for X in
+- singular_system("freegb",P.ideal([x._poly for x in self.__GB.gens()]),
+- degbound,A.__ngens, ring = P)]
++ singular_std(P.ideal([x._poly for x in self.__GB.gens()]), ring = P)]
+ libsingular_options['redTail'] = bck[0]
+ libsingular_options['redSB'] = bck[1]
+ self.__GB = A.ideal(out,side='twosided',coerce=False)
+