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

Bug 718740

Summary: sys-apps/portage-2.3.99-r1: ebuild(5) is wrong about P and PN
Product: Portage Development Reporter: tastytea <gentoo>
Component: DocumentationAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal CC: fturco
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: man/ebuild.5: Fix examples for P and PN.

Description tastytea 2020-04-21 12:28:52 UTC
The manpage says that for the package x11-base/xorg-server-1.20.5-r2 P=x11-base/xorg-server-1.20.5 and PN=x11-base/xorg-server. In reality P=xorg-server-1.20.5 and PN=xorg-server.

Reproducible: Always

Steps to Reproduce:
1. Write ebuild with:
pkg_pretend () {
	echo ${P}
	echo ${PN}
}
2. ebuild … manifest pretend
Comment 1 tastytea 2020-04-29 00:03:35 UTC
Created attachment 635110 [details, diff]
man/ebuild.5: Fix examples for P and PN.