diff options
author | Ulrich Müller <ulm@gentoo.org> | 2023-04-28 17:04:30 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-04-29 05:41:37 +0100 |
commit | e788ace298fbbe5d656b64ce75b9376b0ecb407a (patch) | |
tree | 28f93390ce09a2ea41be81699c79b790055e66f4 /man | |
parent | dispatch-conf: Avoid race when accessing log file (diff) | |
download | portage-e788ace298fbbe5d656b64ce75b9376b0ecb407a.tar.gz portage-e788ace298fbbe5d656b64ce75b9376b0ecb407a.tar.bz2 portage-e788ace298fbbe5d656b64ce75b9376b0ecb407a.zip |
doebuild.py: PVR includes -r0 if explicitly specified
PMS says that PVR is "Package version and revision (if any)".
https://projects.gentoo.org/pms/8/pms.html#x1-109001r1
Pkgcore and Paludis follow PMS, i.e. PVR includes an explicit -r0
(in other words, ${PF} is always equal to ${PN}-${PVR} for them).
The previous logic for PVR had been added in 2001:
https://gitweb.gentoo.org/archive/repo/gentoo-2.git/commit/?id=9aa2cf18b4de3c81fd5bc98718b2614bd2e73d23
Bug: https://bugs.gentoo.org/875362
Closes: https://github.com/gentoo/portage/pull/1028
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'man')
-rw-r--r-- | man/ebuild.5 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man/ebuild.5 b/man/ebuild.5 index 66c8518b3..fe70e40f5 100644 --- a/man/ebuild.5 +++ b/man/ebuild.5 @@ -371,7 +371,7 @@ Contains the revision number or 'r0' if no revision number exists. .fi .TP .B PVR -Contains the version number with the revision (if non-zero). +Contains the version number with the revision (if any). \fBExample\fR: .nf |