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

Bug 85951

Summary: man 5 ebuild and the ebuild HOWTO tell different things about using ~ in DEPEND
Product: [OLD] Docs-developer Reporter: Petteri Räty (RETIRED) <betelgeuse>
Component: Portage DocumentationAssignee: Portage team <dev-portage>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Petteri Räty (RETIRED) gentoo-dev 2005-03-19 15:18:54 UTC
from man 5 ebuild:

~  means  match  any  revision of the base version specified.  So in the above
   example, we would match versions '1.0.2a', '1.0.2a-r1', '1.0.2a-r2', etc...

from http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=1

~sys-apps/qux-1.0 will select the newest portage revision of qux-1.0.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.



Expected Results:  
They should tell the same thing (the right thing ;D )
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2005-03-19 18:03:25 UTC
They do say the same thing. A "portage revision" is the -rX part of the full ebuild name.
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2005-03-20 05:48:21 UTC
The way I understood these is:
man 5 ebuild: 
~ would be the same as using = and *
howto:
the ebuild won't install unless you have the latest version
Comment 3 SpanKY gentoo-dev 2005-03-20 11:34:56 UTC
revision != version