Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 273646 - REPLACING_VERSIONS and REPLACED_BY_VERSION (EAPI 4)
Summary: REPLACING_VERSIONS and REPLACED_BY_VERSION (EAPI 4)
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
: 48920 (view as bug list)
Depends on:
Blocks: 273620
  Show dependency tree
 
Reported: 2009-06-10 20:25 UTC by Sebastian Luther (few)
Modified: 2011-09-20 17:52 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Luther (few) 2009-06-10 20:25:19 UTC
This bug tracks the implementation of the EAPI 3 feature mentioned in the summary.
Comment 1 Jonathan Callen (RETIRED) gentoo-dev 2009-10-17 21:57:43 UTC
From PMS:

12.1.2  REPLACING_VERSIONS and REPLACED_BY_VERSION

In EAPIs listed in table 12.2 as supporting it, the REPLACING_VERSIONS variable shall be defined in pkg_preinst and pkg_postinst. In addition, it may be defined in pkg_pretend and pkg_setup, although ebuild authors should take care to handle binary package creation and installation correctly when using it in these phases.

REPLACING_VERSIONS is a list, not a single optional value, to handle pathological cases such as installing foo-2:2 to replace foo-2:1 and foo-3:2.

In EAPIs listed in table 12.2 as supporting it, the REPLACED_BY variable shall be defined in pkg_prerm and pkg_postrm. It shall contain at most one value. 
Comment 3 Zac Medico gentoo-dev 2011-09-20 17:52:44 UTC
*** Bug 48920 has been marked as a duplicate of this bug. ***