+++ /dev/null
-DIST porthole-0.6.1.tar.bz2 958696 BLAKE2B e4eb7493a66278cd7d16ac68304fe74ad8623054a95bb3dca84b0b8236f76cb9b0a92f446d1ffd95f907c29d703d93bdd48e8e5064485b69282e8680f5fcb658 SHA512 9bc1d79c587ad8228b9bb4eee6cb32559a5d7b6a9f4f6ece752fce9030f71fdbfd6158d7a2a055641b63df1f0a1c31995747e15b618de79cd8a7a56e4d8f634c
+++ /dev/null
-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):
+++ /dev/null
-diff -uNr porthole/db/user_configs.py.old porthole/db/user_configs.py
-
---- porthole/db/user_configs.py.old 2010-11-27 13:34:35.000000000 +0600
-+++ porthole/db/user_configs.py 2010-11-27 13:31:24.000000000 +0600
-@@ -364,7 +364,7 @@
- debug.dprint("USER_CONFIGS: set_user_config(): add: " +
- "%s,\n remove: %s " %(str(add),str(remove)))
- set_config.set_user_config(filename=file, name=name, ebuild=ebuild,
-- comment=comment, username=privileges.USER,
-+ comment=comment, username=privileges.user,
- add=add, remove=remove)
- self.set_config_callback()
- else:
-
\ No newline at end of file
+++ /dev/null
---- porthole/db/user_configs.py 2010/03/20 12:32:29 1217
-+++ porthole/db/user_configs.py 2010/03/20 14:10:46 1218
-@@ -36,6 +36,7 @@
- from porthole import backends
- portage_lib = backends.portage_lib
- from porthole.utils import debug
-+from porthole.privilege import controller as privileges
-
- ## set up this module to act as a user configs data server,
- ## watch the user configs for changes and auto update
-@@ -363,7 +364,7 @@
- debug.dprint("USER_CONFIGS: set_user_config(): add: " +
- "%s,\n remove: %s " %(str(add),str(remove)))
- set_config.set_user_config(filename=file, name=name, ebuild=ebuild,
-- comment=comment, username=priviliges.USER,
-+ comment=comment, username=privileges.USER,
- add=add, remove=remove)
- self.set_config_callback()
- else:
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>tools-portage@gentoo.org</email>
- <name>Gentoo Portage tools team</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">porthole</remote-id>
- </upstream>
-</pkgmetadata>
+++ /dev/null
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-PYTHON_COMPAT=(python2_7)
-PYTHON_REQ_USE="threads(+),xml(+)"
-
-inherit distutils-r1 eutils
-
-DESCRIPTION="A GTK+-based frontend to Portage"
-HOMEPAGE="http://porthole.sourceforge.net"
-SRC_URI="mirror://sourceforge/porthole/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm ppc ppc64 sparc x86"
-IUSE="nls"
-LANGS="de pl ru vi it fr tr"
-
-RDEPEND="
- >=sys-apps/portage-2.1[${PYTHON_USEDEP}]
- dev-python/pygtk:2[${PYTHON_USEDEP}]
- gnome-base/libglade:2.0
- dev-python/pygtksourceview:2[${PYTHON_USEDEP}]
- nls? ( virtual/libintl )"
-DEPEND="${RDEPEND}
- nls? ( >=sys-devel/gettext-0.14 )"
-
-PATCHES=(
- "${FILESDIR}/${P}-masking_status.patch" # bug 307037
- "${FILESDIR}/${P}-missing_import.patch" # bug 323179
- "${FILESDIR}/${P}-missing-attribute.patch" #bug 323179
-)
-
-src_compile() {
- # Compile localizations if necessary
- if use nls ; then
- cd scripts
- ./pocompile.sh -emerge ${LINGUAS} || die "pocompile failed"
- fi
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- dodoc TODO README NEWS AUTHORS
-
- keepdir /var/log/porthole
- fperms g+w /var/log/porthole
- keepdir /var/db/porthole
- fperms g+w /var/db/porthole
-
- # nls
- if use nls; then
- # mo directory doesn't exists with nls enabled and unsupported LINGUAS
- [[ -d porthole/i18n/mo ]] && domo porthole/i18n/mo/*
- fi
-}
-
-pkg_preinst() {
- chgrp portage "${D}"/var/log/porthole
- chgrp portage "${D}"/var/db/porthole
-}
-
-pkg_postinst() {
- einfo
- einfo "Porthole has updated the way that the upgrades are sent to emerge."
- einfo "In this new way the user needs to set any 'Settings' menu emerge options"
- einfo "Porthole automatically adds '--oneshot' for all upgrades selections"
- einfo "Other options recommended are '--noreplace' along with '--update'"
- einfo "They allow for portage to skip any packages that might have already"
- einfo "been upgraded as a dependency of another previously upgraded package"
- einfo
-}