commit: 2c7b36df8e8f8909c05469c643c357cf2da2b41b Author: Brian Evans <grknight <AT> gentoo <DOT> org> AuthorDate: Mon Sep 17 15:01:50 2018 +0000 Commit: Brian Evans <grknight <AT> gentoo <DOT> org> CommitDate: Wed Oct 24 12:56:36 2018 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=2c7b36df
Update message-functions for EAPI=7 Drop mention of ebeep and epause Promote eqawarn leaving note about pre-EAPI=7 needing eutils Signed-off-by: Brian Evans <grknight <AT> gentoo.org> ebuild-writing/messages/text.xml | 2 +- function-reference/message-functions/text.xml | 35 +-------------------------- 2 files changed, 2 insertions(+), 35 deletions(-) diff --git a/ebuild-writing/messages/text.xml b/ebuild-writing/messages/text.xml index f8b81d6..85afa40 100644 --- a/ebuild-writing/messages/text.xml +++ b/ebuild-writing/messages/text.xml @@ -100,7 +100,7 @@ is mainly used for displaying additional error details before bailing out. <p> The <c>eqawarn</c> function can be used by eclass authors to notify ebuild writers about - deprecated functionality. eqawarn is defined in eutils. Portage doesn't log the qa message + deprecated functionality. eqawarn is defined in eutils prior to EAPI=7. Portage doesn't log the qa message class by default so users don't get annoyed by seeing messages they can't do much about. </p> diff --git a/function-reference/message-functions/text.xml b/function-reference/message-functions/text.xml index 24f4b82..af6771a 100644 --- a/function-reference/message-functions/text.xml +++ b/function-reference/message-functions/text.xml @@ -74,46 +74,13 @@ displaying informational messages. Display the end of an action block. </ti> </tr> -</table> - -<p> - The following are available from <c>eutils.eclass</c> . ebeep and epause - are deprecated in EAPIS 0, 1 and 2 in favor of GLEP 42 news items and - package manager message logging functionality. -</p> - -<table> - <tr> - <th> - Function - </th> - <th> - Details - </th> - </tr> - <tr> - <ti> - <c>epause</c> - </ti> - <ti> - Pause for the specified number (must be a positive integer) of seconds. - Defaults to a sane value. - </ti> - </tr> - <tr> - <ti> - <c>ebeep</c> - </ti> - <ti> - Beep the specified number (must be a positive integer) of times. Defaults to a sane value. - </ti> - </tr> <tr> <ti> <c>eqawarn</c> </ti> <ti> Used by eclass authors to notify ebuild writers that they are using deprecated functionality. + Before EAPI=7, the eutils eclass must be inherited. </ti> </tr> </table>