mirror of
https://src.fedoraproject.org/rpms/sagemath.git
synced 2025-04-22 11:45:56 -04:00
Update to sagemath 8.2.
Also: - Create the sagemath-data-combinatorial_designs subpackage. - Create the sagemath-notebook-export subpackage. - Unbundle the LaTeX makecmds style. - Install LaTeX style files in a more canonical place.
This commit is contained in:
parent
b46cd4759a
commit
925e91dade
28 changed files with 743 additions and 795 deletions
|
@ -1,7 +1,7 @@
|
|||
diff -up src/sage/interfaces/jmoldata.py.orig src/sage/interfaces/jmoldata.py
|
||||
--- src/sage/interfaces/jmoldata.py.orig 2016-08-08 13:34:51.199532656 -0400
|
||||
+++ src/sage/interfaces/jmoldata.py 2016-08-08 13:36:16.474535921 -0400
|
||||
@@ -147,8 +147,6 @@ class JmolData(SageObject):
|
||||
--- src/sage/interfaces/jmoldata.py.orig 2018-05-05 16:21:24.000000000 -0600
|
||||
+++ src/sage/interfaces/jmoldata.py 2018-05-16 13:30:58.803927423 -0600
|
||||
@@ -148,8 +148,6 @@ class JmolData(SageObject):
|
||||
sage: print(os.path.exists(testfile)) # optional -- java
|
||||
True
|
||||
"""
|
||||
|
@ -10,16 +10,16 @@ diff -up src/sage/interfaces/jmoldata.py.orig src/sage/interfaces/jmoldata.py
|
|||
target_native = targetfile
|
||||
import sys
|
||||
if sys.platform == 'cygwin':
|
||||
@@ -173,10 +171,8 @@ class JmolData(SageObject):
|
||||
@@ -174,10 +172,8 @@ class JmolData(SageObject):
|
||||
env = dict(os.environ)
|
||||
env['LC_ALL'] = 'C'
|
||||
env['LANG'] = 'C'
|
||||
- subprocess.call(["java", "-Xmx512m", "-Djava.awt.headless=true",
|
||||
- "-jar", jmolpath, "-iox", "-g", sizeStr,
|
||||
- "-jar", jmolpath, "-iox", "-g", size_arg,
|
||||
- "-J", launchscript, "-j", imagescript],
|
||||
- stdout=jout, stderr=jout, env=env)
|
||||
+ subprocess.call(["jmol", "-n", "-g", sizeStr,
|
||||
+ "-J",launchscript, "-j", imagescript], stdout=jout)
|
||||
+ subprocess.call(["jmol", "-n", "-g", size_arg,
|
||||
+ "-J", launchscript, "-j", imagescript], stdout=jout)
|
||||
if not os.path.isfile(targetfile):
|
||||
raise RuntimeError("Jmol failed to create file %s, see %s for details"%(repr(targetfile), repr(scratchout)))
|
||||
os.unlink(scratchout)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue