# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           python 1.0

name                py-webob
version             1.8.4
revision            0
categories-append   www
platforms           darwin
license             MIT
supported_archs     noarch

python.versions     27 34 35 36 37

maintainers         {stromnov @stromnov} openmaintainer

description         WSGI request and response object.

long_description    WebOb provides wrappers around the WSGI request \
                    environment, and an object to help create WSGI responses. \
                    \
                    The objects map much of the specified behavior of HTTP, \
                    including header parsing and accessors for other standard \
                    parts of the environment.

homepage            http://webob.org/
master_sites        pypi:W/WebOb

distname            WebOb-${version}

checksums           rmd160  032576afbbdbace8d5afa7133cfece00c6814aa6 \
                    sha256  a48315158db05df0c47fbdd061b57ba0ba85bdd0b6ea9dca87511b4b7c798e99 \
                    size    271891

if {${name} ne ${subport}} {
    depends_build-append \
                        port:py${python.version}-setuptools

    # https://trac.macports.org/ticket/56064
    if {[lsearch {26} ${python.version}] != -1} {
        version             1.6.4
        revision            0
        distname            WebOb-${version}
        checksums           rmd160  e921139e974a175589e277e5b1dee94dd3378c78 \
                            sha256  53a33e2aa3f636135b11201311a99ececb3c7fe49af639f0c6290e3153e41a2a
    }

    livecheck.type      none
} else {
    livecheck.name      WebOb
}