# -*- 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
PortGroup           deprecated 1.0

name                py-couchdbkit
version             0.6.5
revision            0

categories-append   www databases
platforms           darwin
supported_archs     noarch
license             MIT
maintainers         nomaintainer

description         Python library for working with CouchDB
long_description    Couchdbkit provides you a full featured and easy client \
                    to access and manage CouchDB.  It allow you to manage a \
                    CouchDB server, databases, doc managements and view \
                    access.  All objects mostly reflect python objects for \
                    convenience.  Server and databases objects could be used \
                    for example as easy as using a dict.

homepage            http://couchdbkit.org/

checksums           rmd160  58f1fe17b32c3b307851b9f2701a987aab8d9849 \
                    sha256  9b607f509727e6ada2dbd576a4120c214b1c54f3bb8bf6e2e0eb2cfbb11a0e00 \
                    size    81304

deprecated.upstream_support no
python.versions     27

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

    depends_lib-append \
                    port:py${python.version}-restkit

    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} README.rst \
            LICENSE ${destroot}${docdir}
    }

    livecheck.type  none
}
