commit:     48b054eb8da9f4689480249e6d65076953dc0ed5
Author:     Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 24 16:50:22 2018 +0000
Commit:     Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Wed Oct 24 16:50:22 2018 +0000
URL:        https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=48b054eb

Tidy up formatting, links and typo for BDEPEND

Signed-off-by: Brian Evans <grknight <AT> gentoo.org>

 ebuild-writing/eapi/text.xml                         | 4 ++--
 ebuild-writing/functions/src_prepare/epatch/text.xml | 6 +++---
 ebuild-writing/variables/text.xml                    | 2 +-
 function-reference/install-functions/text.xml        | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/ebuild-writing/eapi/text.xml b/ebuild-writing/eapi/text.xml
index 1eb82b9..fabbc93 100644
--- a/ebuild-writing/eapi/text.xml
+++ b/ebuild-writing/eapi/text.xml
@@ -1054,7 +1054,7 @@ src_install() {
                <p><b>Empty groupings are banned</b></p>
                <p>Groupings which are empty, such as <c>DEPEND="|| ( 
${empty_var} )"</c> will now generate an error.
                Furthermore, conditions within groupings are more strictly 
enforced.
-               Eg. <c>REQUIRED_USE="|| ( foo? ( bar ) baz? ( zoinks )"</c> 
would previously work with <c>USE="-a -b"</c> now requires
+               Eg. <c>REQUIRED_USE="|| ( foo? ( bar ) baz? ( zoinks )"</c> 
would previously work with <c>USE="-foo -baz"</c> now requires
                either <c>USE="foo bar"</c> or <c>USE="baz zoinks"</c>.
                </p>
        </li>
@@ -1110,7 +1110,7 @@ src_install() {
                        <li><p><c>ver_rs</c> replaces separators in a version 
string</p></li>
                        <li><p><c>ver_test</c> compares two versions</p></li>
                </ul>
-               <p>See <uri 
link="::ebuild-writing/variables#Version%20and%20Name%20Formatting%20Issues"/>
+               <p>See <uri 
link="::ebuild-writing/variables#version-and-name-formatting-issues">Version 
and Name Formatting Issues</uri>
                for examples of common uses or
                <uri 
link="https://dev.gentoo.org/~mgorny/articles/the-ultimate-guide-to-eapi-7.html#version-manipulation-and-comparison-commands";>
                an in-depth look</uri></p>

diff --git a/ebuild-writing/functions/src_prepare/epatch/text.xml 
b/ebuild-writing/functions/src_prepare/epatch/text.xml
index 720fd67..5a6939d 100644
--- a/ebuild-writing/functions/src_prepare/epatch/text.xml
+++ b/ebuild-writing/functions/src_prepare/epatch/text.xml
@@ -14,15 +14,15 @@ Also note that old ebuilds may still use src_unpack to 
apply patches.
 This is because those ebuilds are based in EAPI=1.
 You are advised to use the latest and apply your patches in src_prepare 
function instead.
 <br />
-Starting with EAPI=7, this function is banned and eapply must be used.
+Starting with EAPI=7, this function is banned and <c>eapply</c> must be used.
 </p>
 
 <p>
-Beginning with EAPI=6, a new function eapply was added to apply patches
+Beginning with EAPI=6, a new function <c>eapply</c> was added to apply patches
 without the need for an eclass.
 This function differs from epatch in several ways:
 <ul>
-<li>eapply will not unpack patches for you.</li>
+<li><c>eapply</c> will not unpack patches for you.</li>
 <li>
 The default patch level is -p1.
 Other patch levels must be specified manually or the command will fail.

diff --git a/ebuild-writing/variables/text.xml 
b/ebuild-writing/variables/text.xml
index fa960ee..f2575ad 100644
--- a/ebuild-writing/variables/text.xml
+++ b/ebuild-writing/variables/text.xml
@@ -257,7 +257,7 @@ The following variables may or must be defined by every 
ebuild.
     </ti>
   </tr>
   <tr>
-    <ti><c>DEPEND</c></ti>
+    <ti><c>BDEPEND</c></ti>
     <ti>
     (EAPI=7) A list of the package's CBUILD build dependencies.  See
     <uri link="::general-concepts/dependencies"/>.

diff --git a/function-reference/install-functions/text.xml 
b/function-reference/install-functions/text.xml
index d0c8833..2b0cbf2 100644
--- a/function-reference/install-functions/text.xml
+++ b/function-reference/install-functions/text.xml
@@ -88,10 +88,10 @@ the first is the source name, the second the name to use 
when installing.
   <tr>
     <ti>
       <c>libopts</c>
-      <b>Note:</b> Banned in EAPI=7
     </ti>
     <ti>
       Specify arguments passed to <c>install</c> for libraries
+      <b>Note:</b> Banned in EAPI=7
     </ti>
   </tr>
   <tr>
@@ -208,10 +208,10 @@ the first is the source name, the second the name to use 
when installing.
   <tr>
     <ti>
       <c>dolib</c>
-      <b>Note:</b> Banned in EAPI=7
     </ti>
     <ti>
       Install a library file
+      <b>Note:</b> Banned in EAPI=7
     </ti>
   </tr>
   <tr>

Reply via email to