pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/py-ptyprocess Add py-ptyprocess 0.5.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4dc50cfab500
branches:  trunk
changeset: 361603:4dc50cfab500
user:      markd <markd%pkgsrc.org@localhost>
date:      Sun Apr 23 03:48:20 2017 +0000

description:
Add py-ptyprocess 0.5.1

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.

diffstat:

 sysutils/py-ptyprocess/DESCR    |   8 ++++++++
 sysutils/py-ptyprocess/Makefile |  14 ++++++++++++++
 sysutils/py-ptyprocess/PLIST    |  14 ++++++++++++++
 sysutils/py-ptyprocess/distinfo |   6 ++++++
 4 files changed, 42 insertions(+), 0 deletions(-)

diffs (58 lines):

diff -r acb4212e1cc2 -r 4dc50cfab500 sysutils/py-ptyprocess/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-ptyprocess/DESCR      Sun Apr 23 03:48:20 2017 +0000
@@ -0,0 +1,8 @@
+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.
diff -r acb4212e1cc2 -r 4dc50cfab500 sysutils/py-ptyprocess/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-ptyprocess/Makefile   Sun Apr 23 03:48:20 2017 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2017/04/23 03:48:20 markd Exp $
+
+DISTNAME=      ptyprocess-0.5.1
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    sysutils
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/ptyprocess/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/pexpect/ptyprocess
+COMMENT=       Run a subprocess in a pseudo terminal
+LICENSE=       isc
+
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r acb4212e1cc2 -r 4dc50cfab500 sysutils/py-ptyprocess/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-ptyprocess/PLIST      Sun Apr 23 03:48:20 2017 +0000
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1 2017/04/23 03:48:20 markd Exp $
+${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/ptyprocess/__init__.py
+${PYSITELIB}/ptyprocess/__init__.pyc
+${PYSITELIB}/ptyprocess/__init__.pyo
+${PYSITELIB}/ptyprocess/_fork_pty.py
+${PYSITELIB}/ptyprocess/_fork_pty.pyc
+${PYSITELIB}/ptyprocess/_fork_pty.pyo
+${PYSITELIB}/ptyprocess/ptyprocess.py
+${PYSITELIB}/ptyprocess/ptyprocess.pyc
+${PYSITELIB}/ptyprocess/ptyprocess.pyo
+${PYSITELIB}/ptyprocess/util.py
+${PYSITELIB}/ptyprocess/util.pyc
+${PYSITELIB}/ptyprocess/util.pyo
diff -r acb4212e1cc2 -r 4dc50cfab500 sysutils/py-ptyprocess/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-ptyprocess/distinfo   Sun Apr 23 03:48:20 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/04/23 03:48:20 markd Exp $
+
+SHA1 (ptyprocess-0.5.1.tar.gz) = 3290062d67ef8a2f136bff9c2cd106673ff21316
+RMD160 (ptyprocess-0.5.1.tar.gz) = 7a867d6f5b6d90b2cdeef03d7a6211572ae9f118
+SHA512 (ptyprocess-0.5.1.tar.gz) = 9e7481e8e3facde73086ef0728a57516a15b6bc2a5fb6bf6d6f892c396c9376d9d6334ee37737f3469929c4086d5678a2c5deaf44d70589d41644a98f2239dad
+Size (ptyprocess-0.5.1.tar.gz) = 68474 bytes



Home | Main Index | Thread Index | Old Index