public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/devmanual:master commit in: function-reference/message-functions/, ebuild-writing/messages/
@ 2018-10-24 13:01 Brian Evans
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Evans @ 2018-10-24 13:01 UTC (permalink / raw
  To: gentoo-commits

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>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] proj/devmanual:master commit in: function-reference/message-functions/, ebuild-writing/messages/
@ 2024-07-05 20:03 Ulrich Müller
  0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Müller @ 2024-07-05 20:03 UTC (permalink / raw
  To: gentoo-commits

commit:     63daacc6d9af98707c0d5369c6b586fd75f0c87a
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  5 18:25:17 2024 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri Jul  5 19:59:19 2024 +0000
URL:        https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=63daacc6

ebuild-writing, function-reference: Update eqawarn documentation

No longer mention eutils.eclass for eqawarn.

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 ebuild-writing/messages/text.xml              | 7 ++++---
 function-reference/message-functions/text.xml | 4 ++--
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/ebuild-writing/messages/text.xml b/ebuild-writing/messages/text.xml
index fe05e6b..36daa14 100644
--- a/ebuild-writing/messages/text.xml
+++ b/ebuild-writing/messages/text.xml
@@ -99,9 +99,10 @@ is mainly used for displaying additional error details before bailing out.
 <body>
 
 <p>
-	The <c>eqawarn</c> function can be used by eclass authors to notify ebuild writers about
-	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.
+The <c>eqawarn</c> function can be used by eclass authors to notify ebuild
+writers about deprecated functionality. 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>
 
 </body>

diff --git a/function-reference/message-functions/text.xml b/function-reference/message-functions/text.xml
index cde7eb6..2657dfb 100644
--- a/function-reference/message-functions/text.xml
+++ b/function-reference/message-functions/text.xml
@@ -79,8 +79,8 @@ displaying informational messages.
       <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.
+      Used by eclass authors to notify ebuild writers that they are using
+      deprecated functionality.
     </ti>
   </tr>
 </table>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-05 20:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-05 20:03 [gentoo-commits] proj/devmanual:master commit in: function-reference/message-functions/, ebuild-writing/messages/ Ulrich Müller
  -- strict thread matches above, loose matches on Subject: below --
2018-10-24 13:01 Brian Evans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox