summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-10-30 16:25:34 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-10-30 16:25:34 +0000
commitfb1cb459d32740839375bb5d764a263533717422 (patch)
treecbac287938fae27eaba894eaf7f13b91b89096ea /dev-python/anyvc
parentversion bump (diff)
downloadgentoo-2-fb1cb459d32740839375bb5d764a263533717422.tar.gz
gentoo-2-fb1cb459d32740839375bb5d764a263533717422.tar.bz2
gentoo-2-fb1cb459d32740839375bb5d764a263533717422.zip
Version bump. Restrict 2.4 Python ABI (bug #343231).
(Portage version: 2.2.0_alpha2_p2/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/anyvc')
-rw-r--r--dev-python/anyvc/ChangeLog8
-rw-r--r--dev-python/anyvc/anyvc-0.3.5.ebuild50
2 files changed, 57 insertions, 1 deletions
diff --git a/dev-python/anyvc/ChangeLog b/dev-python/anyvc/ChangeLog
index 4d5076ff8e9a..70b522e8e123 100644
--- a/dev-python/anyvc/ChangeLog
+++ b/dev-python/anyvc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/anyvc
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/anyvc/ChangeLog,v 1.4 2010/10/02 23:23:46 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/anyvc/ChangeLog,v 1.5 2010/10/30 16:25:34 arfrever Exp $
+
+*anyvc-0.3.5 (30 Oct 2010)
+
+ 30 Oct 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ -anyvc-0.3.4.ebuild, +anyvc-0.3.5.ebuild:
+ Version bump. Restrict 2.4 Python ABI (bug #343231).
*anyvc-0.3.4 (02 Oct 2010)
diff --git a/dev-python/anyvc/anyvc-0.3.5.ebuild b/dev-python/anyvc/anyvc-0.3.5.ebuild
new file mode 100644
index 000000000000..32c7c82f41ff
--- /dev/null
+++ b/dev-python/anyvc/anyvc-0.3.5.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/anyvc/anyvc-0.3.5.ebuild,v 1.1 2010/10/30 16:25:34 arfrever Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2:2.5"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.4 3.*"
+
+inherit distutils
+
+DESCRIPTION="Library to access any version control system"
+HOMEPAGE="http://pypi.python.org/pypi/anyvc"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bazaar doc git mercurial subversion"
+
+RDEPEND="dev-python/apipkg
+ dev-python/execnet
+ dev-python/py
+ bazaar? ( dev-vcs/bzr )
+ git? ( dev-python/dulwich )
+ mercurial? ( dev-vcs/mercurial )
+ subversion? ( dev-python/subvertpy )"
+DEPEND="${RDEPEND}
+ dev-python/setuptools
+ doc? ( dev-python/sphinx )"
+
+src_compile() {
+ distutils_src_compile
+
+ if use doc; then
+ einfo "Generation of documentation"
+ sphinx-build -b html docs docs_output || die "Generation of documentation failed"
+ fi
+}
+
+src_install() {
+ distutils_src_install
+
+ if use doc; then
+ pushd docs_output > /dev/null
+ docinto html
+ cp -R [a-z]* _static "${ED}usr/share/doc/${PF}/html" || die "Installation of documentation failed"
+ popd > /dev/null
+ fi
+}