From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-512948-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 355CB138010 for <garchives@archives.gentoo.org>; Mon, 8 Oct 2012 20:45:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9857EE0330; Mon, 8 Oct 2012 20:45:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 2279AE0330 for <gentoo-commits@lists.gentoo.org>; Mon, 8 Oct 2012 20:45:44 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7F09933C770 for <gentoo-commits@lists.gentoo.org>; Mon, 8 Oct 2012 20:45:43 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 2D149E5436 for <gentoo-commits@lists.gentoo.org>; Mon, 8 Oct 2012 20:45:42 +0000 (UTC) From: "Ulrich Mueller" <ulm@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Mueller" <ulm@gentoo.org> Message-ID: <1349729664.5eefa6aae03e71620fc71a72d43247efa9135709.ulm@gentoo> Subject: [gentoo-commits] proj/emacs-tools:emacs-updater commit in: / X-VCS-Repository: proj/emacs-tools X-VCS-Files: ChangeLog emacs-updater X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Mueller X-VCS-Revision: 5eefa6aae03e71620fc71a72d43247efa9135709 X-VCS-Branch: emacs-updater Date: Mon, 8 Oct 2012 20:45:42 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 527537f4-d797-4417-97ae-36f40bfbc59f X-Archives-Hash: 0e08b726f6ed42cdaa85519df93f7265 commit: 5eefa6aae03e71620fc71a72d43247efa9135709 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Mon Oct 8 20:54:24 2012 +0000 Commit: Ulrich Mueller <ulm <AT> gentoo <DOT> org> CommitDate: Mon Oct 8 20:54:24 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/emacs-tools.git;a=commit;h=5eefa6aa Honour slots of installed packages, bug 436350. * emacs-updater: Honour slots of installed packages, bug 436350. This requires qfile supporting the -S option, i.e. version 0.3 or newer of portage-utils. --- ChangeLog | 6 ++++++ emacs-updater | 5 ++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 98da930..da48fc5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-10-08 Ulrich Müller <ulm@gentoo.org> + + * emacs-updater: Honour slots of installed packages, bug 436350. + This requires qfile supporting the -S option, i.e. version 0.3 + or newer of portage-utils. + 2011-08-24 Ulrich Müller <ulm@gentoo.org> * Version 1.9 released. diff --git a/emacs-updater b/emacs-updater index ee9a05f..c893502 100755 --- a/emacs-updater +++ b/emacs-updater @@ -281,9 +281,8 @@ if [ "${ORPHANS}" ]; then elif [ "${EXACT}" ]; then qfile -eqCR -f "${TMPFILE}" | sort -u | sed 's/^/=/' > "${PKGFILE}" else - qfile -qCR -f "${TMPFILE}" | sort -u > "${PKGFILE}" - # Get package and slot number - # qfile -eqCR -f "${TMPFILE}" | sort -u | xargs qlist -eqCILS + # Get package and slot number, requires >=portage-utils-0.3 + qfile -SqCR -f "${TMPFILE}" | sort -u > "${PKGFILE}" fi NO_OF_PACKAGES=$(wc -l <"${PKGFILE}")