# -*- 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 # $Id: Portfile 148976 2016-05-24 07:48:05Z raimue@macports.org $ PortSystem 1.0 PortGroup python 1.0 set _name couchdbkit set _n [string index ${_name} 0] name py-${_name} version 0.6.5 categories-append www databases license MIT platforms darwin supported_archs noarch maintainers 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" python.versions 26 27 if {${name} ne ${subport}} { depends_build-append port:py${python.version}-setuptools depends_lib-append port:py${python.version}-restkit # Adding documentation and examples post-destroot { set dest_doc ${destroot}${prefix}/share/doc/${subport} xinstall -d ${dest_doc} xinstall -m 755 -W ${worksrcpath} \ README.rst \ LICENSE \ ${dest_doc} } livecheck.type none } else { livecheck.type regex livecheck.url [lindex ${master_sites} 0] livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<" }