ports/189708: [PATCH] misc/py-pexpect: update to 3.2

Bartek Rutkowski ports at robakdesign.com
Mon May 12 12:50:01 UTC 2014


>Number:         189708
>Category:       ports
>Synopsis:       [PATCH] misc/py-pexpect: update to 3.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 12 12:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Bartek Rutkowski
>Release:        FreeBSD 11.0-CURRENT amd64
>Organization:
Pixeware LTD
>Environment:
System: FreeBSD poudriere.ithil.palantiri.org 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r265535: Wed May  7 16:01:11
>Description:
- Update to 3.2
- Pet portlint

http://poudriere.ithil.palantiri.org:8080/latest-per-pkg/py27-pexpect/3.2/

Port maintainer (wg at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 1.02 (mode: update, diff: SVN)
>How-To-Repeat:
>Fix:

--- py-pexpect-3.2.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 353814)
+++ Makefile	(working copy)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	pexpect
-PORTVERSION=	3.1
+PORTVERSION=	3.2
 CATEGORIES=	misc python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Index: distinfo
===================================================================
--- distinfo	(revision 353814)
+++ distinfo	(working copy)
@@ -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
Index: files/patch-pexpect-__init__.py
===================================================================
--- files/patch-pexpect-__init__.py	(revision 353814)
+++ files/patch-pexpect-__init__.py	(working copy)
@@ -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)
Index: pkg-descr
===================================================================
--- pkg-descr	(revision 353814)
+++ pkg-descr	(working copy)
@@ -11,4 +11,4 @@
 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
--- py-pexpect-3.2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list