# $Id: Portfile 59655 2009-10-19 01:24:44Z blair@macports.org $ PortSystem 1.0 PortGroup python26 1.0 name py26-couchdb version 0.6 categories python www platforms darwin maintainers blair homepage http://code.google.com/p/couchdb-python/ description Python library for working with CouchDB long_description Python library for working with CouchDB. This package \ currently encompasses four primary modules: \ 1) couchdb.client: the basic client library, \ 2) couchdb.design: management of design documents, \ 3) couchdb.schema: a higher-lever API for mapping between \ CouchDB documents and Python objects, \ 4) couchdb.view: a CouchDB view server that allows \ writing view functions in Python master_sites http://pypi.python.org/packages/source/C/CouchDB distname CouchDB-${version} checksums md5 446b8377cf2ddda94d5f2df29c4f705f \ sha1 b045613043f58745b9fbeb0f73988c12a8393117 \ rmd160 488f5d22cc5c134a6a08580e77444e48776dcb05 # Use py26-setuptools as a library dependency instead of a build # dependency because couchdb/__init__.py uses setuptools' # pkg_resources module. depends_lib-append port:py26-cjson \ port:py26-httplib2 \ port:py26-setuptools post-destroot { foreach f {couchdb-dump couchdb-load couchdb-replicate couchpy} { ln -s ${python.prefix}/bin/${f} ${destroot}${prefix}/bin/${f} } } livecheck.type regex livecheck.url http://pypi.python.org/pypi/CouchDB livecheck.regex {CouchDB ([0-9]+\.[0-9]+(?:\.[0-9]+)?)}