diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-02-01 02:10:38 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-02-01 02:21:14 -0300 |
commit | 29b827a60d0abd14d0da1b90a6e7122c372063cd (patch) | |
tree | be96504f94cfb35b6d5e266fafc63fddfebc1a55 /libre/sagemath/pexpect-env.patch | |
parent | f03af127be4b27db3ebeb614a5ac3a0a0d2f516e (diff) | |
download | abslibre-29b827a60d0abd14d0da1b90a6e7122c372063cd.tar.gz abslibre-29b827a60d0abd14d0da1b90a6e7122c372063cd.tar.bz2 abslibre-29b827a60d0abd14d0da1b90a6e7122c372063cd.zip |
sagemath-7.0-3.parabola1: updating version
* fix contour plots with matplotlib 1.5.1
* drop old patches
* bundle a pexpect git snapshot
Diffstat (limited to 'libre/sagemath/pexpect-env.patch')
-rw-r--r-- | libre/sagemath/pexpect-env.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/libre/sagemath/pexpect-env.patch b/libre/sagemath/pexpect-env.patch deleted file mode 100644 index 99cf44885..000000000 --- a/libre/sagemath/pexpect-env.patch +++ /dev/null @@ -1,32 +0,0 @@ -diff -ru src.p4/pexpect.py src.new/pexpect.py ---- src.p4/pexpect.py 2009-01-23 11:01:57.000000000 +0100 -+++ src.new/pexpect.py 2012-01-12 13:38:06.000000000 +0100 -@@ -209,7 +209,7 @@ - Use this class to start and control child applications. - """ - -- def __init__(self, command, args=[], timeout=30, maxread=2000, searchwindowsize=None, logfile=None): -+ def __init__(self, command, args=[], timeout=30, maxread=2000, searchwindowsize=None, logfile=None, env=None): - """This is the constructor. The command parameter may be a string - that includes a command and any arguments to the command. For example: - p = pexpect.spawn ('/usr/bin/ftp') -@@ -302,6 +302,7 @@ - self.child_fd = -1 # initially closed - self.timeout = timeout - self.delimiter = EOF -+ self.env = env - self.logfile = logfile - self.maxread = maxread # Max bytes to read at one time into buffer. - self.buffer = '' # This is the read buffer. See maxread. -@@ -421,7 +422,10 @@ - # (specifically, Tomcat). - signal.signal(signal.SIGHUP, signal.SIG_IGN) - -- os.execv(self.command, self.args) -+ if self.env is None: -+ os.execv(self.command, self.args) -+ else: -+ os.execve(self.command, self.args, self.env) - - # Parent - self.terminated = 0 |