Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 353624 | Differences between
and this patch

Collapse All | Expand All

(-)a/ebuild-writing/eapi/text.xml (-1 / +24 lines)
Lines 580-585 src_install() { Link Here
580
<body>
580
<body>
581
<ul>
581
<ul>
582
	<li>
582
	<li>
583
		<p><b>REPLACING_VERSIONS and REPLACED_BY_VERSION</b></p>
584
		<p>
585
			The <c>REPLACING_VERSIONS</c> variable contains a
586
			whitespace-separated list of all versions (<c>PVR</c>) of this
587
			package that are being replaced (uninstalled or overwritten) as a
588
			result of this install. It is a list, not a single optional value,
589
			to handle pathological cases such as installing <c>foo-2:2</c> to
590
			replace <c>foo-2:1</c> and <c>foo-3:2</c>.
591
		</p>
592
		<p>
593
			<c>REPLACING_VERSIONS</c> is valid in <c>pkg_preinst</c> and
594
			<c>pkg_postinst</c>. In addition, it may be available in
595
			<c>pkg_pretend</c> and <c>pkg_setup</c>, although you should take
596
			care to handle binary package creation and installation correctly
597
			when using it in these phases.
598
		</p>
599
		<p>
600
			The <c>REPLACED_BY</c> variable contains the single version
601
			(<c>PVR</c>) of this package that is replacing us, if we are being
602
			uninstalled as part of an install, or an empty string otherwise.
603
			It is valid in <c>pkg_prerm</c> and <c>pkg_postrm</c>.
604
		</p>
605
	</li>
606
	<li>
583
		<p><b>AA and KV variables are gone</b></p>
607
		<p><b>AA and KV variables are gone</b></p>
584
		<p>
608
		<p>
585
			The <c>AA</c> and <c>KV</c> variables are no longer set in EAPI=4.
609
			The <c>AA</c> and <c>KV</c> variables are no longer set in EAPI=4.
586
- 

Return to bug 353624