svn commit: r337480 - in head/misc/py-pexpect: . files
William Grzybowski
wg at FreeBSD.org
Thu Dec 26 10:39:20 UTC 2013
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 at 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)
More information about the svn-ports-head
mailing list