mirror of
https://src.fedoraproject.org/rpms/sagemath.git
synced 2025-04-18 18:29:01 -04:00
Also: - Build for python 3 instead of python 2 due to upcoming python 2 removal. - Add -python3 and -escape patches to fix problems with python 3. - Drop -nofstring patch, only needed for python 2. - Drop upstreamed -eclib patch. - Switch from atlas to openblas and rename -atlas patch to -openblas. - Add -buildroot patch and only build cython interfaces once.
12 lines
697 B
Diff
12 lines
697 B
Diff
diff -up src/sage/graphs/graph_generators.py.orig src/sage/graphs/graph_generators.py
|
|
--- src/sage/graphs/graph_generators.py.orig 2018-10-17 17:13:47.000000000 -0600
|
|
+++ src/sage/graphs/graph_generators.py 2018-10-25 14:04:50.496901422 -0600
|
|
@@ -911,7 +911,7 @@ class GraphGenerators():
|
|
else:
|
|
enc_kwargs = {'encoding': 'latin-1'}
|
|
|
|
- sp = subprocess.Popen("geng {0}".format(options), shell=True,
|
|
+ sp = subprocess.Popen("nauty-geng {0}".format(options), shell=True,
|
|
stdin=subprocess.PIPE, stdout=subprocess.PIPE,
|
|
stderr=subprocess.PIPE, close_fds=True,
|
|
**enc_kwargs)
|