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 1BB3D13888B for ; Tue, 5 Feb 2013 17:48:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9457421C00C; Tue, 5 Feb 2013 17:48:26 +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 2A1CB21C00C for ; Tue, 5 Feb 2013 17:48:26 +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 338AF33DF17 for ; Tue, 5 Feb 2013 17:48:25 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id BDB00E4073 for ; Tue, 5 Feb 2013 17:48:23 +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: <1360085047.ef40d9a0d327e42e44a80b37cfd59c056fc085c2.dywi@gentoo> Subject: [gentoo-commits] proj/R_overlay:master commit in: /, roverlay/config/ X-VCS-Repository: proj/R_overlay X-VCS-Files: R-overlay.conf roverlay/config/entrymap.py X-VCS-Directories: / roverlay/config/ X-VCS-Committer: dywi X-VCS-Committer-Name: André Erdmann X-VCS-Revision: ef40d9a0d327e42e44a80b37cfd59c056fc085c2 X-VCS-Branch: master Date: Tue, 5 Feb 2013 17:48:23 +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: d2a5cfef-e314-4852-a7af-95d549e939ce X-Archives-Hash: 737459a35eecf68d20f512dd833c0bbe commit: ef40d9a0d327e42e44a80b37cfd59c056fc085c2 Author: André Erdmann mailerd de> AuthorDate: Tue Feb 5 17:23:10 2013 +0000 Commit: André Erdmann mailerd de> CommitDate: Tue Feb 5 17:24:07 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=ef40d9a0 roverlay/config: PACKAGE_RULES added PACKAGE_RULES, PACKAGE_RULE_FILES to the config entry map. --- R-overlay.conf | 4 ++++ roverlay/config/entrymap.py | 11 +++++++++++ 2 files changed, 15 insertions(+), 0 deletions(-) diff --git a/R-overlay.conf b/R-overlay.conf index b9567c2..549cd16 100644 --- a/R-overlay.conf +++ b/R-overlay.conf @@ -32,6 +32,10 @@ LOG_FILE_UNRESOLVABLE = log/dep_unresolvable.log # = extra config files = +# PACKAGE_RULES lists the per-package files that control package processing +# PACKAGE_RULES ::= "[ ]" +PACKAGE_RULES="config/package_rules" + # SIMPLE_RULES_FILE lists the rule files for dependency resolution # SIMPLE_RULES_FILE ::= "[ ]" SIMPLE_RULES_FILE = "config/simple-deprules.d" diff --git a/roverlay/config/entrymap.py b/roverlay/config/entrymap.py index ed1dad8..2122eb8 100644 --- a/roverlay/config/entrymap.py +++ b/roverlay/config/entrymap.py @@ -338,6 +338,17 @@ CONFIG_ENTRY_MAP = dict ( # --- description reader + # == package rules == + + package_rule_files = dict ( + path = [ 'PACKAGE_RULES', 'files' ], + value_type = fs_abslist, + description = 'list of package rule files', + ), + + # * alias + package_rules = 'package_rule_files', + ) del fs_file, fs_abslist, is_fs_file, is_yesno, is_log_level, \