summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-06 19:50:25 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-06 19:50:25 +0000
commit83dce29ded4e21315137b0fb06abed4029a603c2 (patch)
treef31554221143fbbbe67c76578993e7c840e30ad4 /dev-vcs
parentDelete older ebuild. (diff)
downloadgentoo-2-83dce29ded4e21315137b0fb06abed4029a603c2.tar.gz
gentoo-2-83dce29ded4e21315137b0fb06abed4029a603c2.tar.bz2
gentoo-2-83dce29ded4e21315137b0fb06abed4029a603c2.zip
Use Python 2 (bug #329493).
(Portage version: 2.2.0_alpha29_p10/cvs/Linux x86_64)
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/svnmailer/ChangeLog8
-rw-r--r--dev-vcs/svnmailer/svnmailer-1.0.8-r2.ebuild17
2 files changed, 18 insertions, 7 deletions
diff --git a/dev-vcs/svnmailer/ChangeLog b/dev-vcs/svnmailer/ChangeLog
index 52c3804185e1..015ee440adc4 100644
--- a/dev-vcs/svnmailer/ChangeLog
+++ b/dev-vcs/svnmailer/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-vcs/svnmailer
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/svnmailer/ChangeLog,v 1.2 2010/06/22 18:51:58 arfrever Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/svnmailer/ChangeLog,v 1.3 2011/04/06 19:50:25 arfrever Exp $
+
+ 06 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ svnmailer-1.0.8-r2.ebuild:
+ Use Python 2 (bug #329493).
22 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
svnmailer-1.0.8-r2.ebuild:
diff --git a/dev-vcs/svnmailer/svnmailer-1.0.8-r2.ebuild b/dev-vcs/svnmailer/svnmailer-1.0.8-r2.ebuild
index 84cde618fe7b..e264378aa212 100644
--- a/dev-vcs/svnmailer/svnmailer-1.0.8-r2.ebuild
+++ b/dev-vcs/svnmailer/svnmailer-1.0.8-r2.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/svnmailer/svnmailer-1.0.8-r2.ebuild,v 1.2 2010/06/22 18:51:58 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/svnmailer/svnmailer-1.0.8-r2.ebuild,v 1.3 2011/04/06 19:50:25 arfrever Exp $
-EAPI=2
+EAPI="3"
+PYTHON_DEPEND="2"
inherit distutils eutils
@@ -15,14 +16,20 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND=">=dev-lang/python-2.3"
-RDEPEND="${DEPEND}
+DEPEND="${DEPEND}
dev-vcs/subversion[python]
virtual/mta"
+RDEPEND="${DEPEND}"
DOCS="CHANGES NOTICE CREDITS"
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
src_prepare() {
+ distutils_src_prepare
epatch "${FILESDIR}"/${P}-python2.5.diff
}