summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2009-12-14 14:46:39 +0000
committerDirkjan Ochtman <djc@gentoo.org>2009-12-14 14:46:39 +0000
commit182fd0d5e09ced6f2e4fa1e8892842d7db1f2b0f (patch)
tree9294d967b8010ef859b1300ac9cd5b06f6d4174d /dev-python
parentBump gtk+ dependency to 2.13 for gail; in-tree gnome-base/gail is just a blan... (diff)
downloadgentoo-2-182fd0d5e09ced6f2e4fa1e8892842d7db1f2b0f.tar.gz
gentoo-2-182fd0d5e09ced6f2e4fa1e8892842d7db1f2b0f.tar.bz2
gentoo-2-182fd0d5e09ced6f2e4fa1e8892842d7db1f2b0f.zip
Version bump dev-python/couchdb-python to 0.6.1.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/couchdb-python/ChangeLog8
-rw-r--r--dev-python/couchdb-python/couchdb-python-0.6.1.ebuild48
-rw-r--r--dev-python/couchdb-python/couchdb-python-0.6.ebuild6
-rw-r--r--dev-python/couchdb-python/metadata.xml4
4 files changed, 64 insertions, 2 deletions
diff --git a/dev-python/couchdb-python/ChangeLog b/dev-python/couchdb-python/ChangeLog
index cfb71c028fa2..492a1887ade1 100644
--- a/dev-python/couchdb-python/ChangeLog
+++ b/dev-python/couchdb-python/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/couchdb-python
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/couchdb-python/ChangeLog,v 1.5 2009/09/19 11:27:09 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/couchdb-python/ChangeLog,v 1.6 2009/12/14 14:46:39 djc Exp $
+
+*couchdb-python-0.6.1 (14 Dec 2009)
+
+ 14 Dec 2009; Dirkjan Ochtman <djc@gentoo.org> couchdb-python-0.6.ebuild,
+ +couchdb-python-0.6.1.ebuild, metadata.xml:
+ Version bump to 0.6.1 (just released).
19 Sep 2009; Markus Meier <maekke@gentoo.org> couchdb-python-0.6.ebuild:
amd64/x86 stable, bug #285177
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..954a9b4992ee
--- /dev/null
+++ b/dev-python/couchdb-python/couchdb-python-0.6.1.ebuild
@@ -0,0 +1,48 @@
+# 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.6.1.ebuild,v 1.1 2009/12/14 14:46:39 djc Exp $
+
+EAPI="2"
+
+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="~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 ) )
+ doc? ( dev-python/epydoc )"
+DEPEND=""
+
+PYTHON_MODNAME="couchdb"
+S=${WORKDIR}/CouchDB-${PV}
+
+src_prepare() {
+ distutils_src_prepare
+
+ # Delete debug print (bug #278561).
+ # Check if it is still needed in next version.
+ sed -e "/print 'Using stdlib json'/d" -i couchdb/json.py || die "sed failed"
+}
+
+src_install() {
+ distutils_src_install
+
+ if use doc; then
+ epydoc --config=doc/conf/epydoc.ini
+ fi
+
+ dohtml -r doc/* || die "dohtml failed"
+}
+
+src_test() {
+ python setup.py test
+}
diff --git a/dev-python/couchdb-python/couchdb-python-0.6.ebuild b/dev-python/couchdb-python/couchdb-python-0.6.ebuild
index 9ed90bafea68..7a20c25a42d5 100644
--- a/dev-python/couchdb-python/couchdb-python-0.6.ebuild
+++ b/dev-python/couchdb-python/couchdb-python-0.6.ebuild
@@ -1,6 +1,6 @@
# 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.6.ebuild,v 1.3 2009/09/19 11:27:09 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/couchdb-python/couchdb-python-0.6.ebuild,v 1.4 2009/12/14 14:46:39 djc Exp $
EAPI="2"
@@ -42,3 +42,7 @@ src_install() {
dohtml -r doc/* || die "dohtml failed"
}
+
+src_test() {
+ python setup.py test
+}
diff --git a/dev-python/couchdb-python/metadata.xml b/dev-python/couchdb-python/metadata.xml
index 301d2207cc29..119630db666c 100644
--- a/dev-python/couchdb-python/metadata.xml
+++ b/dev-python/couchdb-python/metadata.xml
@@ -2,4 +2,8 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>python</herd>
+ <maintainer>
+ <email>djc@gentoo.org</email>
+ <name>Dirkjan Ochtman</name>
+ </maintainer>
</pkgmetadata>