summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-08-08 12:02:51 +0000
committerZac Medico <zmedico@gentoo.org>2008-08-08 12:02:51 +0000
commit60d81bf66b9c4da25be357a32053c81d31d2f9a3 (patch)
tree675083a9e84dc81035939a32190d01be92863e8a /doc
parentImplement eapi$EAPI_* default phase functions that are equivalent to the (diff)
downloadportage-multirepo-60d81bf66b9c4da25be357a32053c81d31d2f9a3.tar.gz
portage-multirepo-60d81bf66b9c4da25be357a32053c81d31d2f9a3.tar.bz2
portage-multirepo-60d81bf66b9c4da25be357a32053c81d31d2f9a3.zip
Rename the eapi2_pre2_* functions to just eapi2_* and document all the
new eapi* functions. svn path=/main/trunk/; revision=11351
Diffstat (limited to 'doc')
-rw-r--r--doc/package/ebuild/eapi/2.docbook87
1 files changed, 85 insertions, 2 deletions
diff --git a/doc/package/ebuild/eapi/2.docbook b/doc/package/ebuild/eapi/2.docbook
index 275ab71e..cf511893 100644
--- a/doc/package/ebuild/eapi/2.docbook
+++ b/doc/package/ebuild/eapi/2.docbook
@@ -155,13 +155,96 @@
<sect3 id='package-ebuild-eapi-2-phases-default-functions'>
<title>Default Phase Functions</title>
<para>
- Each of the default src_* phase functions is now accessible
- via a function having a name that begins with default_ and
+ The default pkg_nofetch and src_* phase functions are now
+ accessible via a function having a name
+ that begins with default_ and
ends with the respective phase function name. For example,
a call to a function with the name default_src_compile is
equivalent to a call to the default src_compile
implementation.
</para>
+ <table><title>Default Phase Functions</title>
+ <tgroup cols='1' align='left' >
+ <colspec colname='name'/>
+ <thead>
+ <row>
+ <entry>Function Name</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>default_pkg_nofetch</entry>
+ </row>
+ <row>
+ <entry>default_src_unpack</entry>
+ </row>
+ <row>
+ <entry>default_src_compile</entry>
+ </row>
+ <row>
+ <entry>default_src_test</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <para>
+ The default phase functions for a particular EAPI are also
+ accessible as functions having names that start with 'eapi'
+ followed by the EAPI value. For example, a call to a function
+ named eapi0_src_compile is equivalent to a call to the
+ default src_compile implementation that is provided with EAPI 0.
+ </para>
+ <table><title>Default EAPI Phase Functions</title>
+ <tgroup cols='1' align='left' >
+ <colspec colname='name'/>
+ <thead>
+ <row>
+ <entry>Function Name</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>eapi0_pkg_nofetch</entry>
+ </row>
+ <row>
+ <entry>eapi0_src_unpack</entry>
+ </row>
+ <row>
+ <entry>eapi0_src_compile</entry>
+ </row>
+ <row>
+ <entry>eapi0_src_test</entry>
+ </row>
+ <row>
+ <entry>eapi1_pkg_nofetch</entry>
+ </row>
+ <row>
+ <entry>eapi1_src_unpack</entry>
+ </row>
+ <row>
+ <entry>eapi1_src_compile</entry>
+ </row>
+ <row>
+ <entry>eapi1_src_test</entry>
+ </row>
+ <row>
+ <entry>eapi2_pkg_nofetch</entry>
+ </row>
+ <row>
+ <entry>eapi2_src_unpack</entry>
+ </row>
+ <row>
+ <entry>eapi2_src_configure</entry>
+ </row>
+ <row>
+ <entry>eapi2_src_compile</entry>
+ </row>
+ <row>
+ <entry>eapi2_src_test</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
</sect3>
<sect3 id='package-ebuild-eapi-2-phases-default-function-alias'>
<title>Default Phase Function Alias</title>