summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-02-23 16:25:02 +0000
committerminskim <minskim@pkgsrc.org>2004-02-23 16:25:02 +0000
commit0ab615907e72abedc71d8d25eb8ae0f80f00cbce (patch)
tree633d1096982a288480d650af6d9b82a6320a72da /devel
parent690d6dbe756f624d7accc659eb1b92bf60e67652 (diff)
downloadpkgsrc-0ab615907e72abedc71d8d25eb8ae0f80f00cbce.tar.gz
Import py-pexpect from pkgsrc-wip.
Pexpect makes Python a better glue for controlling child applications. Pexpect is a pure Python module for spawning child applications; controlling them; and responding to expected patterns in their output. Pexpect works like Don Libes' Expect. Pexpect allows your script to spawn a child application and control it as if a human were typing commands. Pexpect can be used for automating interactive applications such as ssh, ftp, passwd, telnet, etc. It can be used to a automate setup scripts for duplicating software package installations on different servers. It can be used for automated software testing. Pexpect is in the spirit of Don Libes' Expect, but Pexpect is pure Python. The Pexpect interface was designed to be easy to use.
Diffstat (limited to 'devel')
-rw-r--r--devel/py-pexpect/DESCR14
-rw-r--r--devel/py-pexpect/Makefile18
-rw-r--r--devel/py-pexpect/PLIST4
-rw-r--r--devel/py-pexpect/distinfo4
4 files changed, 40 insertions, 0 deletions
diff --git a/devel/py-pexpect/DESCR b/devel/py-pexpect/DESCR
new file mode 100644
index 00000000000..32e6420c386
--- /dev/null
+++ b/devel/py-pexpect/DESCR
@@ -0,0 +1,14 @@
+Pexpect makes Python a better glue for controlling child applications.
+
+Pexpect is a pure Python module for spawning child applications;
+controlling them; and responding to expected patterns in their
+output. Pexpect works like Don Libes' Expect. Pexpect allows your
+script to spawn a child application and control it as if a human were
+typing commands.
+
+Pexpect can be used for automating interactive applications such as
+ssh, ftp, passwd, telnet, etc. It can be used to a automate setup
+scripts for duplicating software package installations on different
+servers. It can be used for automated software testing. Pexpect is
+in the spirit of Don Libes' Expect, but Pexpect is pure Python. The
+Pexpect interface was designed to be easy to use.
diff --git a/devel/py-pexpect/Makefile b/devel/py-pexpect/Makefile
new file mode 100644
index 00000000000..2cde0d43129
--- /dev/null
+++ b/devel/py-pexpect/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/02/23 16:25:02 minskim Exp $
+
+DISTNAME= pexpect-0.99
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pexpect/}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= minskim@NetBSD.org
+HOMEPAGE= http://pexpect.sourceforge.net/
+COMMENT= Pure Python Expect-like module
+
+PYDISTUTILSPKG= yes
+USE_BUILDLINK3= yes
+NO_CONFIGURE= yes
+
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/py-pexpect/PLIST b/devel/py-pexpect/PLIST
new file mode 100644
index 00000000000..804a687e0cc
--- /dev/null
+++ b/devel/py-pexpect/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/02/23 16:25:03 minskim Exp $
+${PYSITELIB}/pexpect.py
+${PYSITELIB}/pexpect.pyc
+${PYSITELIB}/pexpect.pyo
diff --git a/devel/py-pexpect/distinfo b/devel/py-pexpect/distinfo
new file mode 100644
index 00000000000..eba96c89c84
--- /dev/null
+++ b/devel/py-pexpect/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/02/23 16:25:03 minskim Exp $
+
+SHA1 (pexpect-0.99.tgz) = ff41908fc3339f6336e31915f7718c2a314da8f1
+Size (pexpect-0.99.tgz) = 19933 bytes