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

Bug 273641

Summary: pkg_info can run on non-installed packages (EAPI 4)
Product: Portage Development Reporter: Sebastian Luther (few) <SebastianLuther>
Component: CoreAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal CC: jcallen
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 273620    

Description Sebastian Luther (few) 2009-06-10 20:24: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:52:28 UTC
From PMS:

10.1.15  pkg_info

The pkg_info function may be called by the package manager when displaying information about an installed package. In EAPIs listed in table 10.7 as supporting pkg_info on non-installed packages, it may also be called by the package manager when displaying information about a non-installed package. In this case, ebuild authors should note that dependencies may not be installed.

pkg_info must not write to the filesystem.