Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 533510 - java-utils-2.eclass depends directly on portage
Summary: java-utils-2.eclass depends directly on portage
Status: RESOLVED DUPLICATE of bug 464608
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Low QA (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-25 14:58 UTC by Julian Ospald
Modified: 2015-05-24 21:58 UTC (History)
0 users

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 Julian Ospald 2014-12-25 14:58:39 UTC
from the eclass:
> has "${EAPI}" 0 1 && JAVA_PKG_PORTAGE_DEP=">=sys-apps/portage-2.1.2.7

This looks like a minor QA issue. Unless a package uses some sort of tools or API from portage, it should never depend directly on it.
If the eclass depends on portage specific behavior, then it doesn't adhere to PMS.

So in either case there should be a better way to handle this.
I see two possibilities:
* since this only affects EAPI 0 and 1 we can probably start deprecating these for the eclass
* enhance the virtual/package-manager package in some way and depend on that instead
Comment 1 James Le Cuirot gentoo-dev 2015-05-24 21:58:25 UTC

*** This bug has been marked as a duplicate of bug 464608 ***