# $Id: Portfile 67420 2010-05-09 05:02:52Z perry@macports.org $

PortSystem              1.0
PortGroup               python26 1.0

name                    py26-weberror
version                 0.10.2
revision                1
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 9ecb657c8dfa4a6cd915cc4a97abd0c6a0009c08

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