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 46236138720 for ; Mon, 28 Jan 2013 23:54:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2E4DB21C0AB; Mon, 28 Jan 2013 23:54:21 +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 B6C6D21C0C1 for ; Mon, 28 Jan 2013 23:54:20 +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 C23D933DBC2 for ; Mon, 28 Jan 2013 23:54:09 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 5BEDBE40A4 for ; Mon, 28 Jan 2013 23:54:06 +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: <1359416224.dc620de71cceab25dad17b7d44c4c5a5167b4956.dywi@gentoo> Subject: [gentoo-commits] proj/R_overlay:master commit in: roverlay/ X-VCS-Repository: proj/R_overlay X-VCS-Files: roverlay/argutil.py X-VCS-Directories: roverlay/ X-VCS-Committer: dywi X-VCS-Committer-Name: André Erdmann X-VCS-Revision: dc620de71cceab25dad17b7d44c4c5a5167b4956 X-VCS-Branch: master Date: Mon, 28 Jan 2013 23:54:06 +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: 9a628730-c7b6-4381-a614-732d6baf431d X-Archives-Hash: c5463b6269f14d8512c71328754462c7 commit: dc620de71cceab25dad17b7d44c4c5a5167b4956 Author: André Erdmann mailerd de> AuthorDate: Mon Jan 28 22:56:05 2013 +0000 Commit: André Erdmann mailerd de> CommitDate: Mon Jan 28 23:37:04 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=dc620de7 roverlay/argutil: --manifest-implementation Choose Manifest implementation via command line arg. Meant for testing the portagemanifest impl. --- roverlay/argutil.py | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/roverlay/argutil.py b/roverlay/argutil.py index 20c5025..ceb8baa 100644 --- a/roverlay/argutil.py +++ b/roverlay/argutil.py @@ -250,6 +250,13 @@ def get_parser ( command_map, default_config_file, default_command='create' ): **opt_in ) + arg ( + '--manifest-implementation', '-M', default=argparse.SUPPRESS, + help="choose how Manifest files are written (ebuild(1) or portage libs)", + metavar="", + choices=frozenset (( 'ebuild', 'e', 'portage', 'p' )), + ) + # FIXME: description of --no-incremental is not correct, # --no-incremental currently means that an existing overlay won't be # scanned for ebuilds (which means that ebuilds will be recreated), @@ -348,6 +355,8 @@ def parse_argv ( command_map, **kw ): if given ( 'deprule_file' ): doconf ( p.deprule_file, 'DEPRES.SIMPLE_RULES.files' ) + if given ( 'manifest_implementation' ): + doconf ( p.manifest_implementation, 'OVERLAY.manifest_implementation' ) return ( commands, p.config, conf, extra ) # --- end of parse_argv (...) ---