summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-12-30 20:57:26 -0800
committerZac Medico <zmedico@gentoo.org>2010-12-30 20:57:26 -0800
commitd007233b8b3233c4f85cfe458a852e19e84de034 (patch)
treeb0475d590182893ae70149e0c95a5e289f0fb4cf
parent5201c3d0b9802ec3672ac4b322eb145a26c244c3 (diff)
downloadportage-d007233b8b3233c4f85cfe458a852e19e84de034.tar.gz
portage-d007233b8b3233c4f85cfe458a852e19e84de034.tar.bz2
portage-d007233b8b3233c4f85cfe458a852e19e84de034.zip
ebuild(5): REPLAC* variables in EAPI 4
-rw-r--r--man/ebuild.517
1 files changed, 17 insertions, 0 deletions
diff --git a/man/ebuild.5 b/man/ebuild.5
index cdfaaa6ac..7dd3a7ed1 100644
--- a/man/ebuild.5
+++ b/man/ebuild.5
@@ -159,6 +159,23 @@ source source\-build which is scheduled for merge
Contains the path of the build log. If \fBPORT_LOGDIR\fR variable is unset then
\fBPORTAGE_LOG_FILE\fR=\fB"${T}/build.log"\fR.
.TP
+.B REPLACED_BY_VERSION
+Beginning with \fBEAPI 4\fR, the REPLACED_BY_VERSION variable can be
+used in pkg_prerm and pkg_postrm to query the package version that
+is replacing the current package. If there is no replacement package,
+the variable will be empty, otherwise it will contain a single version
+number.
+.TP
+.B REPLACING_VERSIONS
+Beginning with \fBEAPI 4\fR, the REPLACING_VERSIONS variable can be
+used in pkg_pretend, pkg_setup, pkg_preinst and pkg_postinst to query
+the package version(s) that the current package is replacing. If there
+are no packages to replace, the variable will be empty, otherwise it
+will contain a space\-separated list of version numbers corresponding
+to the package version(s) being replaced. Typically, this variable will
+not contain more than one version, but according to PMS it can contain
+more.
+.TP
\fBROOT\fR = \fI"/"\fR
Contains the path that portage should use as the root of the live filesystem.
When packages wish to make changes to the live filesystem, they should do so in