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 07F69138A3B for ; Sat, 25 Jan 2014 19:07:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1F512E0B10; Sat, 25 Jan 2014 19:07:00 +0000 (UTC) Received: from mail.plaimi.net (107.4.189.109.customer.cdi.no [109.189.4.107]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6F61FE0A49 for ; Sat, 25 Jan 2014 19:06:59 +0000 (UTC) Received: by mail.plaimi.net (Postfix) with ESMTPSA id D271640CCC for ; Sat, 25 Jan 2014 20:06:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=plaimi.net; s=leet; t=1390676816; bh=l1vTFz8Nk37+d7Ab0ycgfVXdCd2j7KsGeEpsWHwza28=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type; b=AI4pL6M8bJ/bRYC76IHzE2ofLoUgB+vszQy3lSrm+1adwyFjR48mXK3g92vqGxRYh HB/6E4Z/luWNpJMPo+7QNEI0ukC3FmFYzE67EQM7HTjCo2aiXjrm27q5rcg61Xtz88 nVEF6WQv+kMtmPIhg0FuhBhYKTDCjzJI0cFRzKNQ= Message-ID: <52E40B75.80609@plaimi.net> Date: Sat, 25 Jan 2014 20:07:33 +0100 From: Alexander Berntsen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-portage-dev@lists.gentoo.org Subject: Re: [gentoo-portage-dev] [PATCH 1/3] emerge: Deprecate --autounmask References: <1390090872-31783-1-git-send-email-alexander@plaimi.net> <1390118493.24148.118.camel@belkin5> <52DBA79D.6000103@plaimi.net> <1390127549.24148.144.camel@belkin5> <52DBAD46.1050200@plaimi.net> In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: multipart/mixed; boundary="------------010501060206010005060200" X-Archives-Salt: 9600bcaa-042e-47f8-ab1a-da2704435b74 X-Archives-Hash: a3116bd9a42861890d4f2a6a02537889 This is a multi-part message in MIME format. --------------010501060206010005060200 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 19/01/14 17:49, Mike Gilbert wrote: > Please give me a way to shut off autounmask entirely no mater what > other options I pass to emerge. Here you go. I don't have time to figure out how send-email's --in-reply-to option works right now. If someone wants to tell me how to find the Message-ID (using Thunderbird), I would be grateful for the effort. - -- Alexander alexander@plaimi.net http://plaimi.net/~alexander -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iF4EAREIAAYFAlLkC3UACgkQRtClrXBQc7Un7gD8DFjXDZzWypJiCD7GFdXIiGEg Gbzl2rZb3b9JOssNC8sA/3JdcsQI315GJ8szKYBsadmcZVC/k2/gZE8ZnW2qXtK+ =SJ9h -----END PGP SIGNATURE----- --------------010501060206010005060200 Content-Type: text/x-patch; name="0001-emerge-Let-autounmask-n-override-other-options.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-emerge-Let-autounmask-n-override-other-options.patch" >From 3a4cd65e97d7323562fba9669a14f5caa5523eeb Mon Sep 17 00:00:00 2001 From: Alexander Berntsen Date: Sat, 25 Jan 2014 20:03:00 +0100 Subject: [PATCH] emerge: Let --autounmask=n override other options --- pym/_emerge/depgraph.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index e8b680d..2d32190 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -427,7 +427,8 @@ class _dynamic_depgraph_config(object): self._backtrack_infos = {} self._buildpkgonly_deps_unsatisfied = False - self._autounmask = True + self._autounmask = \ + depgraph._frozen_config.myopts.get("--autounmask") != 'n' self._success_without_autounmask = False self._traverse_ignored_deps = False self._complete_mode = False @@ -6808,7 +6809,7 @@ class depgraph(object): ask = "--ask" in self._frozen_config.myopts autounmask_write = ask or \ - self._frozen_config.myopts.get("--autounmask", "n") == True + self._frozen_config.myopts.get("--autounmask", "y") autounmask_unrestricted_atoms = \ self._frozen_config.myopts.get("--autounmask-unrestricted-atoms", "n") == True quiet = "--quiet" in self._frozen_config.myopts -- 1.8.3.2 --------------010501060206010005060200--