From owner-svn-ports-all@FreeBSD.ORG Mon Jun 22 16:48:26 2015 Return-Path: Delivered-To: svn-ports-all@nevdull.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9D30D6C1; Mon, 22 Jun 2015 16:48:26 +0000 (UTC) (envelope-from robak@FreeBSD.org) 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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7C48C800; Mon, 22 Jun 2015 16:48:26 +0000 (UTC) (envelope-from robak@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t5MGmQPk066217; Mon, 22 Jun 2015 16:48:26 GMT (envelope-from robak@FreeBSD.org) Received: (from robak@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t5MGmPsZ066211; Mon, 22 Jun 2015 16:48:25 GMT (envelope-from robak@FreeBSD.org) Message-Id: <201506221648.t5MGmPsZ066211@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: robak set sender to robak@FreeBSD.org using -f From: Bartek Rutkowski Date: Mon, 22 Jun 2015 16:48:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r390301 - in head/sysutils: . py-ptyprocess X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jun 2015 16:48:26 -0000 Author: robak Date: Mon Jun 22 16:48:24 2015 New Revision: 390301 URL: https://svnweb.freebsd.org/changeset/ports/390301 Log: sysutils/py-ptyprocess: NEW PORT - Run a subprocess in a pseudo terminal Launch a subprocess in a pseudo terminal (pty), and interact with both the process and its pty. Sometimes, piping stdin and stdout is not enough. There might be a password prompt that doesn't read from stdin, output that changes when it's going to a pipe rather than a terminal, or curses-style interfaces that rely on a terminal. If you need to automate these things, running the process in a pseudo terminal (pty) is the answer. WWW: https://github.com/pexpect/ptyprocess Submitted by: robak@FreeBSD.org Added: head/sysutils/py-ptyprocess/ head/sysutils/py-ptyprocess/Makefile (contents, props changed) head/sysutils/py-ptyprocess/distinfo (contents, props changed) head/sysutils/py-ptyprocess/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Mon Jun 22 15:54:13 2015 (r390300) +++ head/sysutils/Makefile Mon Jun 22 16:48:24 2015 (r390301) @@ -760,6 +760,7 @@ SUBDIR += py-power SUBDIR += py-psutil SUBDIR += py-psutil121 + SUBDIR += py-ptyprocess SUBDIR += py-pytsk SUBDIR += py-queuelib SUBDIR += py-ranger Added: head/sysutils/py-ptyprocess/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/py-ptyprocess/Makefile Mon Jun 22 16:48:24 2015 (r390301) @@ -0,0 +1,17 @@ +# $FreeBSD$ + +PORTNAME= ptyprocess +PORTVERSION= 0.5 +CATEGORIES= sysutils python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= robak@FreeBSD.org +COMMENT= Run a subprocess in a pseudo terminal + +LICENSE= ISCL + +USES= python +USE_PYTHON= distutils autoplist + +.include Added: head/sysutils/py-ptyprocess/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/py-ptyprocess/distinfo Mon Jun 22 16:48:24 2015 (r390301) @@ -0,0 +1,2 @@ +SHA256 (ptyprocess-0.5.tar.gz) = dcb78fb2197b49ca1b7b2f37b047bc89c0da7a90f90bd5bc17c3ce388bb6ef59 +SIZE (ptyprocess-0.5.tar.gz) = 14923 Added: head/sysutils/py-ptyprocess/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/py-ptyprocess/pkg-descr Mon Jun 22 16:48:24 2015 (r390301) @@ -0,0 +1,10 @@ +Launch a subprocess in a pseudo terminal (pty), and interact with +both the process and its pty. + +Sometimes, piping stdin and stdout is not enough. There might be +a password prompt that doesn't read from stdin, output that changes +when it's going to a pipe rather than a terminal, or curses-style +interfaces that rely on a terminal. If you need to automate these +things, running the process in a pseudo terminal (pty) is the answer. + +WWW: https://github.com/pexpect/ptyprocess