1 |
commit: 7cf05a080255ad13a857ff2a8a4ab68a30c823f3 |
2 |
Author: André Erdmann <dywi <AT> mailerd <DOT> de> |
3 |
AuthorDate: Tue Aug 27 15:33:49 2013 +0000 |
4 |
Commit: André Erdmann <dywi <AT> mailerd <DOT> de> |
5 |
CommitDate: Tue Aug 27 15:33:49 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=7cf05a08 |
7 |
|
8 |
doc/rst: #! ERROR, deptype logging |
9 |
|
10 |
--- |
11 |
doc/rst/usage.rst | 12 ++++++++++-- |
12 |
1 file changed, 10 insertions(+), 2 deletions(-) |
13 |
|
14 |
diff --git a/doc/rst/usage.rst b/doc/rst/usage.rst |
15 |
index 1379aad..10da45a 100644 |
16 |
--- a/doc/rst/usage.rst |
17 |
+++ b/doc/rst/usage.rst |
18 |
@@ -1402,7 +1402,7 @@ Keychars |
19 |
simple rule. |
20 |
|
21 |
Keywords |
22 |
- There are two keywords that control how a rule file is read. |
23 |
+ There are three keywords that control how a rule file is read. |
24 |
|
25 |
The important one is the *#deptype <dependency type>* directive that |
26 |
defines that all rules until the next *deptype* directory or end of file, |
27 |
@@ -1424,7 +1424,9 @@ Keywords |
28 |
|
29 |
Check the *dependency type* if a newly added rule has no effect. |
30 |
|
31 |
- The other keyword is *#! NOPARSE* which stops parsing of a rule file. |
32 |
+ The other keywords are *#! NOPARSE*, which stops parsing of a rule file |
33 |
+ (ignore remaining file content), and *#! ERROR*, which raises a python |
34 |
+ exception (program exits). |
35 |
|
36 |
Dependencies |
37 |
are strings that are recognized by portage as **Dynamic DEPENDs** |
38 |
@@ -3190,6 +3192,12 @@ DESCRIPTION_DIR |
39 |
LOG_FILE_UNRESOLVABLE |
40 |
A file where all unresolved dependency strings will be written into |
41 |
on *roverlay* exit. Primarily useful for creating new rules. |
42 |
+ The file's format is ``<dependency type mask in hex>, <dependency string>``, |
43 |
+ where the *dependency type mask* is usually |
44 |
+ ``0x7`` (mandatory system dependency), |
45 |
+ ``0x8`` (optional R package dependency) |
46 |
+ or ``0xb`` (mandatory R package dependency). |
47 |
+ |
48 |
|
49 |
Defaults to <not set>, which disables this feature. |