Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Blacklisting all packages from overlay except a specific group and version
Date: Fri, 01 Apr 2016 04:09:28
Message-Id: ndks92$n8m$1@ger.gmane.org
In Reply to: Re: [gentoo-user] Re: Blacklisting all packages from overlay except a specific group and version by Alan McKinnon
1 On 31/03/16 09:11, Alan McKinnon wrote:
2 > On 31/03/2016 00:13, Nikos Chantziaras wrote:
3 >> "Invalid atom in /etc/portage/package.unmask/qt: =dev-qt/*-5.6*::qt"
4 >>
5 >> (Doesn't work with or without the "::qt".)
6 >
7 > It's the leading "*" that's wrong there, because it's not a glob or a
8 > regex; it's more a placeholder metacharacter with it's own rules. Look
9 > at the relevant section in man 5 ebuild. It's not explicit but it does
10 > strongly hint that "*" goes at the end of a string
11
12 It didn't look like it to me at all. From the man page:
13
14 Examples:
15
16 # match anything with a version containing 9999, which can be used in
17 # package.mask to prevent emerge --autounmask from selecting live
18 # ebuilds
19 =*/*-*9999*
20
21 So if that works, one would assume that "=dev-qt/*-*5.6*" should work
22 just as well :-/

Replies