# $Id: Portfile 89139 2012-01-19 21:53:07Z singingwolfboy@macports.org $

PortSystem              1.0
PortGroup               python 1.0

name                    py-webtest
version                 1.3.3
python.versions         24 25 26 27
maintainers             perry openmaintainer
platforms               darwin

description             Helper to test WSGI applications
long_description        ${description}
license                 MIT
homepage                http://pypi.python.org/pypi/WebTest/

livecheck.regex         {>WebTest (.+) :}
livecheck.type          regex
livecheck.url           ${homepage}

if {$name != $subport} {
    depends_build-append    port:py${python.version}-distribute
    depends_lib-append      port:py${python.version}-webob
}

distname                WebTest-${version}
master_sites            http://pypi.python.org/packages/source/W/WebTest/

checksums               rmd160  0c26e05ce2c90a76af77b4aa197acb5f7d5ceaee \
                        sha256  018897fd56c1f96396282ac36d32f5c7862eb07e3965765f0e86ca092ecd42a0
