summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-12-30 19:58:14 -0800
committerZac Medico <zmedico@gentoo.org>2010-12-30 19:58:14 -0800
commit768a04bf1908bcff2cf128448bd0977c925749e3 (patch)
tree7d72fea72513cc3b6417f76deb9d286ecdb22ee2
parentc020b66c6e52c30789e5ff153479e57cfac8056d (diff)
downloadportage-768a04bf1908bcff2cf128448bd0977c925749e3.tar.gz
portage-768a04bf1908bcff2cf128448bd0977c925749e3.tar.bz2
portage-768a04bf1908bcff2cf128448bd0977c925749e3.zip
ebuild(5): pkg_pretend in EAPI 4
-rw-r--r--man/ebuild.59
1 files changed, 9 insertions, 0 deletions
diff --git a/man/ebuild.5 b/man/ebuild.5
index 9ceee590d..691adc055 100644
--- a/man/ebuild.5
+++ b/man/ebuild.5
@@ -596,6 +596,15 @@ before other variable declarations unless these variables are used in global
scope of eclasses.
.SH "PHASE FUNCTIONS"
.TP
+.B pkg_pretend
+Beginning with \fBEAPI 4\fR, this function can be defined in order to
+check that miscellaneous requirements are met. It is called as early
+as possible, before any attempt is made to satisfy dependencies. If the
+function detects a problem then it should call eerror and die. The
+environment (variables, functions, temporary directories, etc..) that
+is used to execute pkg_pretend is not saved and therefore is not
+available in phases that execute afterwards.
+.TP
.B pkg_nofetch
If you turn on \fIfetch\fR in \fBRESTRICT\fR, then this function will be
run when the files in \fBSRC_URI\fR cannot be found. Useful for