Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85951 - man 5 ebuild and the ebuild HOWTO tell different things about using ~ in DEPEND
Summary: man 5 ebuild and the ebuild HOWTO tell different things about using ~ in DEPEND
Status: RESOLVED INVALID
Alias: None
Product: [OLD] Docs-developer
Classification: Unclassified
Component: Portage Documentation (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-19 15:18 UTC by Petteri Räty (RETIRED)
Modified: 2005-03-20 11:34 UTC (History)
0 users

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


Attachments

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