Gentoo Archives: gentoo-commits

From: Brian Evans <grknight@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/devmanual:master commit in: function-reference/message-functions/, ebuild-writing/messages/
Date: Wed, 24 Oct 2018 13:01:18
Message-Id: 1540385796.2c7b36df8e8f8909c05469c643c357cf2da2b41b.grknight@gentoo
1 commit: 2c7b36df8e8f8909c05469c643c357cf2da2b41b
2 Author: Brian Evans <grknight <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 17 15:01:50 2018 +0000
4 Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 24 12:56:36 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=2c7b36df
7
8 Update message-functions for EAPI=7
9
10 Drop mention of ebeep and epause
11 Promote eqawarn leaving note about pre-EAPI=7 needing eutils
12
13 Signed-off-by: Brian Evans <grknight <AT> gentoo.org>
14
15 ebuild-writing/messages/text.xml | 2 +-
16 function-reference/message-functions/text.xml | 35 +--------------------------
17 2 files changed, 2 insertions(+), 35 deletions(-)
18
19 diff --git a/ebuild-writing/messages/text.xml b/ebuild-writing/messages/text.xml
20 index f8b81d6..85afa40 100644
21 --- a/ebuild-writing/messages/text.xml
22 +++ b/ebuild-writing/messages/text.xml
23 @@ -100,7 +100,7 @@ is mainly used for displaying additional error details before bailing out.
24
25 <p>
26 The <c>eqawarn</c> function can be used by eclass authors to notify ebuild writers about
27 - deprecated functionality. eqawarn is defined in eutils. Portage doesn't log the qa message
28 + deprecated functionality. eqawarn is defined in eutils prior to EAPI=7. Portage doesn't log the qa message
29 class by default so users don't get annoyed by seeing messages they can't do much about.
30 </p>
31
32
33 diff --git a/function-reference/message-functions/text.xml b/function-reference/message-functions/text.xml
34 index 24f4b82..af6771a 100644
35 --- a/function-reference/message-functions/text.xml
36 +++ b/function-reference/message-functions/text.xml
37 @@ -74,46 +74,13 @@ displaying informational messages.
38 Display the end of an action block.
39 </ti>
40 </tr>
41 -</table>
42 -
43 -<p>
44 - The following are available from <c>eutils.eclass</c> . ebeep and epause
45 - are deprecated in EAPIS 0, 1 and 2 in favor of GLEP 42 news items and
46 - package manager message logging functionality.
47 -</p>
48 -
49 -<table>
50 - <tr>
51 - <th>
52 - Function
53 - </th>
54 - <th>
55 - Details
56 - </th>
57 - </tr>
58 - <tr>
59 - <ti>
60 - <c>epause</c>
61 - </ti>
62 - <ti>
63 - Pause for the specified number (must be a positive integer) of seconds.
64 - Defaults to a sane value.
65 - </ti>
66 - </tr>
67 - <tr>
68 - <ti>
69 - <c>ebeep</c>
70 - </ti>
71 - <ti>
72 - Beep the specified number (must be a positive integer) of times. Defaults to a sane value.
73 - </ti>
74 - </tr>
75 <tr>
76 <ti>
77 <c>eqawarn</c>
78 </ti>
79 <ti>
80 Used by eclass authors to notify ebuild writers that they are using deprecated functionality.
81 + Before EAPI=7, the eutils eclass must be inherited.
82 </ti>
83 </tr>
84 </table>