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 B754A138010 for ; Sun, 24 Mar 2013 15:17:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4881AE0818; Sun, 24 Mar 2013 15:17:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DC7C6E0818 for ; Sun, 24 Mar 2013 15:17:41 +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 C946D33BE60 for ; Sun, 24 Mar 2013 15:17:40 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 6B54FE4073 for ; Sun, 24 Mar 2013 15:17:39 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1361577487.1ef83a03bb3ec55b30b04e07723dca95aaf767e3.floppym@gentoo> Subject: [gentoo-commits] proj/python-updater:master commit in: / X-VCS-Repository: proj/python-updater X-VCS-Files: python-updater X-VCS-Directories: / X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 1ef83a03bb3ec55b30b04e07723dca95aaf767e3 X-VCS-Branch: master Date: Sun, 24 Mar 2013 15:17:39 +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: 9ac0ae8a-ca8d-40e8-a285-1fcf82479e2c X-Archives-Hash: d42c19f3260254c889ee0a7904440bb6 commit: 1ef83a03bb3ec55b30b04e07723dca95aaf767e3 Author: Mike Gilbert gentoo org> AuthorDate: Fri Feb 22 23:58:07 2013 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Fri Feb 22 23:58:07 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/python-updater.git;a=commit;h=1ef83a03 Skip any packages which have "python_targets_" in IUSE We don't need to check such packages ourselves; emerge --newuse should cover it. --- python-updater | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/python-updater b/python-updater index fc3294f..4fd4faa 100755 --- a/python-updater +++ b/python-updater @@ -701,6 +701,10 @@ for contents_file in $(find ${PKG_DBDIR}/ -name CONTENTS | sort); do CATPKGVER="=${CATEGORY}/${PF}" fi + IUSE= + iuse_file=${contents_file%CONTENTS}IUSE + [[ -f ${iuse_file} ]] && IUSE=$(<"${iuse_file}") + veinfo 2 "Checking ${CATEGORY}/${PF}${SLOT:+:}${SLOT}" # Exclude packages, which are exceptions, like Portage and Python itself. @@ -719,6 +723,13 @@ for contents_file in $(find ${PKG_DBDIR}/ -name CONTENTS | sort); do continue fi + if [[ ${IUSE} =~ python_targets_ ]]; then + eindent + veinfo 2 "Skipping ${CATPKGVER}, reason: python_targets_ in IUSE" + eoutdent + continue + fi + if [[ -n "${PYTHON_MULTIPLE_ABIS}" && "${EAPI}" =~ ^4-python$ ]]; then # Potentially update USE flags in IUSE in EAPI >= 4-python. if [[ "${PRETEND}" -eq 0 && -f "${contents_file%CONTENTS}IUSE" && -f "${contents_file%CONTENTS}USE" && -f "${contents_file%CONTENTS}repository" ]]; then