Gentoo Development Guide
pkg_info
| Function | pkg_info |
| Purpose | display information about a package |
| Sandbox | ? |
| Privilege | root |
| Called for | ebuild |
Default pkg_info
pkg_info()
{
return
}
Sample pkg_info
pkg_info() {
"${ROOT}"/usr/bin/mythfrontend --version
}
Notes on pkg_info
this phase will be called when a package manager displays information about a package. within EAPI=4, this phase can also be called for non-installed packages.