diff options
author | Mike Pagano <mpagano@gentoo.org> | 2010-03-28 21:22:08 +0000 |
---|---|---|
committer | Mike Pagano <mpagano@gentoo.org> | 2010-03-28 21:22:08 +0000 |
commit | edf715a7734601459e22e78c4a9906f813b10a65 (patch) | |
tree | 0326d5394ce1e3d0759e5a5484c6bbbff4cdacd4 /app-portage | |
parent | Use slot dep for bcprov. (diff) | |
download | gentoo-2-edf715a7734601459e22e78c4a9906f813b10a65.tar.gz gentoo-2-edf715a7734601459e22e78c4a9906f813b10a65.tar.bz2 gentoo-2-edf715a7734601459e22e78c4a9906f813b10a65.zip |
Perform python2->3 fixes as per bug #311793
(Portage version: 2.2_rc67/cvs/Linux i686)
Diffstat (limited to 'app-portage')
-rw-r--r-- | app-portage/portpeek/ChangeLog | 6 | ||||
-rw-r--r-- | app-portage/portpeek/portpeek-1.5.7.2.ebuild | 15 | ||||
-rw-r--r-- | app-portage/portpeek/portpeek-1.5.8.4.ebuild | 15 | ||||
-rw-r--r-- | app-portage/portpeek/portpeek-1.9.36.ebuild | 15 |
4 files changed, 44 insertions, 7 deletions
diff --git a/app-portage/portpeek/ChangeLog b/app-portage/portpeek/ChangeLog index 3859a288a963..fc45e0dc04c3 100644 --- a/app-portage/portpeek/ChangeLog +++ b/app-portage/portpeek/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-portage/portpeek # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/portpeek/ChangeLog,v 1.63 2010/03/28 21:05:26 mpagano Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/portpeek/ChangeLog,v 1.64 2010/03/28 21:22:08 mpagano Exp $ + + 28 Mar 2010; Michael Pagano <mpagano@gentoo.org> portpeek-1.5.7.2.ebuild, + portpeek-1.5.8.4.ebuild, portpeek-1.9.36.ebuild: + Perform python2->3 fixes as per bug #311793 28 Mar 2010; Mike Pagano <mpagano@gentoo.org> -portpeek-1.9.35.ebuild: Drop old version diff --git a/app-portage/portpeek/portpeek-1.5.7.2.ebuild b/app-portage/portpeek/portpeek-1.5.7.2.ebuild index 2edb698d3ac3..88c4a535f6eb 100644 --- a/app-portage/portpeek/portpeek-1.5.7.2.ebuild +++ b/app-portage/portpeek/portpeek-1.5.7.2.ebuild @@ -1,8 +1,11 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/portpeek/portpeek-1.5.7.2.ebuild,v 1.7 2010/03/25 00:43:15 mpagano Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/portpeek/portpeek-1.5.7.2.ebuild,v 1.8 2010/03/28 21:22:08 mpagano Exp $ -EAPI="1" +EAPI="2" +PYTHON_DEPEND="2" + +inherit eutils python DESCRIPTION="A helper program for maintaining the package.keyword and package.unmask files" HOMEPAGE="http://www.mpagano.com/blog/?page_id=3" @@ -17,6 +20,14 @@ DEPEND="" RDEPEND=">=app-portage/gentoolkit-0.2.4.2 dev-lang/python:2.6" +pkg_setup() { + python_set_active_version 2 +} + +src_prepare() { + python_convert_shebangs 2 portpeek +} + src_install() { dobin ${PN} || die "dobin failed" doman *.[0-9] diff --git a/app-portage/portpeek/portpeek-1.5.8.4.ebuild b/app-portage/portpeek/portpeek-1.5.8.4.ebuild index 2501fb4066be..50517f395f0a 100644 --- a/app-portage/portpeek/portpeek-1.5.8.4.ebuild +++ b/app-portage/portpeek/portpeek-1.5.8.4.ebuild @@ -1,8 +1,11 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/portpeek/portpeek-1.5.8.4.ebuild,v 1.4 2010/03/25 00:43:15 mpagano Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/portpeek/portpeek-1.5.8.4.ebuild,v 1.5 2010/03/28 21:22:08 mpagano Exp $ -EAPI="1" +EAPI="2" +PYTHON_DEPEND="2" + +inherit eutils python DESCRIPTION="A helper program for maintaining the package.keyword and package.unmask files" HOMEPAGE="http://www.mpagano.com/blog/?page_id=3" @@ -17,6 +20,14 @@ DEPEND="" RDEPEND=">=app-portage/gentoolkit-0.2.4.5 dev-lang/python:2.6" +pkg_setup() { + python_set_active_version 2 +} + +src_prepare() { + python_convert_shebangs 2 portpeek +} + src_install() { dobin ${PN} || die "dobin failed" doman *.[0-9] diff --git a/app-portage/portpeek/portpeek-1.9.36.ebuild b/app-portage/portpeek/portpeek-1.9.36.ebuild index 64efbcb7262d..0ccf740b183a 100644 --- a/app-portage/portpeek/portpeek-1.9.36.ebuild +++ b/app-portage/portpeek/portpeek-1.9.36.ebuild @@ -1,8 +1,11 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/portpeek/portpeek-1.9.36.ebuild,v 1.2 2010/03/25 00:43:15 mpagano Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/portpeek/portpeek-1.9.36.ebuild,v 1.3 2010/03/28 21:22:08 mpagano Exp $ -EAPI="1" +EAPI="2" +PYTHON_DEPEND="2" + +inherit eutils python DESCRIPTION="A helper program for maintaining the package.keyword and package.unmask files" HOMEPAGE="http://www.mpagano.com/blog/?page_id=3" @@ -18,6 +21,14 @@ RDEPEND=">=app-portage/gentoolkit-0.3.0_rc9 >=sys-apps/portage-2.2_rc67 dev-lang/python:2.6" +pkg_setup() { + python_set_active_version 2 +} + +src_prepare() { + python_convert_shebangs 2 portpeek +} + src_install() { dobin ${PN} || die "dobin failed" doman *.[0-9] |