the Fink project is an effort to port
popular Unix programs to Mac OS X
Info2: <<
#=========================================================================
# $Id: pexpect-py.info 352 2005-11-21 18:26:15Z matt $
Package: pexpect-py%type_pkg[python]
Version: 2.3
Revision: 2
Distribution: (%type_pkg[python] = 23) 10.4, (%type_pkg[python] = 24) 10.4, (%type_pkg[python] = 24) 10.5
Type: python(2.3 2.4 2.5 2.6 2.7)
Description: Pure Python expect-like interface
License: OSI-Approved
HomePage: http://pexpect.sourceforge.net/
Maintainer: Matthew Bogosian
#=========================================================================
#---- Dependencies -------------------------------------------------------
Depends: python%type_pkg[python]
#---- Unpack phase -------------------------------------------------------
Source: mirror:sourceforge:pexpect/pexpect-%v.tar.gz
Source-MD5: bf107cf54e67bc6dec5bea1f3e6a65c3
#Source2: mirror:sourceforge:pexpect/pexpect-%v-examples.tgz
#Source2-MD5: bd50df4f2b17e32d4405ab76b3fa4ecb
#---- Compile phase ------------------------------------------------------
CompileScript: <<
#!/bin/sh -ex
'%p/bin/python%type_raw[python]' setup.py build
<<
#---- Install phase ------------------------------------------------------
DocFiles: README
InstallScript: <<
#!/bin/sh -ex
'%p/bin/python%type_raw[python]' setup.py install \
--optimize=2 \
'--prefix=%p' \
'--root=%d'
install -d -m 700 '%i/share/doc/%n'
cp -Rip examples '%i/share/doc/%n'
rm -fr '%i/share/doc/%n/examples/CVS'
chmod -R go-rstwx,a+Xr '%i/share/doc/%n'
<<
#---- Documentation ------------------------------------------------------
DescDetail: <<
From http://pexpect.sourceforge.net/:
Pexpect makes Python a better tool for controlling other 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. Unlike other Expect-like
modules for Python, Pexpect does not require TCL or Expect nor does it
require C extensions to be compiled. It should work on any platform that
supports the standard Python pty module. The Pexpect interface was
designed to be easy to use.
<<
<<