summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilman Klar <phoenix@gentoo.org>2002-10-27 20:51:04 +0000
committerTilman Klar <phoenix@gentoo.org>2002-10-27 20:51:04 +0000
commitabfc09fe071ec35781807316a006714009781c96 (patch)
treec6a9023747229a06503d9b153fc2aff5f98acb5e
parentNote to self update (diff)
downloadgentoo-2-abfc09fe071ec35781807316a006714009781c96.tar.gz
gentoo-2-abfc09fe071ec35781807316a006714009781c96.tar.bz2
gentoo-2-abfc09fe071ec35781807316a006714009781c96.zip
Initial import of pexpect
-rw-r--r--dev-python/pexpect/ChangeLog10
-rw-r--r--dev-python/pexpect/files/digest-pexpect-0.941
-rw-r--r--dev-python/pexpect/pexpect-0.94.ebuild23
3 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/pexpect/ChangeLog b/dev-python/pexpect/ChangeLog
new file mode 100644
index 000000000000..1507eeef01d4
--- /dev/null
+++ b/dev-python/pexpect/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/pexpect
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pexpect/ChangeLog,v 1.1 2002/10/27 20:51:04 phoenix Exp $
+
+*pexpect-0.94.ebuild (27 Oct 2002)
+
+ 27 Oct 2002; phoen][x <phoenix@gentoo.org> pexpect-0.94.ebuild,
+ files/digest-pexpect-0.94, ChangeLog :
+
+ Initial import. This is an expect-like interface for python.
diff --git a/dev-python/pexpect/files/digest-pexpect-0.94 b/dev-python/pexpect/files/digest-pexpect-0.94
new file mode 100644
index 000000000000..e6a1d527da10
--- /dev/null
+++ b/dev-python/pexpect/files/digest-pexpect-0.94
@@ -0,0 +1 @@
+MD5 de5d762bf6f7303af71c1c58d928ddfc pexpect-0.94.tgz 17691
diff --git a/dev-python/pexpect/pexpect-0.94.ebuild b/dev-python/pexpect/pexpect-0.94.ebuild
new file mode 100644
index 000000000000..03928aa65473
--- /dev/null
+++ b/dev-python/pexpect/pexpect-0.94.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pexpect/pexpect-0.94.ebuild,v 1.1 2002/10/27 20:51:04 phoenix Exp $
+
+DESCRIPTION="Pexpect is a pure Python module for spawning child applications; controlling them; and responding to expected patterns in their output"
+HOMEPAGE="http://pexpect.sourceforge.net/"
+SRC_URI="mirror://sourceforge/pexpect/pexpect-0.94.tgz"
+LICENSE="PYTHON"
+SLOT="0"
+KEYWORDS="~x86"
+DEPEND="dev-lang/python"
+
+src_compile() {
+ python -c 'import compileall; compileall.compile_dir(".",force=1)'
+}
+
+src_install () {
+ local pv=`python -V 2>&1 | sed -e 's:Python \([0-9].[0-9]\).*:\1:'`
+ insinto "/usr/lib/python${pv}/site-packages"
+
+ doins pexpect.py*
+ dodoc README.txt
+}