From owner-svn-ports-head@FreeBSD.ORG Thu Dec 26 10:39:20 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8FE61734; Thu, 26 Dec 2013 10:39:20 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 61DB5147E; Thu, 26 Dec 2013 10:39:20 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBQAdKSf017491; Thu, 26 Dec 2013 10:39:20 GMT (envelope-from wg@svn.freebsd.org) Received: (from wg@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBQAdJl1017488; Thu, 26 Dec 2013 10:39:19 GMT (envelope-from wg@svn.freebsd.org) Message-Id: <201312261039.rBQAdJl1017488@svn.freebsd.org> From: William Grzybowski Date: Thu, 26 Dec 2013 10:39:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337480 - in head/misc/py-pexpect: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Dec 2013 10:39:20 -0000 Author: wg Date: Thu Dec 26 10:39:19 2013 New Revision: 337480 URL: http://svnweb.freebsd.org/changeset/ports/337480 Log: misc/py-pexpect: update to 3.0 and add license Added: head/misc/py-pexpect/files/patch-pexpect-__init__.py (contents, props changed) Deleted: head/misc/py-pexpect/files/patch-pexpect.py Modified: head/misc/py-pexpect/Makefile head/misc/py-pexpect/distinfo Modified: head/misc/py-pexpect/Makefile ============================================================================== --- head/misc/py-pexpect/Makefile Thu Dec 26 10:25:16 2013 (r337479) +++ head/misc/py-pexpect/Makefile Thu Dec 26 10:39:19 2013 (r337480) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= pexpect -PORTVERSION= 2.4 -PORTREVISION= 1 +PORTVERSION= 3.0 CATEGORIES= misc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,6 +10,8 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= wg@FreeBSD.org COMMENT= Pure Python Expect-like module +LICENSE= ISCL + USE_PYTHON= yes USE_PYDISTUTILS= yes PYDISTUTILS_AUTOPLIST= yes Modified: head/misc/py-pexpect/distinfo ============================================================================== --- head/misc/py-pexpect/distinfo Thu Dec 26 10:25:16 2013 (r337479) +++ head/misc/py-pexpect/distinfo Thu Dec 26 10:39:19 2013 (r337480) @@ -1,2 +1,2 @@ -SHA256 (pexpect-2.4.tar.gz) = 43c788f59dcf4bed677fd0b16891787dbf747e210ffedb6e90156fbbbd4d3b7b -SIZE (pexpect-2.4.tar.gz) = 113251 +SHA256 (pexpect-3.0.tar.gz) = 1d6cee0fa5ab212f9ddac9852bab0df5fff11a173ed1bfde9346d5c8aa42d14c +SIZE (pexpect-3.0.tar.gz) = 146662 Added: head/misc/py-pexpect/files/patch-pexpect-__init__.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/py-pexpect/files/patch-pexpect-__init__.py Thu Dec 26 10:39:19 2013 (r337480) @@ -0,0 +1,14 @@ +--- 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. +- TIOCSWINSZ = getattr(termios, 'TIOCSWINSZ', -2146929561) +- if TIOCSWINSZ == 2148037735: +- # Same bits, but with sign. +- TIOCSWINSZ = -2146929561 ++ TIOCSWINSZ = getattr(termios, 'TIOCSWINSZ', 2148037735L) + # Note, assume ws_xpixel and ws_ypixel are zero. + s = struct.pack('HHHH', rows, cols, 0, 0) + fcntl.ioctl(self.fileno(), TIOCSWINSZ, s)