Lines 43-52
be surrounded on both sides by whitespace, except at the start and end of the st
Link Here
|
43 |
of (a dependency item of any kind followed by whitespace), followed by a close parenthesis. |
43 |
of (a dependency item of any kind followed by whitespace), followed by a close parenthesis. |
44 |
More formally: \t{any-of ::= '||' whitespace '(' whitespace (item whitespace)* ')'}. |
44 |
More formally: \t{any-of ::= '||' whitespace '(' whitespace (item whitespace)* ')'}. |
45 |
Permitted in \t{DEPEND}, \t{RDEPEND}, \t{PDEPEND}, \t{LICENSE}, \t{REQUIRED\_USE}. |
45 |
Permitted in \t{DEPEND}, \t{RDEPEND}, \t{PDEPEND}, \t{LICENSE}, \t{REQUIRED\_USE}. |
46 |
\item An only-one-of group, which consists of the string \t{\textasciicircum\textasciicircum}, |
46 |
\item An exactly-one-of group, which consists of the string \t{\textasciicircum\textasciicircum}, |
47 |
followed by whitespace, followed by an open parenthesis, followed by whitespace, followed by |
47 |
followed by whitespace, followed by an open parenthesis, followed by whitespace, followed by |
48 |
zero or more of (a dependency item of any kind followed by whitespace), followed by a close |
48 |
zero or more of (a dependency item of any kind followed by whitespace), followed by a close |
49 |
parenthesis. More formally: \t{only-one-of ::= '\textasciicircum\textasciicircum' whitespace |
49 |
parenthesis. More formally: \t{exactly-one-of ::= '\textasciicircum\textasciicircum' whitespace |
50 |
'(' whitespace (item whitespace)* ')'}. |
50 |
'(' whitespace (item whitespace)* ')'}. |
51 |
Permitted in \t{REQUIRED\_USE}. |
51 |
Permitted in \t{REQUIRED\_USE}. |
52 |
\item A use-conditional group, which consists of an optional exclamation mark, followed by |
52 |
\item A use-conditional group, which consists of an optional exclamation mark, followed by |
Lines 97-111
considered to be matched if its associated package dependency specification is n
Link Here
|
97 |
|
97 |
|
98 |
An empty any-of group counts as being matched. |
98 |
An empty any-of group counts as being matched. |
99 |
|
99 |
|
100 |
\subsection{Only-one-of Dependency Specifications} |
100 |
\subsection{Exactly-one-of Dependency Specifications} |
101 |
|
101 |
|
102 |
Any use-conditional group that is an immediate child of an only-one-of group, if not enabled |
102 |
Any use-conditional group that is an immediate child of an exactly-one-of group, if not enabled |
103 |
(disabled for an exclamation mark prefixed use flag name), is not considered a member of the |
103 |
(disabled for an exclamation mark prefixed use flag name), is not considered a member of the |
104 |
only-one-of group for match purposes. |
104 |
exactly-one-of group for match purposes. |
105 |
|
105 |
|
106 |
In an only-one-of group, exactly one immediate child element must be matched. |
106 |
In an exactly-one-of group, exactly one immediate child element must be matched. |
107 |
|
107 |
|
108 |
An empty only-one-of group counts as being matched. |
108 |
An empty exactly-one-of group counts as being matched. |
109 |
|
109 |
|
110 |
\subsection{Package Dependency Specifications} |
110 |
\subsection{Package Dependency Specifications} |
111 |
|
111 |
|
112 |
- |
|
|