Date: Mon, 22 Jun 2015 16:48:25 +0000 (UTC) From: Bartek Rutkowski <robak@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r390301 - in head/sysutils: . py-ptyprocess Message-ID: <201506221648.t5MGmPsZ066211@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506221648.t5MGmPsZ066211>