1 |
commit: 04e3e077a99e337cb9b9f0d6e710037ba488b6bb |
2 |
Author: Ulrich Müller <ulm <AT> kph <DOT> uni-mainz <DOT> de> |
3 |
AuthorDate: Tue Oct 10 10:19:31 2017 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 10 10:28:30 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=04e3e077 |
7 |
|
8 |
Appendix: Document retroactive ban of empty dependency groups. |
9 |
|
10 |
Bug: https://bugs.gentoo.org/370565 |
11 |
|
12 |
appendices.tex | 6 ++++++ |
13 |
dependencies.tex | 1 + |
14 |
2 files changed, 7 insertions(+) |
15 |
|
16 |
diff --git a/appendices.tex b/appendices.tex |
17 |
index 7227fc8..60e3512 100644 |
18 |
--- a/appendices.tex |
19 |
+++ b/appendices.tex |
20 |
@@ -104,6 +104,12 @@ implementation in package managers deviated from what was specified. |
21 |
String prefix matching was effective in EAPIs \t{0}, \t{1}, \t{2}, \t{3}, \t{4} and \t{5}. It was |
22 |
retroactively dropped in favour of the current behaviour in October 2015. |
23 |
|
24 |
+\subsection{Empty dependency groups} |
25 |
+The dependency specification format (see section~\ref{sec:dependency-spec}) originally permitted |
26 |
+all-of, any-of, exactly-one-of, at-most-one-of and use-conditional groups with zero sub-elements. |
27 |
+However, such empty groups were neither supported by all package managers nor used in ebuilds. |
28 |
+They were dropped from the specification in October 2017. |
29 |
+ |
30 |
% vim: set filetype=tex fileencoding=utf8 et tw=100 spell spelllang=en : |
31 |
|
32 |
%%% Local Variables: |
33 |
|
34 |
diff --git a/dependencies.tex b/dependencies.tex |
35 |
index ed3ea01..093a30b 100644 |
36 |
--- a/dependencies.tex |
37 |
+++ b/dependencies.tex |
38 |
@@ -45,6 +45,7 @@ In addition, \t{SRC_URI}, \t{HOMEPAGE}, \t{RESTRICT}, \t{PROPERTIES}, \t{LICENSE |
39 |
\t{REQUIRED_USE} use dependency-style specifications to specify their values. |
40 |
|
41 |
\section{Dependency Specification Format} |
42 |
+\label{sec:dependency-spec} |
43 |
|
44 |
The following elements are recognised in at least one class of specification. All elements must |
45 |
be surrounded on both sides by whitespace, except at the start and end of the string. |