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 DF5D01387FD for ; Fri, 18 Jul 2014 16:20:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F10EFE09A6; Fri, 18 Jul 2014 16:20:08 +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 E16E0E096C for ; Fri, 18 Jul 2014 16:20:07 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A81953403B9 for ; Fri, 18 Jul 2014 16:20:06 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id AA7F0193FB for ; Fri, 18 Jul 2014 16:20:03 +0000 (UTC) From: "André Erdmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "André Erdmann" Message-ID: <1405650211.9c4859591aa5d5388c192f932f3e4d8a1344e57d.dywi@gentoo> Subject: [gentoo-commits] proj/R_overlay:master commit in: roverlay/overlay/ X-VCS-Repository: proj/R_overlay X-VCS-Files: roverlay/overlay/abccontrol.py X-VCS-Directories: roverlay/overlay/ X-VCS-Committer: dywi X-VCS-Committer-Name: André Erdmann X-VCS-Revision: 9c4859591aa5d5388c192f932f3e4d8a1344e57d X-VCS-Branch: master Date: Fri, 18 Jul 2014 16:20:03 +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: 6e530a83-a75d-4855-af57-b574feb419a4 X-Archives-Hash: 5b5540d4acaac01359b60a25387ed2a1 Message-ID: <20140718162003.adjMQPpgylOaJXtIghbCkyLYCcTZw2h9RfGX0sefVX0@z> commit: 9c4859591aa5d5388c192f932f3e4d8a1344e57d Author: André Erdmann mailerd de> AuthorDate: Fri Jul 18 02:23:31 2014 +0000 Commit: André Erdmann mailerd de> CommitDate: Fri Jul 18 02:23:31 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=9c485959 roverlay/overlay/abccontrol: comment --- roverlay/overlay/abccontrol.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/roverlay/overlay/abccontrol.py b/roverlay/overlay/abccontrol.py index a319e35..991343e 100644 --- a/roverlay/overlay/abccontrol.py +++ b/roverlay/overlay/abccontrol.py @@ -81,6 +81,10 @@ class AdditionControlResult ( object ): PKG_ALL, ) = _gen_bits(5) +## # virtuals +## PKG_REVBUMP_ONLY = PKG_REVBUMP_ON_COLLISION|PKG_REPLACE_ONLY +## PKG_FORCE_REPLACE_ONLY = PKG_FORCE_REPLACE|PKG_REPLACE_ONLY + PKG_DESCRIPTION_MAP = { PKG_FORCE_DENY : 'force-deny', @@ -89,6 +93,10 @@ class AdditionControlResult ( object ): PKG_REPLACE_ONLY : 'replace-only', PKG_REVBUMP_ON_COLLISION : 'revbump-on-collision', PKG_DEFAULT_BEHAVIOR : 'default', + +## # virtuals +## PKG_REVBUMP_ONLY : 'revbump-on-collision,replace-only', +## PKG_FORCE_REPLACE_ONLY : 'force-replace,replace-only', } PKG_DESCRIPTION_REVMAP = { v: k for k,v in PKG_DESCRIPTION_MAP.items() }