Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 533510

Summary: java-utils-2.eclass depends directly on portage
Product: Gentoo Linux Reporter: Julian Ospald <hasufell>
Component: EclassesAssignee: Java team <java>
Status: RESOLVED DUPLICATE    
Severity: QA    
Priority: Low    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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 ***