diff options
-rw-r--r-- | app-portage/porthole/ChangeLog | 8 | ||||
-rw-r--r-- | app-portage/porthole/files/porthole-0.6.1-masking_status.patch | 17 | ||||
-rw-r--r-- | app-portage/porthole/porthole-0.6.1-r1.ebuild (renamed from app-portage/porthole/porthole-0.6.1.ebuild) | 8 |
3 files changed, 30 insertions, 3 deletions
diff --git a/app-portage/porthole/ChangeLog b/app-portage/porthole/ChangeLog index 61785d4cbc4c..a63fe2016b90 100644 --- a/app-portage/porthole/ChangeLog +++ b/app-portage/porthole/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-portage/porthole # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/porthole/ChangeLog,v 1.42 2010/02/26 18:31:57 idl0r Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/porthole/ChangeLog,v 1.43 2010/02/27 15:47:34 idl0r Exp $ + +*porthole-0.6.1-r1 (27 Feb 2010) + + 27 Feb 2010; Christian Ruppert <idl0r@gentoo.org> -porthole-0.6.1.ebuild, + +porthole-0.6.1-r1.ebuild, +files/porthole-0.6.1-masking_status.patch: + Rev bump to 0.6.1-r1, fixes bug 307037. *porthole-0.6.1 (26 Feb 2010) diff --git a/app-portage/porthole/files/porthole-0.6.1-masking_status.patch b/app-portage/porthole/files/porthole-0.6.1-masking_status.patch new file mode 100644 index 000000000000..e626fbb3c58f --- /dev/null +++ b/app-portage/porthole/files/porthole-0.6.1-masking_status.patch @@ -0,0 +1,17 @@ +Index: porthole/backends/portagelib.py +=================================================================== +--- porthole/backends/portagelib.py (revision 1209) ++++ porthole/backends/portagelib.py (working copy) +@@ -452,7 +452,11 @@ + + + def get_masking_status(ebuild): +- return portage.getmaskingstatus(ebuild) ++ try: ++ status = portage.getmaskingstatus(ebuild) ++ except KeyError: ++ status = ['deprecated'] ++ return status + + + def get_masking_reason(ebuild): diff --git a/app-portage/porthole/porthole-0.6.1.ebuild b/app-portage/porthole/porthole-0.6.1-r1.ebuild index 44c1b3ee8ea7..c3b9e60ace0c 100644 --- a/app-portage/porthole/porthole-0.6.1.ebuild +++ b/app-portage/porthole/porthole-0.6.1-r1.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/porthole/porthole-0.6.1.ebuild,v 1.1 2010/02/26 18:31:57 idl0r Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/porthole/porthole-0.6.1-r1.ebuild,v 1.1 2010/02/27 15:47:34 idl0r Exp $ EAPI="2" -inherit distutils +inherit distutils eutils DESCRIPTION="A GTK+-based frontend to Portage" HOMEPAGE="http://porthole.sourceforge.net" @@ -26,6 +26,10 @@ RDEPEND=">=dev-lang/python-2.4[xml,threads] DEPEND="${RDEPEND} nls? ( >=sys-devel/gettext-0.14 )" +src_prepare() { + epatch "${FILESDIR}/${P}-masking_status.patch" # bug 307037 +} + src_compile(){ # Compile localizations if necessary if use nls ; then |