summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Schiffbauer <mschiff@gentoo.org>2012-11-15 15:28:14 +0000
committerMarc Schiffbauer <mschiff@gentoo.org>2012-11-15 15:28:14 +0000
commitc0712e031d7dd519b07974794a39a28708ca2881 (patch)
treeda112fbbfb770e24750fbc1e21e8270846cc9a9c /app-backup/obnam
parentMask USE=fdk (bug #442806). (diff)
downloadgentoo-2-c0712e031d7dd519b07974794a39a28708ca2881.tar.gz
gentoo-2-c0712e031d7dd519b07974794a39a28708ca2881.tar.bz2
gentoo-2-c0712e031d7dd519b07974794a39a28708ca2881.zip
Set active python version. Fixes #443272. Thanks to Justin Keogh
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 0x296C6CCA35A64134)
Diffstat (limited to 'app-backup/obnam')
-rw-r--r--app-backup/obnam/ChangeLog5
-rw-r--r--app-backup/obnam/obnam-1.2-r1.ebuild7
2 files changed, 10 insertions, 2 deletions
diff --git a/app-backup/obnam/ChangeLog b/app-backup/obnam/ChangeLog
index 098f22d97a77..12c977f5eb86 100644
--- a/app-backup/obnam/ChangeLog
+++ b/app-backup/obnam/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-backup/obnam
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-backup/obnam/ChangeLog,v 1.7 2012/10/11 08:25:40 mschiff Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-backup/obnam/ChangeLog,v 1.8 2012/11/15 15:28:14 mschiff Exp $
+
+ 15 Nov 2012; Marc Schiffbauer <mschiff@gentoo.org> obnam-1.2-r1.ebuild:
+ Set active python version. Fixes #443272. Thanks to Justin Keogh
11 Oct 2012; Marc Schiffbauer <mschiff@gentoo.org> obnam-1.2-r1.ebuild,
+files/obnam-1.2_man_diff_fix.patch:
diff --git a/app-backup/obnam/obnam-1.2-r1.ebuild b/app-backup/obnam/obnam-1.2-r1.ebuild
index 09997351004e..713740f70d33 100644
--- a/app-backup/obnam/obnam-1.2-r1.ebuild
+++ b/app-backup/obnam/obnam-1.2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-backup/obnam/obnam-1.2-r1.ebuild,v 1.2 2012/10/11 08:25:40 mschiff Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-backup/obnam/obnam-1.2-r1.ebuild,v 1.3 2012/11/15 15:28:14 mschiff Exp $
EAPI=4
@@ -29,6 +29,11 @@ RDEPEND="${DEPEND}"
# S="${WORKDIR}/${MY_P}"
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
src_prepare() {
distutils_src_prepare
epatch "${FILESDIR}/${P}_diff_fix.patch"