summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-01-12 15:31:46 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-01-12 15:31:46 +0000
commit4fdb5ee45d16c5d772fe79096968746be3dfecd6 (patch)
tree922cfec2240c2f860ddfd36d76f5ad5c74e37e60 /app-portage
parentStable on amd64 wrt bug #351335 (diff)
downloadgentoo-2-4fdb5ee45d16c5d772fe79096968746be3dfecd6.tar.gz
gentoo-2-4fdb5ee45d16c5d772fe79096968746be3dfecd6.tar.bz2
gentoo-2-4fdb5ee45d16c5d772fe79096968746be3dfecd6.zip
Use Python 2 (bug #311771).
(Portage version: 2.2.0_alpha14_p1/cvs/Linux x86_64)
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/elogv/ChangeLog8
-rw-r--r--app-portage/elogv/elogv-0.7.4-r1.ebuild20
-rw-r--r--app-portage/elogv/elogv-0.7.4.ebuild18
3 files changed, 36 insertions, 10 deletions
diff --git a/app-portage/elogv/ChangeLog b/app-portage/elogv/ChangeLog
index 524707daee85..ac326533e2ce 100644
--- a/app-portage/elogv/ChangeLog
+++ b/app-portage/elogv/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-portage/elogv
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/elogv/ChangeLog,v 1.64 2010/11/16 22:03:10 jlec Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-portage/elogv/ChangeLog,v 1.65 2011/01/12 15:31:46 arfrever Exp $
+
+ 12 Jan 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ elogv-0.7.4.ebuild, elogv-0.7.4-r1.ebuild:
+ Use Python 2 (bug #311771).
16 Nov 2010; Justin Lecher <jlec@gentoo.org> elogv-0.7.4.ebuild,
elogv-0.7.4-r1.ebuild:
diff --git a/app-portage/elogv/elogv-0.7.4-r1.ebuild b/app-portage/elogv/elogv-0.7.4-r1.ebuild
index 70e4b3429696..f9a90438aa19 100644
--- a/app-portage/elogv/elogv-0.7.4-r1.ebuild
+++ b/app-portage/elogv/elogv-0.7.4-r1.ebuild
@@ -1,23 +1,33 @@
-# 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/app-portage/elogv/elogv-0.7.4-r1.ebuild,v 1.3 2010/11/16 22:03:10 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/elogv/elogv-0.7.4-r1.ebuild,v 1.4 2011/01/12 15:31:46 arfrever Exp $
-EAPI="2"
+EAPI="3"
+PYTHON_DEPEND="2"
+PYTHON_USE_WITH="ncurses"
inherit distutils eutils prefix
DESCRIPTION="Curses based utility to parse the contents of elogs created by Portage"
HOMEPAGE="http://gechi-overlay.sourceforge.net/?page=elogv"
SRC_URI="mirror://sourceforge/gechi-overlay/${P}.tar.bz2"
+
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
IUSE=""
DEPEND=""
-RDEPEND="dev-lang/python[ncurses]"
+RDEPEND=""
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
src_prepare() {
+ distutils_src_prepare
+
if use prefix; then
epatch "${FILESDIR}"/${PV}-prefix.patch
eprefixify ${PN}
@@ -30,6 +40,8 @@ src_install() {
}
pkg_postinst() {
+ distutils_pkg_postinst
+
elog
elog "In order to use this software, you need to activate"
elog "Portage's elog features. Required is"
diff --git a/app-portage/elogv/elogv-0.7.4.ebuild b/app-portage/elogv/elogv-0.7.4.ebuild
index 1836eabc63df..1f136f5d9b45 100644
--- a/app-portage/elogv/elogv-0.7.4.ebuild
+++ b/app-portage/elogv/elogv-0.7.4.ebuild
@@ -1,21 +1,29 @@
-# 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/app-portage/elogv/elogv-0.7.4.ebuild,v 1.7 2010/11/16 22:03:10 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/elogv/elogv-0.7.4.ebuild,v 1.8 2011/01/12 15:31:46 arfrever Exp $
-EAPI="2"
+EAPI="3"
+PYTHON_DEPEND="2"
+PYTHON_USE_WITH="ncurses"
inherit distutils eutils
DESCRIPTION="Curses based utility to parse the contents of elogs created by Portage"
HOMEPAGE="http://gechi-overlay.sourceforge.net/?page=elogv"
SRC_URI="mirror://sourceforge/gechi-overlay/${P}.tar.bz2"
+
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ppc sparc x86 ~x86-fbsd"
IUSE=""
DEPEND=""
-RDEPEND="dev-lang/python[ncurses]"
+RDEPEND=""
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
src_install() {
distutils_src_install
@@ -23,6 +31,8 @@ src_install() {
}
pkg_postinst() {
+ distutils_pkg_postinst
+
elog
elog "In order to use this software, you need to activate"
elog "Portage's elog features. Required is"