aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ebuild-writing/functions/pkg_pretend/text.xml')
-rw-r--r--ebuild-writing/functions/pkg_pretend/text.xml15
1 files changed, 7 insertions, 8 deletions
diff --git a/ebuild-writing/functions/pkg_pretend/text.xml b/ebuild-writing/functions/pkg_pretend/text.xml
index 0279145..a838757 100644
--- a/ebuild-writing/functions/pkg_pretend/text.xml
+++ b/ebuild-writing/functions/pkg_pretend/text.xml
@@ -1,4 +1,4 @@
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="UTF-8"?>
<guide self="ebuild-writing/functions/pkg_pretend/">
<chapter>
<title>pkg_pretend</title>
@@ -23,11 +23,11 @@
</tr>
<tr>
<th>Called for</th>
- <ti>ebuild</ti>
+ <ti>ebuild, binary</ti>
</tr>
<tr>
<th>EAPI</th>
- <ti>3</ti>
+ <ti>4</ti>
</tr>
</table>
</body>
@@ -36,9 +36,8 @@
<title>Default <c>pkg_pretend</c></title>
<body>
<codesample lang="ebuild">
-pkg_pretend()
-{
- return
+pkg_pretend() {
+ return
}
</codesample>
</body>
@@ -67,12 +66,13 @@ pkg_pretend() {
<title>Notes on <c>pkg_pretend</c></title>
<body>
<p>
-the <c>pkg_pretend</c> phase can be used to do sanity checks
+The <c>pkg_pretend</c> phase can be used to do sanity checks
before the main phase function sequence is run (meaning this phase is
executed after the package manager has calculated the dependencies
and before installing them).
This phase typically checks for a kernel configuration and may
<c>eerror</c> and <c>die</c> when needed.
+</p>
<important>
There is no guarantee that the ebuild's dependencies are installed
when this phase is called.
@@ -81,7 +81,6 @@ This phase typically checks for a kernel configuration and may
As <c>pkg_pretend</c> is not called in the main phase function
sequence, environment saving is not guaranteed.
</important>
-</p>
</body>
</section>