Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 326459 - Record PM versions to first introduce support in PMS
Summary: Record PM versions to first introduce support in PMS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: PMS/EAPI (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PMS/EAPI
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-01 13:54 UTC by Petteri Räty (RETIRED)
Modified: 2017-06-13 09:58 UTC (History)
2 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 Petteri Räty (RETIRED) gentoo-dev 2010-07-01 13:54:13 UTC
I think it's useful information to see what version of different Package Managers is required when you use certain EAPIs. For example it can be used to work around >= atoms on Package managers when you want to make sure certain bugs don't exist for example in Portage.
Comment 1 Ulrich Müller gentoo-dev 2015-10-23 20:47:32 UTC
I believe that the PMS document itself is not the right place for such tracking of package manager versions.

However, there is an EAPI table on the PMS project page which includes Portage versions:
https://wiki.gentoo.org/wiki/Project:Package_Manager_Specification#EAPI_life_cycle

  EAPI   Portage version
  0      2.0.53
  1      2.1.3.19
  2      2.1.6.4
  3      2.1.7.17
  4      2.1.9.42
  5      2.1.11.31

The corresponding versions for Paludis and Pkgcore appear to be (from the respective NEWS files):

  EAPI   Paludis version   Pkgcore version
  0      
  1      0.26.0            0.3.3
  2      0.30.1            0.4.7.9
  3      0.44.1            0.5.10
  4      0.56.2            0.6?
  5      0.80.0            ?

If someone could confirm/amend above numbers then I'd add them to the project page.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-06-07 12:24:48 UTC
For Paludis, EAPI 6 was added in 2.6.0. The rest looks good, presuming we want to have the first version that officially supported EAPI n, and don't care about fixes to EAPI n handling afterwards.
Comment 3 Ulrich Müller gentoo-dev 2017-06-07 12:36:12 UTC
For pkgcore, the NEWS file says that version 0.9.3 supports EAPI 6. Still not clear when support for EAPIs 4 and 5 was added, though. CCing maintainer.
Comment 4 Ulrich Müller gentoo-dev 2017-06-13 09:10:29 UTC
(In reply to Ulrich Müller from comment #3)
> For pkgcore, the NEWS file says that version 0.9.3 supports EAPI 6. Still
> not clear when support for EAPIs 4 and 5 was added, though. CCing maintainer.

OK, my best guesses from the git log are:

EAPI 4: pkgcore-0.6.5 (2011-06-22), which is the first version (correctly) supporting default src_install. There's another change for EAPI 4 in 0.7, namely removal of the AA and KV variables, but I think this can be ignored here (also it's not in the NEWS file).

EAPI 5: pkgcore-0.9.3 (2016-05-28). NEWS says for 0.9 that it has "Nearly complete EAPI=5 support just missing subslot rebuilds." This was finally added in 0.9.3, "Add support for PN:slot/subslot and slotted glob targets."

I have added these two version to the wiki page. Closing.
Comment 5 Ulrich Müller gentoo-dev 2017-06-13 09:58:41 UTC
(In reply to Ulrich Müller from comment #1)
> The corresponding versions for Paludis and Pkgcore appear to be (from the
> respective NEWS files):
> 
>   EAPI   Paludis version
> [...]
>   4      0.56.2

Actually, this was incorrect. EAPI 4 was updated and reapproved by the Council, see https://projects.gentoo.org/council/meeting-logs/20110111-summary.txt. The first Paludis version supporting the updated spec was 0.62.0.