Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 718740 - sys-apps/portage-2.3.99-r1: ebuild(5) is wrong about P and PN
Summary: sys-apps/portage-2.3.99-r1: ebuild(5) is wrong about P and PN
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Documentation (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-21 12:28 UTC by tastytea
Modified: 2022-02-27 16:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
man/ebuild.5: Fix examples for P and PN. (Fix-examples-for-P-and-PN.patch,1.01 KB, patch)
2020-04-29 00:03 UTC, tastytea
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.