From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Fxk1A-0004FC-Jb for garchives@archives.gentoo.org; Tue, 04 Jul 2006 12:28:41 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k64CRGph011613; Tue, 4 Jul 2006 12:27:16 GMT Received: from smtp.cs.nyu.edu (SMTP.CS.NYU.EDU [128.122.140.230]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k64CLxFE002856 for ; Tue, 4 Jul 2006 12:21:59 GMT Received: from localhost.localdomain (ool-4578dd70.dyn.optonline.net [69.120.221.112]) (authenticated bits=0) by smtp.cs.nyu.edu (8.13.6/8.13.6) with ESMTP id k64CLwsF006184 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 4 Jul 2006 08:21:58 -0400 (EDT) Received: by localhost.localdomain (Postfix, from userid 1502) id 39DDE49C; Tue, 4 Jul 2006 08:21:53 -0400 (EDT) To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] package version notification (~/+)? References: <44A95F30.7080805@gmx.net> <20060703200724.646085fc@krikkit.digimed.co.uk> <20060704010607.GB8426@garbanzo> <20060704023417.GC8426@garbanzo> <44A9E3D2.9030201@gmail.com> <44AA0FA4.60603@cisco.com> From: Allan Gottlieb Date: Tue, 04 Jul 2006 08:21:53 -0400 In-Reply-To: <44AA0FA4.60603@cisco.com> (Roy Wright's message of "Tue, 04 Jul 2006 01:50:12 -0500") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/22.0.50 (gnu/linux) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archives-Salt: 09e9e0cb-2e10-4e15-bd8d-9699d81b64ba X-Archives-Hash: 911f911d51b976650ca87fd43a330204 At Tue, 04 Jul 2006 01:50:12 -0500 Roy Wright wrote: > I just read this in the developer's guide: > > http://devmanual.gentoo.org/general-concepts/dependencies/index.html > > |~app-misc/foo-1.23| Version 1.23 (or any |1.23-r*|) is required. > > I was wondering if this would work in package.keywords, package.mask, etc. > so tried it. It does appear to work... > > # eix -e portage > * sys-apps/portage > Available versions: 2.0.51.22-r3 2.0.54-r2 2.1 2.1-r1 > 2.1.1_pre1-r5 2.1.1_pre2-r2 > > # echo "~sys-apps/portage-2.1" >> /etc/portage/package.mask > > # eix -e portage > * sys-apps/portage > Available versions: 2.0.51.22-r3 2.0.54-r2 [M]2.1 [M]2.1-r1 > 2.1.1_pre1-r5 2.1.1_pre2-r2 Good find. I saw some posts here using it and wondered why the same "typo" appeared. I just checked the portage man page, which describes the various package.* files, and this usage of `~' is not documented. Should I file a documentation bug? allan -- gentoo-user@gentoo.org mailing list