# $Id: Portfile 47982 2009-03-12 01:01:21Z ram@macports.org $

PortSystem    1.0
PortGroup     python25 1.0

name          py25-pexpect
version       2.3
categories    python
platforms     darwin
maintainers   nomaintainer

description   python module for better controlling other applications
long_description Pexpect makes Python a better tool for controlling \
  other applications. It 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.

homepage      http://pexpect.sourceforge.net/
master_sites  sourceforge:pexpect
distname      pexpect-${version}

checksums     md5 bf107cf54e67bc6dec5bea1f3e6a65c3 \
              sha1 ee1e2770bfe49e7651bab78357179c28ed99a55b \
              rmd160 74adfd7e91152d64907f1a685b5dd0161cf4bf82

worksrcdir    pexpect-${version}

post-destroot {
  xinstall -m 644 -W ${worksrcpath} README \
    ${destroot}${prefix}/share/doc/${name}
}

universal_variant no

livecheck.regex {pexpect Release (\d+(?:\.\d+)*) released}
