View | Details | Raw Unified | Return to bug 189708
Collapse All | Expand All

(-)Makefile (-1 / +1 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	pexpect
4
PORTNAME=	pexpect
5
PORTVERSION=	3.1
5
PORTVERSION=	3.2
6
CATEGORIES=	misc python
6
CATEGORIES=	misc python
7
MASTER_SITES=	CHEESESHOP
7
MASTER_SITES=	CHEESESHOP
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (pexpect-3.1.tar.gz) = bd0045066718fba98481032303f07565cca6b22b3b7f104efe3e077a55e9ee8d
1
SHA256 (pexpect-3.2.tar.gz) = dbc4c9a01c118e198d1b6ca76f31eb7292f212567f253e6b36a880e5168e961f
2
SIZE (pexpect-3.1.tar.gz) = 130404
2
SIZE (pexpect-3.2.tar.gz) = 131070
(-)files/patch-pexpect-__init__.py (-9 / +6 lines)
Lines 1-13 Link Here
1
--- pexpect/__init__.py.orig	2013-11-11 17:58:03.000000000 +0000
1
--- pexpect/__init__.py.orig	2014-04-15 03:31:01.000000000 +0200
2
+++ pexpect/__init__.py	2013-12-26 08:28:18.423632870 +0000
2
+++ pexpect/__init__.py	2014-05-12 14:41:21.690335992 +0200
3
@@ -1558,10 +1558,7 @@
3
@@ -1562,7 +1562,7 @@
4
         # TIOCSWINSZ and they don't have a truncate problem.
4
         # termios.TIOCSWINSZ to be truncated. There was a hack here to work
5
         # Newer versions of Linux have totally different values for TIOCSWINSZ.
5
         # around this, but it caused problems with newer platforms so has been
6
         # Note that this fix is a hack.
6
         # removed. For details see https://github.com/pexpect/pexpect/issues/39
7
-        TIOCSWINSZ = getattr(termios, 'TIOCSWINSZ', -2146929561)
7
-        TIOCSWINSZ = getattr(termios, 'TIOCSWINSZ', -2146929561)
8
-        if TIOCSWINSZ == 2148037735:
9
-            # Same bits, but with sign.
10
-            TIOCSWINSZ = -2146929561
11
+        TIOCSWINSZ = getattr(termios, 'TIOCSWINSZ', 2148037735)
8
+        TIOCSWINSZ = getattr(termios, 'TIOCSWINSZ', 2148037735)
12
         # Note, assume ws_xpixel and ws_ypixel are zero.
9
         # Note, assume ws_xpixel and ws_ypixel are zero.
13
         s = struct.pack('HHHH', rows, cols, 0, 0)
10
         s = struct.pack('HHHH', rows, cols, 0, 0)
(-)pkg-descr (-1 / +1 lines)
Lines 11-14 Link Here
11
automated software testing. Pexpect is in the spirit of Don Libes' Expect, but
11
automated software testing. Pexpect is in the spirit of Don Libes' Expect, but
12
Pexpect is pure Python. The Pexpect interface was designed to be easy to use.
12
Pexpect is pure Python. The Pexpect interface was designed to be easy to use.
13
13
14
WWW: http://pexpect.sourceforge.net/
14
WWW: http://pexpect.sourceforge.net

Return to bug 189708