summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/py-ptyprocess/DESCR8
-rw-r--r--sysutils/py-ptyprocess/Makefile14
-rw-r--r--sysutils/py-ptyprocess/PLIST14
-rw-r--r--sysutils/py-ptyprocess/distinfo6
4 files changed, 42 insertions, 0 deletions
diff --git a/sysutils/py-ptyprocess/DESCR b/sysutils/py-ptyprocess/DESCR
new file mode 100644
index 00000000000..761df4a67a2
--- /dev/null
+++ b/sysutils/py-ptyprocess/DESCR
@@ -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 --git a/sysutils/py-ptyprocess/Makefile b/sysutils/py-ptyprocess/Makefile
new file mode 100644
index 00000000000..b517ce1a048
--- /dev/null
+++ b/sysutils/py-ptyprocess/Makefile
@@ -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
+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 --git a/sysutils/py-ptyprocess/PLIST b/sysutils/py-ptyprocess/PLIST
new file mode 100644
index 00000000000..60b44ae5309
--- /dev/null
+++ b/sysutils/py-ptyprocess/PLIST
@@ -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 --git a/sysutils/py-ptyprocess/distinfo b/sysutils/py-ptyprocess/distinfo
new file mode 100644
index 00000000000..9410dac0c9f
--- /dev/null
+++ b/sysutils/py-ptyprocess/distinfo
@@ -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