# $Id: Portfile 73390 2010-11-12 03:26:36Z perry@macports.org $

PortSystem              1.0
PortGroup               python26 1.0

name                    py26-weberror
version                 0.10.3
maintainers             perry openmaintainer
platforms               darwin

description             Web Error handling and exception catching
long_description        ${description}
license                 MIT
homepage                http://pypi.python.org/pypi/WebError/

livecheck.regex         {: WebError (.+)<}
livecheck.type          regex
livecheck.url           ${homepage}

depends_build-append    port:py26-distribute
depends_lib-append \
    port:py26-paste \
    port:py26-pygments \
    port:py26-simplejson \
    port:py26-tempita \
    port:py26-webob

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

checksums               rmd160 14893cefa17f70600f7d63f733edd51fda01e487

post-extract {
    foreach file [glob ${worksrcpath}/WebError.egg-info/*] {
        file attributes ${file} -permissions 0644
    }
}
