diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2020-03-19 10:42:17 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2020-03-19 10:42:17 +0300 |
commit | 513d7425f5a7e246f73951ff3731fd1fb307a97d (patch) | |
tree | 95c7f602961568b3bc11d7cb7c7d69be4f6dfab9 /app-portage | |
parent | sci-geosciences/tappy: remove last-rited pkg (diff) | |
download | gentoo-513d7425f5a7e246f73951ff3731fd1fb307a97d.tar.gz gentoo-513d7425f5a7e246f73951ff3731fd1fb307a97d.tar.bz2 gentoo-513d7425f5a7e246f73951ff3731fd1fb307a97d.zip |
app-portage/porthole: remove last-rited pkg
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'app-portage')
-rw-r--r-- | app-portage/porthole/Manifest | 1 | ||||
-rw-r--r-- | app-portage/porthole/files/porthole-0.6.1-masking_status.patch | 17 | ||||
-rw-r--r-- | app-portage/porthole/files/porthole-0.6.1-missing-attribute.patch | 14 | ||||
-rw-r--r-- | app-portage/porthole/files/porthole-0.6.1-missing_import.patch | 19 | ||||
-rw-r--r-- | app-portage/porthole/metadata.xml | 11 | ||||
-rw-r--r-- | app-portage/porthole/porthole-0.6.1-r5.ebuild | 75 |
6 files changed, 0 insertions, 137 deletions
diff --git a/app-portage/porthole/Manifest b/app-portage/porthole/Manifest deleted file mode 100644 index eca66003e970..000000000000 --- a/app-portage/porthole/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST porthole-0.6.1.tar.bz2 958696 BLAKE2B e4eb7493a66278cd7d16ac68304fe74ad8623054a95bb3dca84b0b8236f76cb9b0a92f446d1ffd95f907c29d703d93bdd48e8e5064485b69282e8680f5fcb658 SHA512 9bc1d79c587ad8228b9bb4eee6cb32559a5d7b6a9f4f6ece752fce9030f71fdbfd6158d7a2a055641b63df1f0a1c31995747e15b618de79cd8a7a56e4d8f634c 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 deleted file mode 100644 index e626fbb3c58f..000000000000 --- a/app-portage/porthole/files/porthole-0.6.1-masking_status.patch +++ /dev/null @@ -1,17 +0,0 @@ -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/files/porthole-0.6.1-missing-attribute.patch b/app-portage/porthole/files/porthole-0.6.1-missing-attribute.patch deleted file mode 100644 index aa011a174b17..000000000000 --- a/app-portage/porthole/files/porthole-0.6.1-missing-attribute.patch +++ /dev/null @@ -1,14 +0,0 @@ -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 diff --git a/app-portage/porthole/files/porthole-0.6.1-missing_import.patch b/app-portage/porthole/files/porthole-0.6.1-missing_import.patch deleted file mode 100644 index 33c9e4ee3353..000000000000 --- a/app-portage/porthole/files/porthole-0.6.1-missing_import.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- 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: diff --git a/app-portage/porthole/metadata.xml b/app-portage/porthole/metadata.xml deleted file mode 100644 index c49c4019f904..000000000000 --- a/app-portage/porthole/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?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> diff --git a/app-portage/porthole/porthole-0.6.1-r5.ebuild b/app-portage/porthole/porthole-0.6.1-r5.ebuild deleted file mode 100644 index 8dbd7c1237fe..000000000000 --- a/app-portage/porthole/porthole-0.6.1-r5.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# 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 -} |