Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/pms:eapi-7 commit in: /
Date: Mon, 10 Apr 2017 18:13:22
Message-Id: 1491840048.251bdc7a835b9a584e19d757191c24aa9bec9710.ulm@gentoo
1 commit: 251bdc7a835b9a584e19d757191c24aa9bec9710
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 10 16:00:48 2017 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 10 16:00:48 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=251bdc7a
7
8 In captions, use teletype font where appropriate.
9
10 ebuild-functions.tex | 16 ++++++++--------
11 ebuild-vars.tex | 2 +-
12 eclasses.tex | 2 +-
13 pkg-mgr-commands.tex | 14 +++++++-------
14 profiles.tex | 2 +-
15 5 files changed, 18 insertions(+), 18 deletions(-)
16
17 diff --git a/ebuild-functions.tex b/ebuild-functions.tex
18 index e808a6a..a744ae1 100644
19 --- a/ebuild-functions.tex
20 +++ b/ebuild-functions.tex
21 @@ -106,7 +106,7 @@ The initial working directory must be \t{WORKDIR}, and the default implementatio
22 the ebuild lacks the \t{src\_unpack} function shall behave as:
23
24 \begin{listing}[H]
25 -\caption{src\_unpack}
26 +\caption{\t{src\_unpack}}
27 \begin{verbatim}
28 src_unpack() {
29 if [[ -n ${A} ]]; then
30 @@ -130,7 +130,7 @@ section~\ref{sec:s-to-workdir-fallback}.
31 as:
32
33 \begin{listing}[H]
34 -\caption{src\_prepare, format~6}
35 +\caption{\t{src\_prepare}, format~6}
36 \begin{verbatim}
37 src_prepare() {
38 if declare -p PATCHES | grep -q "^declare -a "; then
39 @@ -174,7 +174,7 @@ The \t{src\_configure} function configures the package's build environment. The
40 implementation used when the ebuild lacks the \t{src\_configure} function shall behave as:
41
42 \begin{listing}[H]
43 -\caption{src\_configure}
44 +\caption{\t{src\_configure}}
45 \begin{verbatim}
46 src_configure() {
47 if [[ -x ${ECONF_SOURCE:-.}/configure ]]; then
48 @@ -211,7 +211,7 @@ section~\ref{sec:s-to-workdir-fallback}.
49 as:
50
51 \begin{listing}[H]
52 -\caption{src\_compile, format~0}
53 +\caption{\t{src\_compile}, format~0}
54 \begin{verbatim}
55 src_compile() {
56 if [[ -x ./configure ]]; then
57 @@ -229,7 +229,7 @@ src_compile() {
58 as:
59
60 \begin{listing}[H]
61 -\caption{src\_compile, format~1}
62 +\caption{\t{src\_compile}, format~1}
63 \begin{verbatim}
64 src_compile() {
65 if [[ -x ${ECONF_SOURCE:-.}/configure ]]; then
66 @@ -247,7 +247,7 @@ src_compile() {
67 as:
68
69 \begin{listing}[H]
70 -\caption{src\_compile, format~2}
71 +\caption{\t{src\_compile}, format~2}
72 \begin{verbatim}
73 src_compile() {
74 if [[ -f Makefile ]] || [[ -f GNUmakefile ]] || [[ -f makefile ]]; then
75 @@ -316,7 +316,7 @@ section~\ref{sec:s-to-workdir-fallback}.
76 as:
77
78 \begin{listing}[H]
79 -\caption{src\_install, format~4}
80 +\caption{\t{src\_install}, format~4}
81 \begin{verbatim}
82 src_install() {
83 if [[ -f Makefile ]] || [[ -f GNUmakefile ]] || [[ -f makefile ]]; then
84 @@ -343,7 +343,7 @@ src_install() {
85 as:
86
87 \begin{listing}[H]
88 -\caption{src\_install, format~6}
89 +\caption{\t{src\_install}, format~6}
90 \begin{verbatim}
91 src_install() {
92 if [[ -f Makefile ]] || [[ -f GNUmakefile ]] || [[ -f makefile ]]; then
93
94 diff --git a/ebuild-vars.tex b/ebuild-vars.tex
95 index 6c5a396..ecb50df 100644
96 --- a/ebuild-vars.tex
97 +++ b/ebuild-vars.tex
98 @@ -177,7 +177,7 @@ the ebuild portion, and any \t{DEPEND} value set in an eclass does not get treat
99 \t{RDEPEND}.
100
101 \ChangeWhenAddingAnEAPI{6}
102 -\begin{centertable}{EAPIs with \t{RDEPEND=DEPEND} Default}
103 +\begin{centertable}{EAPIs with \t{RDEPEND=DEPEND} default}
104 \label{tab:rdepend-depend-table}
105 \begin{tabular}{ll}
106 \toprule
107
108 diff --git a/eclasses.tex b/eclasses.tex
109 index 0f172f7..51c9a83 100644
110 --- a/eclasses.tex
111 +++ b/eclasses.tex
112 @@ -49,7 +49,7 @@ call the eclass-defined version from it. The use of it is best illustrated by an
113 given in listing~\ref{lst:export-functions} and is a snippet from a hypothetical \t{foo.eclass}.
114
115 \begin{listing}
116 -\caption{EXPORT\_FUNCTIONS example: foo.eclass} \label{lst:export-functions}
117 +\caption{\t{EXPORT\_FUNCTIONS} example: \t{foo.eclass}} \label{lst:export-functions}
118 \begin{verbatim}
119 foo_src_compile()
120 {
121
122 diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
123 index 0847e4c..929cb43 100644
124 --- a/pkg-mgr-commands.tex
125 +++ b/pkg-mgr-commands.tex
126 @@ -26,7 +26,7 @@ The following commands affect this behaviour:
127 \end{description}
128
129 \ChangeWhenAddingAnEAPI{6}
130 -\begin{centertable}{EAPI Command Failure Behaviour}
131 +\begin{centertable}{EAPI command failure behaviour}
132 \label{tab:commands-die-table}
133 \begin{tabular}{lll}
134 \toprule
135 @@ -166,7 +166,7 @@ Ebuilds must not run any of these commands once the current phase function has r
136 \end{description}
137
138 \begin{algorithm}
139 -\caption{eapply logic} \label{alg:eapply}
140 +\caption{\t{eapply} logic} \label{alg:eapply}
141 \begin{algorithmic}[1]
142 \IF{any parameter is equal to \t{"-{}-"}}
143 \STATE collect all parameters before the first \t{"-{}-"} in the \t{options} array
144 @@ -283,7 +283,7 @@ current phase function has returned.
145 \t{nonfatal}, in which case it must return non-zero exit status.
146
147 \begin{algorithm}
148 -\caption{econf -{}-libdir logic} \label{alg:econf-libdir}
149 +\caption{\t{econf -{}-libdir} logic} \label{alg:econf-libdir}
150 \begin{algorithmic}[1]
151 \STATE let prefix=\$\{EPREFIX\}/usr
152 \IF{the caller specified -{}-prefix=\$p}
153 @@ -323,7 +323,7 @@ current phase function has returned.
154 Algorithm~\ref{alg:ebuild-libdir}.
155
156 \begin{listing}[H]
157 -\caption{einstall command} \label{lst:einstall}
158 +\caption{\t{einstall} command} \label{lst:einstall}
159 \begin{verbatim}
160 emake \
161 prefix="${ED}"/usr \
162 @@ -757,7 +757,7 @@ table~\ref{tab:use-list-strictness}.
163 \end{description}
164
165 \ChangeWhenAddingAnEAPI{6}
166 -\begin{centertable}{EAPI Behaviour for Use Queries not in IUSE\_EFFECTIVE}
167 +\begin{centertable}{EAPI behaviour for use queries not in \t{IUSE\_EFFECTIVE}}
168 \label{tab:use-list-strictness}
169 \begin{tabular}{ll}
170 \toprule
171 @@ -928,7 +928,7 @@ has returned.
172 \end{description}
173
174 \begin{algorithm}
175 -\caption{einstalldocs logic} \label{alg:einstalldocs}
176 +\caption{\t{einstalldocs} logic} \label{alg:einstalldocs}
177 \begin{algorithmic}[1]
178 \STATE save the value of the install directory for \t{dodoc}
179 \STATE set the install directory for \t{dodoc} to \t{/usr/share/doc/\$\{PF\}}
180 @@ -956,7 +956,7 @@ has returned.
181 \end{algorithm}
182
183 \begin{algorithm}
184 -\caption{get\_libdir logic} \label{alg:get-libdir}
185 +\caption{\t{get\_libdir} logic} \label{alg:get-libdir}
186 \begin{algorithmic}[1]
187 \STATE let libdir=lib
188 \IF{the ABI environment variable is set}
189
190 diff --git a/profiles.tex b/profiles.tex
191 index 35f85b3..ff791ac 100644
192 --- a/profiles.tex
193 +++ b/profiles.tex
194 @@ -141,7 +141,7 @@ The precise manner in which the eight files interact is less simple, and is best
195 of the algorithm used to determine whether a flag is masked for a given package version. This is
196 described in Algorithm~\ref{alg:use-masking}.
197 \begin{algorithm}
198 -\caption{USE masking logic} \label{alg:use-masking}
199 +\caption{\t{USE} masking logic} \label{alg:use-masking}
200 \begin{algorithmic}[1]
201 \STATE let masked = false
202 \FOR{each profile in the inheritance tree, depth first}