summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2017-11-05 12:26:44 +0100
committerUlrich Müller <ulm@gentoo.org>2018-03-30 18:35:43 +0200
commit7d6c155014d082cfc2b37f8a0ffee61feb275ea8 (patch)
tree5525ebe92e2ff80b995276a8e453e573b9d350cd /dependencies.tex
parentEAPI 7: package.provided is banned. (diff)
downloadpms-7d6c155014d082cfc2b37f8a0ffee61feb275ea8.tar.gz
pms-7d6c155014d082cfc2b37f8a0ffee61feb275ea8.tar.bz2
pms-7d6c155014d082cfc2b37f8a0ffee61feb275ea8.zip
EAPI 7: Empty || and ^^ groups no longer count as matched.
Bug: https://bugs.gentoo.org/636596
Diffstat (limited to 'dependencies.tex')
-rw-r--r--dependencies.tex21
1 files changed, 19 insertions, 2 deletions
diff --git a/dependencies.tex b/dependencies.tex
index 32482ae..475ad6b 100644
--- a/dependencies.tex
+++ b/dependencies.tex
@@ -135,7 +135,8 @@ for match purposes.
In an any-of group, at least one immediate child element must be matched. A blocker is
considered to be matched if its associated package dependency specification is not matched.
-An empty any-of group counts as being matched.
+\featurelabel{empty-dep-groups} In EAPIs specified in table~\ref{tab:empty-dep-groups}, an empty
+any-of group counts as being matched.
\subsection{Exactly-one-of dependency specifications}
@@ -145,7 +146,23 @@ exactly-one-of group for match purposes.
In an exactly-one-of group, exactly one immediate child element must be matched.
-An empty exactly-one-of group counts as being matched.
+In EAPIs specified in table~\ref{tab:empty-dep-groups}, an empty exactly-one-of group counts as
+being matched.
+
+\ChangeWhenAddingAnEAPI{7}
+\begin{centertable}{Matching of empty dependency groups in EAPIs}
+ \label{tab:empty-dep-groups}
+ \begin{tabular}{ll}
+ \toprule
+ \multicolumn{1}{c}{\textbf{EAPI}} &
+ \multicolumn{1}{c}{\textbf{Empty \t{||} and \t{\textasciicircum\textasciicircum} groups
+ are matched?}} \\
+ \midrule
+ 0, 1, 2, 3, 4, 5, 6 & Yes \\
+ 7 & No \\
+ \bottomrule
+ \end{tabular}
+\end{centertable}
\subsection{At-most-one-of dependency specifications}