From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5B67013888F for ; Sat, 17 Oct 2015 23:49:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C69E521C03E; Sat, 17 Oct 2015 23:49:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 56A8121C03E for ; Sat, 17 Oct 2015 23:49:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1833E3406F2 for ; Sat, 17 Oct 2015 23:49:50 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3EB4011F5 for ; Sat, 17 Oct 2015 23:49:45 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: <1445125731.bc8966210fcba21cd4cb791d8a4cc3533e4537fe.dolsen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/porthole/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-portage/porthole/porthole-0.6.1-r4.ebuild X-VCS-Directories: app-portage/porthole/ X-VCS-Committer: dolsen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: bc8966210fcba21cd4cb791d8a4cc3533e4537fe X-VCS-Branch: master Date: Sat, 17 Oct 2015 23:49:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: fe6632e0-4ea2-4d29-9d29-933889c6073f X-Archives-Hash: 236a241e91c6aeac0c8f9387203b2f83 commit: bc8966210fcba21cd4cb791d8a4cc3533e4537fe Author: Brian Dolbec gentoo org> AuthorDate: Sat Oct 17 23:47:34 2015 +0000 Commit: Brian Dolbec gentoo org> CommitDate: Sat Oct 17 23:48:51 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc896621 app-portage/porthole: Revision bump, convert to EAPI 5 Remove pypy dep due to pygtksourceview no longer having it. Package-Manager: portage-2.2.20.1 app-portage/porthole/porthole-0.6.1-r4.ebuild | 76 +++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/app-portage/porthole/porthole-0.6.1-r4.ebuild b/app-portage/porthole/porthole-0.6.1-r4.ebuild new file mode 100644 index 0000000..29cead5 --- /dev/null +++ b/app-portage/porthole/porthole-0.6.1-r4.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 ~sparc ~x86 ~x86-fbsd" +IUSE="nls" +LANGS="de pl ru vi it fr tr" +for X in $LANGS; do IUSE="${IUSE} linguas_${X}"; done + +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 +}