sagemath/sagemath-nauty.patch
Jerry James 05337076b6 Update to sagemath 8.7.
- Drop upstreamed -giac patch.
- Add -sagetex patch to fix a python indentation error.
- Add -rubiks patch to fix compilation of the rubiks library.
- Add -random patch to fix a non-random random bit generator.
- Drop pip3 workaround; the binary is now named just pip again.
2019-04-28 15:12:00 -06:00

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-12-22 16:37:08.000000000 -0700
+++ src/sage/graphs/graph_generators.py 2019-01-16 09:45:21.999122930 -0700
@@ -924,7 +924,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)