From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QNn5l-00046M-8M for garchives@archives.gentoo.org; Sat, 21 May 2011 14:23:45 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7218BE0459; Sat, 21 May 2011 14:23:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 3DDBFE0459 for ; Sat, 21 May 2011 14:23:38 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A4E3E1B4016 for ; Sat, 21 May 2011 14:23:37 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id DF2DC8001F for ; Sat, 21 May 2011 14:23:36 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/dbapi/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/dbapi/vartree.py X-VCS-Directories: pym/portage/dbapi/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: fcd742f219611c4f80bf4f24c198890f8a44f85f Date: Sat, 21 May 2011 14:23:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: fdef85fe7024cf43905ab7130bc51581 commit: fcd742f219611c4f80bf4f24c198890f8a44f85f Author: Zac Medico gentoo org> AuthorDate: Sat May 21 14:22:00 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Sat May 21 14:22:00 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3Dfcd742f2 treewalk: force AUTOCLEAN=3Dyes if libs preserved --- pym/portage/dbapi/vartree.py | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 60d52a8..f53c209 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -3443,7 +3443,12 @@ class dblink(object): else: emerge_log =3D scheduler.dblinkEmergeLog =20 - autoclean =3D self.settings.get("AUTOCLEAN", "yes") =3D=3D "yes" + # If we have any preserved libraries then autoclean + # is forced so that preserve-libs logic doesn't have + # to account for the additional complexity of the + # AUTOCLEAN=3Dno mode. + autoclean =3D self.settings.get("AUTOCLEAN", "yes") =3D=3D "yes" \ + or preserve_paths =20 if autoclean: emerge_log(_(" >>> AUTOCLEAN: %s") % (slot_atom,))