Index: misc/py-ptyprocess/Makefile =================================================================== --- /dev/null +++ misc/py-ptyprocess/Makefile @@ -0,0 +1,18 @@ +# Created by: Johannes Jost Meixner +# $FreeBSD$ + +PORTNAME= ptyprocess +PORTVERSION= 0.4 +CATEGORIES= misc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= xmj@FreeBSD.org +COMMENT= Runs a subprocess in a pseudo terminal + +LICENSE= ISCL + +USES= python +USE_PYTHON= distutils autoplist + +.include Index: misc/py-ptyprocess/distinfo =================================================================== --- /dev/null +++ misc/py-ptyprocess/distinfo @@ -0,0 +1,2 @@ +SHA256 (ptyprocess-0.4.tar.gz) = ddba719428afc4dd4f5eb37307ae753c81f89ea63f18e7d35bbb494a88fd49dc +SIZE (ptyprocess-0.4.tar.gz) = 17883 Index: misc/py-ptyprocess/pkg-descr =================================================================== --- /dev/null +++ misc/py-ptyprocess/pkg-descr @@ -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: http://pypi.python.org/pypi/ptyprocess/