summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2010-08-15 10:47:40 +0000
committerDirkjan Ochtman <djc@gentoo.org>2010-08-15 10:47:40 +0000
commitb0c9761200388276abe33843124a05e309940591 (patch)
tree55a7da0d577899d69a5785c02224e0479e32649a /dev-python/couchdb-python/couchdb-python-0.6.1.ebuild
parentFurther tweak acceleration settings, bug #332755. (diff)
downloadhistorical-b0c9761200388276abe33843124a05e309940591.tar.gz
historical-b0c9761200388276abe33843124a05e309940591.tar.bz2
historical-b0c9761200388276abe33843124a05e309940591.zip
Resurrect old version of couchdb-python for desktopcouch (bug 332545).
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64 RepoMan-Options: --force
Diffstat (limited to 'dev-python/couchdb-python/couchdb-python-0.6.1.ebuild')
-rw-r--r--dev-python/couchdb-python/couchdb-python-0.6.1.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/couchdb-python/couchdb-python-0.6.1.ebuild b/dev-python/couchdb-python/couchdb-python-0.6.1.ebuild
new file mode 100644
index 000000000000..a3f8e0d1be59
--- /dev/null
+++ b/dev-python/couchdb-python/couchdb-python-0.6.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2010 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.6.1.ebuild,v 1.9 2010/08/15 10:47:40 djc Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+DISTUTILS_SRC_TEST="setup.py"
+
+inherit distutils
+
+MY_PN="CouchDB"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Python library for working with CouchDB"
+HOMEPAGE="http://code.google.com/p/couchdb-python/ http://pypi.python.org/pypi/CouchDB"
+SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="doc"
+
+RDEPEND="dev-python/httplib2
+ || ( >=dev-lang/python-2.6
+ ( dev-lang/python:2.5 dev-python/simplejson )
+ ( dev-lang/python:2.4 dev-python/simplejson ) )"
+DEPEND="dev-python/setuptools"
+
+S="${WORKDIR}/CouchDB-${PV}"
+
+PYTHON_MODNAME="couchdb"
+
+src_install() {
+ distutils_src_install
+
+ if use doc; then
+ dohtml -r doc/api/* || die "Installation of documentation failed"
+ fi
+}