mirror of
https://src.fedoraproject.org/rpms/sagemath.git
synced 2025-04-22 03:39:03 -04:00
Initial import (#877651).
This commit is contained in:
parent
257b1142ac
commit
86f823b2b0
41 changed files with 13000 additions and 0 deletions
13
sagemath-nauty.patch
Normal file
13
sagemath-nauty.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff -up sage-5.8/spkg/build/sage-5.8/sage/graphs/graph_generators.py.orig sage-5.8/spkg/build/sage-5.8/sage/graphs/graph_generators.py
|
||||
--- sage-5.8/spkg/build/sage-5.8/sage/graphs/graph_generators.py.orig 2013-02-22 17:34:47.243877299 -0300
|
||||
+++ sage-5.8/spkg/build/sage-5.8/sage/graphs/graph_generators.py 2013-02-22 17:34:56.066877637 -0300
|
||||
@@ -769,8 +769,7 @@ class GraphGenerators():
|
||||
"""
|
||||
import subprocess
|
||||
from sage.misc.package import is_package_installed
|
||||
- if not is_package_installed("nauty"):
|
||||
- raise TypeError, "the optional nauty package is not installed"
|
||||
+ raise TypeError, "the optional nauty package is not installed"
|
||||
sp = subprocess.Popen("nauty-geng {0}".format(options), shell=True,
|
||||
stdin=subprocess.PIPE, stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE, close_fds=True)
|
Loading…
Add table
Add a link
Reference in a new issue