forked from Lainports/freebsd-ports
misc/py-pexpect: update to 3.2
PR: ports/189708 Submitted by: Bartek Rutkowski <ports at robakdesign com>
This commit is contained in:
parent
e1889aca03
commit
dca8d40633
4 changed files with 10 additions and 13 deletions
|
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= pexpect
|
||||
PORTVERSION= 3.1
|
||||
PORTVERSION= 3.2
|
||||
CATEGORIES= misc python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (pexpect-3.1.tar.gz) = bd0045066718fba98481032303f07565cca6b22b3b7f104efe3e077a55e9ee8d
|
||||
SIZE (pexpect-3.1.tar.gz) = 130404
|
||||
SHA256 (pexpect-3.2.tar.gz) = dbc4c9a01c118e198d1b6ca76f31eb7292f212567f253e6b36a880e5168e961f
|
||||
SIZE (pexpect-3.2.tar.gz) = 131070
|
||||
|
|
|
|||
|
|
@ -1,13 +1,10 @@
|
|||
--- pexpect/__init__.py.orig 2013-11-11 17:58:03.000000000 +0000
|
||||
+++ pexpect/__init__.py 2013-12-26 08:28:18.423632870 +0000
|
||||
@@ -1558,10 +1558,7 @@
|
||||
# TIOCSWINSZ and they don't have a truncate problem.
|
||||
# Newer versions of Linux have totally different values for TIOCSWINSZ.
|
||||
# Note that this fix is a hack.
|
||||
--- pexpect/__init__.py.orig 2014-04-15 03:31:01.000000000 +0200
|
||||
+++ pexpect/__init__.py 2014-05-12 14:41:21.690335992 +0200
|
||||
@@ -1562,7 +1562,7 @@
|
||||
# termios.TIOCSWINSZ to be truncated. There was a hack here to work
|
||||
# around this, but it caused problems with newer platforms so has been
|
||||
# removed. For details see https://github.com/pexpect/pexpect/issues/39
|
||||
- TIOCSWINSZ = getattr(termios, 'TIOCSWINSZ', -2146929561)
|
||||
- if TIOCSWINSZ == 2148037735:
|
||||
- # Same bits, but with sign.
|
||||
- TIOCSWINSZ = -2146929561
|
||||
+ TIOCSWINSZ = getattr(termios, 'TIOCSWINSZ', 2148037735)
|
||||
# Note, assume ws_xpixel and ws_ypixel are zero.
|
||||
s = struct.pack('HHHH', rows, cols, 0, 0)
|
||||
|
|
|
|||
|
|
@ -11,4 +11,4 @@ software package installations on different servers. It can be used for
|
|||
automated software testing. Pexpect is in the spirit of Don Libes' Expect, but
|
||||
Pexpect is pure Python. The Pexpect interface was designed to be easy to use.
|
||||
|
||||
WWW: http://pexpect.sourceforge.net/
|
||||
WWW: http://pexpect.sourceforge.net
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue