public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [gentoo-commits] proj/pms:master commit in: /
@ 2018-04-02  7:39 99% Ulrich Müller
  0 siblings, 0 replies; 1+ results
From: Ulrich Müller @ 2018-04-02  7:39 UTC (permalink / raw
  To: gentoo-commits

commit:     02a0c1ab2cd8fde0313adc17a73831912dde6d8b
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Nov  1 16:37:29 2017 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu Mar 29 17:35:20 2018 +0000
URL:        https://gitweb.gentoo.org/proj/pms.git/commit/?id=02a0c1ab

dependencies.tex: Describe similar dep groups only once.

Any-of, exactly-one-of, and at-most-one-of groups have similar format,
so there is no need to repeat the same description three times.

 dependencies.tex | 17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)

diff --git a/dependencies.tex b/dependencies.tex
index 093a30b..f019348 100644
--- a/dependencies.tex
+++ b/dependencies.tex
@@ -70,18 +70,11 @@ be surrounded on both sides by whitespace, except at the start and end of the st
     of (a dependency item of any kind followed by whitespace), followed by a close parenthesis.
     More formally: \t{any-of} \t{::=} \t{'||' whitespace '(' whitespace (item whitespace)+ ')'}.
     Permitted in \t{DEPEND}, \t{RDEPEND}, \t{PDEPEND}, \t{LICENSE}, \t{REQUIRED_USE}.
-\item An exactly-one-of group, which consists of the string \t{\textasciicircum\textasciicircum},
-    followed by whitespace, followed by an open parenthesis, followed by whitespace, followed by
-    one or more of (a dependency item of any kind followed by whitespace), followed by a close
-    parenthesis. More formally: \t{exactly-one-of} \t{::=} \t{'\textasciicircum\textasciicircum'
-    whitespace '(' whitespace (item whitespace)+ ')'}.
-    Permitted in \t{REQUIRED_USE}.
-\item \featurelabel{at-most-one-of} An at-most-one-of group, which consists of the string \t{??},
-    followed by whitespace, followed by an open parenthesis, followed by whitespace, followed by
-    one or more of (a dependency item of any kind followed by whitespace), followed by a close
-    parenthesis. More formally: \t{at-most-one-of} \t{::=} \t{'??'\ whitespace '(' whitespace
-    (item whitespace)+ ')'}. Permitted in \t{REQUIRED_USE} in EAPIs listed in
-    table~\ref{tab:at-most-one-of-table} as supporting \t{REQUIRED_USE ??}\ groups.
+\item An exactly-one-of group, which has the same format as the any-of group, but begins with the
+    string \t{\textasciicircum\textasciicircum} instead. Permitted in \t{REQUIRED_USE}.
+\item \featurelabel{at-most-one-of} An at-most-one-of group, which has the same format as the
+    any-of group, but begins with the string \t{??}\ instead. Permitted in \t{REQUIRED_USE} in
+    EAPIs listed in table~\ref{tab:at-most-one-of-table} as supporting \t{REQUIRED_USE ??}\ groups.
 \item A use-conditional group, which consists of an optional exclamation mark, followed by
     a use flag name, followed by a question mark, followed by whitespace, followed by
     an open parenthesis, followed by whitespace, followed by one or more of (a dependency item


^ permalink raw reply related	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2018-04-02  7:39 99% [gentoo-commits] proj/pms:master commit in: / Ulrich Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox