diff options
author | Bartek Rutkowski <robak@FreeBSD.org> | 2015-06-22 16:48:24 +0000 |
---|---|---|
committer | Bartek Rutkowski <robak@FreeBSD.org> | 2015-06-22 16:48:24 +0000 |
commit | 60d538c1dc808ea8518556f7605dcaf1724448c4 (patch) | |
tree | cfc2939c567759c043a577f1a1130bac099e3fa0 /sysutils | |
parent | a173390e2dd849525783b3c7d97b29a79e13bb71 (diff) | |
download | ports-60d538c1dc808ea8518556f7605dcaf1724448c4.tar.gz ports-60d538c1dc808ea8518556f7605dcaf1724448c4.zip |
Notes
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/py-ptyprocess/Makefile | 17 | ||||
-rw-r--r-- | sysutils/py-ptyprocess/distinfo | 2 | ||||
-rw-r--r-- | sysutils/py-ptyprocess/pkg-descr | 10 |
4 files changed, 30 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index b7c19646ace3..ba8347d2d60a 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -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 diff --git a/sysutils/py-ptyprocess/Makefile b/sysutils/py-ptyprocess/Makefile new file mode 100644 index 000000000000..1ae8e1cd6239 --- /dev/null +++ b/sysutils/py-ptyprocess/Makefile @@ -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> diff --git a/sysutils/py-ptyprocess/distinfo b/sysutils/py-ptyprocess/distinfo new file mode 100644 index 000000000000..911ba6b94653 --- /dev/null +++ b/sysutils/py-ptyprocess/distinfo @@ -0,0 +1,2 @@ +SHA256 (ptyprocess-0.5.tar.gz) = dcb78fb2197b49ca1b7b2f37b047bc89c0da7a90f90bd5bc17c3ce388bb6ef59 +SIZE (ptyprocess-0.5.tar.gz) = 14923 diff --git a/sysutils/py-ptyprocess/pkg-descr b/sysutils/py-ptyprocess/pkg-descr new file mode 100644 index 000000000000..1d4dc371be23 --- /dev/null +++ b/sysutils/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: https://github.com/pexpect/ptyprocess |