From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jun 14 06:40:14 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBF0016A474 for ; Wed, 14 Jun 2006 06:40:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5308243D4C for ; Wed, 14 Jun 2006 06:40:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k5E6eEsl087359 for ; Wed, 14 Jun 2006 06:40:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k5E6eE2A087354; Wed, 14 Jun 2006 06:40:14 GMT (envelope-from gnats) Resent-Date: Wed, 14 Jun 2006 06:40:14 GMT Resent-Message-Id: <200606140640.k5E6eE2A087354@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dryice Liu Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 130F516A47C for ; Wed, 14 Jun 2006 06:39:32 +0000 (UTC) (envelope-from ddliu@readonline.info) Received: from readonline.info (readonline.info [221.0.230.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D81643D46 for ; Wed, 14 Jun 2006 06:39:30 +0000 (GMT) (envelope-from ddliu@readonline.info) Received: from [127.0.0.1] (helo=readonline.info) by readonline.info with esmtps (TLSv1:AES256-SHA:256) (Exim 4.62 (FreeBSD)) (envelope-from ) id 1FqP2G-000I0D-Ec for FreeBSD-gnats-submit@freebsd.org; Wed, 14 Jun 2006 14:39:28 +0800 Received: (from ddliu@localhost) by readonline.info (8.13.4/8.13.4/Submit) id k5E6cwjx069204; Wed, 14 Jun 2006 14:38:58 +0800 (CST) (envelope-from ddliu) Message-Id: <200606140638.k5E6cwjx069204@readonline.info> Date: Wed, 14 Jun 2006 14:38:58 +0800 (CST) From: Dryice Liu To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/98927: [update] misc/py-pexpect: update to 2.1 and take maintainership X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dryice Liu List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2006 06:40:14 -0000 >Number: 98927 >Category: ports >Synopsis: [update] misc/py-pexpect: update to 2.1 and take maintainership >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Jun 14 06:40:13 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Dryice Liu >Release: FreeBSD 6.0-STABLE i386 >Organization: >Environment: System: FreeBSD dryice.3322.org 6.0-STABLE FreeBSD 6.0-STABLE #0: Thu Dec 1 15:59:44 CST 2005 >Description: - update to 2.1 - add a mirror site - take maintainership. Thanks the previous maintainers! >How-To-Repeat: >Fix: --- attached file begins here --- diff -ruN py-pexpect.old/Makefile py-pexpect/Makefile --- py-pexpect.old/Makefile Tue May 11 03:27:15 2004 +++ py-pexpect/Makefile Wed Jun 14 14:35:02 2006 @@ -7,14 +7,14 @@ # PORTNAME= pexpect -PORTVERSION= 0.999 +PORTVERSION= 2.1 CATEGORIES= misc python -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ + http://dryice.name/computer/FreeBSD/distfiles/ MASTER_SITE_SUBDIR= ${PORTNAME} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -EXTRACT_SUFX= .tgz -MAINTAINER= ports@FreeBSD.org +MAINTAINER= dryice@dryice.name COMMENT= A Pure Python Expect-like module USE_PYTHON= yes diff -ruN py-pexpect.old/distinfo py-pexpect/distinfo --- py-pexpect.old/distinfo Sat Nov 26 00:09:25 2005 +++ py-pexpect/distinfo Wed Jun 14 14:15:32 2006 @@ -1,3 +1,3 @@ -MD5 (pexpect-0.999.tgz) = e426e5f54d323aaf392008c9eb35131d -SHA256 (pexpect-0.999.tgz) = 9f0394104d299c1d544b278c22be6cb169c52421257c6a78a0fbdb590f9fd688 -SIZE (pexpect-0.999.tgz) = 20190 +MD5 (pexpect-2.1.tar.gz) = fd3d67ac085332f074cd665424dcd631 +SHA256 (pexpect-2.1.tar.gz) = d986dcbd954435e0ba78aaef391106c71a9b548a1cbd29cfb4eec3cb8c841313 +SIZE (pexpect-2.1.tar.gz) = 116478 diff -ruN py-pexpect.old/files/patch-pexpect.py py-pexpect/files/patch-pexpect.py --- py-pexpect.old/files/patch-pexpect.py Tue May 11 03:27:15 2004 +++ py-pexpect/files/patch-pexpect.py Thu Jan 1 08:00:00 1970 @@ -1,29 +0,0 @@ ---- pexpect.py.orig Mon Apr 26 14:16:08 2004 -+++ pexpect.py Mon Apr 26 14:19:45 2004 -@@ -498,21 +498,24 @@ class spawn: - pid, status = os.waitpid(self.pid, os.WNOHANG) - except OSError: - return 0 - - # I have to do this twice for Solaris. - # I can't even believe that I figured this out... -- if pid == 0 and status == 0: -+ -+ # If waitpid() returns 0 it means that no child process wishes to -+ # report, and the value of status is undefined. -+ if pid == 0: - try: - pid, status = os.waitpid(self.pid, os.WNOHANG) - #print 'Solaris sucks' - except OSError: # This is crufty. When does this happen? - return 0 - # If pid and status is still 0 after two calls to waitpid() then - # the process really is alive. This seems to work on all platforms. -- if pid == 0 and status == 0: -+ if pid == 0: - return 1 - - # I do not OR this together because I want hooks for debugging. - if os.WIFEXITED (status): - self.exitstatus = os.WEXITSTATUS(status) - return 0 diff -ruN py-pexpect.old/pkg-plist py-pexpect/pkg-plist --- py-pexpect.old/pkg-plist Sun Jan 12 00:07:44 2003 +++ py-pexpect/pkg-plist Wed Jun 14 14:24:33 2006 @@ -1,3 +1,9 @@ +%%PYTHON_SITELIBDIR%%/fdpexpect.py +%%PYTHON_SITELIBDIR%%/fdpexpect.pyc +%%PYTHON_SITELIBDIR%%/fdpexpect.pyo %%PYTHON_SITELIBDIR%%/pexpect.py %%PYTHON_SITELIBDIR%%/pexpect.pyc %%PYTHON_SITELIBDIR%%/pexpect.pyo +%%PYTHON_SITELIBDIR%%/pxssh.py +%%PYTHON_SITELIBDIR%%/pxssh.pyc +%%PYTHON_SITELIBDIR%%/pxssh.pyo --- attached file ends here --- >Release-Note: >Audit-Trail: >Unformatted: