mirror of
https://src.fedoraproject.org/rpms/sagemath.git
synced 2025-04-22 11:45:56 -04:00
Update to sagemath 7.5.1
This commit is contained in:
parent
ac3aa7f6b7
commit
056e08d023
24 changed files with 481 additions and 439 deletions
|
@ -1,6 +1,6 @@
|
|||
diff -up src/sage/libs/gap/test/main.c.orig src/sage/libs/gap/test/main.c
|
||||
--- src/sage/libs/gap/test/main.c.orig 2016-08-08 13:43:32.376552613 -0400
|
||||
+++ src/sage/libs/gap/test/main.c 2016-08-08 13:43:38.209552837 -0400
|
||||
--- src/sage/libs/gap/test/main.c.orig 2017-03-04 13:30:35.525484755 -0500
|
||||
+++ src/sage/libs/gap/test/main.c 2017-03-04 13:30:58.662485641 -0500
|
||||
@@ -22,7 +22,7 @@ void eval(char* cmd) {
|
||||
libgap_start_interaction(cmd);
|
||||
|
||||
|
@ -11,9 +11,9 @@ diff -up src/sage/libs/gap/test/main.c.orig src/sage/libs/gap/test/main.c
|
|||
char* out = libgap_get_output();
|
||||
libgap_exit();
|
||||
diff -up src/sage/libs/gap/util.pyx.orig src/sage/libs/gap/util.pyx
|
||||
--- src/sage/libs/gap/util.pyx.orig 2016-08-08 13:41:46.176548547 -0400
|
||||
+++ src/sage/libs/gap/util.pyx 2016-08-08 13:42:26.594550094 -0400
|
||||
@@ -154,18 +154,9 @@ def gap_root():
|
||||
--- src/sage/libs/gap/util.pyx.orig 2017-03-04 13:31:07.509485979 -0500
|
||||
+++ src/sage/libs/gap/util.pyx 2017-03-04 13:31:44.126487382 -0500
|
||||
@@ -154,17 +154,9 @@ def gap_root():
|
||||
|
||||
sage: from sage.libs.gap.util import gap_root
|
||||
sage: gap_root() # random output
|
||||
|
@ -21,9 +21,8 @@ diff -up src/sage/libs/gap/util.pyx.orig src/sage/libs/gap/util.pyx
|
|||
+ '/usr/lib/gap'
|
||||
"""
|
||||
- import os.path
|
||||
- gapdir = os.path.join(SAGE_LOCAL, 'gap', 'latest')
|
||||
- if os.path.exists(gapdir):
|
||||
- return gapdir
|
||||
- if os.path.exists(GAP_ROOT_DIR):
|
||||
- return GAP_ROOT_DIR
|
||||
- print('The gap-4.5.5.spkg (or later) seems to be not installed!')
|
||||
- gap_sh = open(os.path.join(SAGE_LOCAL, 'bin', 'gap')).read().splitlines()
|
||||
- gapdir = filter(lambda dir:dir.strip().startswith('GAP_DIR'), gap_sh)[0]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue