From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 927751393F1 for ; Mon, 14 Sep 2015 06:20:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7922921C0CC; Mon, 14 Sep 2015 06:19:59 +0000 (UTC) Received: from mail-oi0-f47.google.com (mail-oi0-f47.google.com [209.85.218.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8D84B21C0AB for ; Mon, 14 Sep 2015 06:19:58 +0000 (UTC) Received: by oiev17 with SMTP id v17so71223428oie.1 for ; Sun, 13 Sep 2015 23:19:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=WfksXx/9EJCcZw4o2Q1/etwjkcEPxjQu5S1ICm7CPZI=; b=KGXVa3+MLinL/SpfL0lasTKUS7R/2cbUh0/GEBOurZ1aqx9nAX1S7lljQeP57KkqDQ TU1nBMzOEeq0ZgjLxdLK8iorv8T3LGw6qeEC8Sbq9vDbM75sPULEn6ixJvGCKwIhm6/1 l6twhRenF1dpWfrkj3cAZWnfur+4ehJ5Jql0xvlF8gpkvW+yxJh/VnoAbndcL7O3rf8s LwvOja01NogoPlF3/mbXQ9xvRuAiQwheuebXx+meJv0EX3qJ4zeA8UTQjnvqssEsR6dr J0DBJpuoaAv9a7X3ugMj9Zvcr0bQvJAbplh29aRjW/CZNFoDp3dui7qxPZfIeKUDixiF Db0g== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.202.205.133 with SMTP id d127mr9362758oig.9.1442211598019; Sun, 13 Sep 2015 23:19:58 -0700 (PDT) Received: by 10.202.106.72 with HTTP; Sun, 13 Sep 2015 23:19:57 -0700 (PDT) In-Reply-To: References: <22006.24676.585145.935143@a1i15.kph.uni-mainz.de> Date: Mon, 14 Sep 2015 18:19:57 +1200 Message-ID: Subject: Re: [gentoo-dev] Request to add ~> atom prefix operator on Portage. From: Kent Fredric To: gentoo-dev Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: ef378aa7-154c-4f24-84a9-8ccca20b975c X-Archives-Hash: 656cfca3c9c7238ff729fe68a303a4ed On 14 September 2015 at 18:09, konsolebox wrote: > Because they could also match pkg-1.0.2aa I don't believe it works that way. That would imply =pkg-1.0.2* would match 1.0.20 When it only matches 1.0.2 and 1.0.2.* You're reading it in shell glob notation and not the portage notation, that the trailing dot is *implied*, which is why explictly stating it is illegal. https://devmanual.gentoo.org/general-concepts/dependencies/index.html#ranged-dependencies > To specify "version 2.x (not 1.x or 3.x)" of a package, it is necessary to use the asterisk postfix. > Note that the equals sign is mandatory, and that there is no dot before the asterisk. -- Kent KENTNL - https://metacpan.org/author/KENTNL