# -*- 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
set _n [string index ${_name} 0]
categories-append www databases
maintainers {blair @blair} openmaintainer
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/
master_sites pypi:${_n}/${_name}/
distname ${_name}-${version}
checksums md5 d5f6382665697b0f126f68a211c1a5a2 \
sha1 64feff3bc6e47ff04d7efceeaad027036215d2c2 \
rmd160 58f1fe17b32c3b307851b9f2701a987aab8d9849
# Python >= 2.6 required, Python 3.x supported "soon"
if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools
depends_lib-append port:py${python.version}-restkit
# Adding documentation and examples
set dest_doc ${destroot}${prefix}/share/doc/${subport}
xinstall -m 755 -W ${worksrcpath} \
livecheck.url [lindex ${master_sites} 0]
livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<"