# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-python/couchdb-python/couchdb-python-0.5.ebuild,v 1.1 2009/06/21 20:48:53 patrick Exp $ inherit distutils DESCRIPTION="Python library for working with CouchDB" HOMEPAGE="http://code.google.com/p/couchdb-python/" SRC_URI="http://pypi.python.org/packages/source/C/CouchDB/CouchDB-${PV}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="doc" DEPEND="dev-python/httplib2 dev-python/simplejson virtual/python dev-db/couchdb doc? ( dev-python/epydoc )" RDEPEND="${DEPEND}" S=${WORKDIR}/CouchDB-${PV} src_install() { distutils_src_install if use doc; then epydoc --config=doc/conf/epydoc.ini fi dohtml -r doc/* || die }