summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2014-07-22 02:36:42 +0000
committerIan Delaney <idella4@gentoo.org>2014-07-22 02:36:42 +0000
commitc88538cfbce0ed79ee04c1f20183c9db10f11cac (patch)
tree38e841ba5150befe200352fd04f603c66831e9d1 /dev-python/couchdb-python
parentbug 517716, fix not checking CONFIG_BCMA, thanks M.B <tomboy64 at sina.cn> (diff)
downloadgentoo-2-c88538cfbce0ed79ee04c1f20183c9db10f11cac.tar.gz
gentoo-2-c88538cfbce0ed79ee04c1f20183c9db10f11cac.tar.bz2
gentoo-2-c88538cfbce0ed79ee04c1f20183c9db10f11cac.zip
bump; drop py2.6 add py3 pypy support, add IUSE doc, build & install
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/couchdb-python')
-rw-r--r--dev-python/couchdb-python/ChangeLog10
-rw-r--r--dev-python/couchdb-python/couchdb-python-0.10.ebuild (renamed from dev-python/couchdb-python/couchdb-python-0.8-r1.ebuild)19
-rw-r--r--dev-python/couchdb-python/couchdb-python-0.8.ebuild32
3 files changed, 22 insertions, 39 deletions
diff --git a/dev-python/couchdb-python/ChangeLog b/dev-python/couchdb-python/ChangeLog
index 0275a269eca3..b3870762463c 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-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/couchdb-python/ChangeLog,v 1.27 2013/09/12 20:59:38 mgorny Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/couchdb-python/ChangeLog,v 1.28 2014/07/22 02:36:42 idella4 Exp $
+
+*couchdb-python-0.10 (22 Jul 2014)
+
+ 22 Jul 2014; Ian Delaney <idella4@gentoo.org> +couchdb-python-0.10.ebuild,
+ -couchdb-python-0.8-r1.ebuild, -couchdb-python-0.8.ebuild:
+ bump; drop py2.6 add py3 pypy support, add IUSE doc, build & install
12 Sep 2013; Michał Górny <mgorny@gentoo.org> couchdb-python-0.8-r1.ebuild,
couchdb-python-0.9.ebuild:
diff --git a/dev-python/couchdb-python/couchdb-python-0.8-r1.ebuild b/dev-python/couchdb-python/couchdb-python-0.10.ebuild
index d523bf908eb1..b9d812c2a9b6 100644
--- a/dev-python/couchdb-python/couchdb-python-0.8-r1.ebuild
+++ b/dev-python/couchdb-python/couchdb-python-0.10.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 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.8-r1.ebuild,v 1.6 2013/09/12 20:59:38 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/couchdb-python/couchdb-python-0.10.ebuild,v 1.1 2014/07/22 02:36:42 idella4 Exp $
EAPI=5
-PYTHON_COMPAT=( python{2_6,2_7} )
+PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
inherit distutils-r1
@@ -17,8 +17,8 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
@@ -29,6 +29,15 @@ S=${WORKDIR}/${MY_P}
# instance.
RESTRICT=test
+python_compile_all() {
+ esetup.py build_sphinx
+}
+
python_test() {
esetup.py test
}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( doc/build/html/. )
+ distutils-r1_python_install_all
+}
diff --git a/dev-python/couchdb-python/couchdb-python-0.8.ebuild b/dev-python/couchdb-python/couchdb-python-0.8.ebuild
deleted file mode 100644
index 8b10a107a37d..000000000000
--- a/dev-python/couchdb-python/couchdb-python-0.8.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2013 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.8.ebuild,v 1.6 2013/02/18 12:59:11 mgorny 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="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-RDEPEND="
- || ( >=dev-lang/python-2.6
- ( dev-lang/python:2.5 dev-python/simplejson ) )"
-DEPEND="dev-python/setuptools"
-
-S="${WORKDIR}/CouchDB-${PV}"
-
-PYTHON_MODNAME="couchdb"