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: Tue, 29 Mar 2016 21:22:24
Message-Id: nderls$7se$1@ger.gmane.org
In Reply to: Re: [gentoo-user] Re: Blacklisting all packages from overlay except a specific group and version by Ian Bloss
1 Because that is already covered by:
2
3 */*::qt
4
5 in package.mask. This masks everything from the qt overlay, including
6 versions of Qt higher or equal to 5.7.
7
8 I only masked >=5.7, then the other packages from the qt overlay would
9 not be masked. What I need is mask ALL packages in the qt overlay EXCEPT
10 dev-qt/*-5.6.*.
11
12
13 On 30/03/16 00:14, Ian Bloss wrote:
14 > Why don't you mask versions higher than 5.7 instead?
15 >
16 >
17 > On Tue, Mar 29, 2016, 17:00 Nikos Chantziaras <realnc@×××××.com
18 > <mailto:realnc@×××××.com>> wrote:
19 >
20 > On 29/03/16 23:01, Nikos Chantziaras wrote:
21 > > So, I want to install packages from an overlay, but only from a
22 > specific
23 > > group. In this case, the dev-qt/ group. The overlay name is "qt".
24 > >
25 > > It doesn't work:
26 > >
27 > > package.mask: */*::qt
28 > > package.unmask: dev-qt/*-5.6*::qt
29 > >
30 > > With this, 5.6 versions are still masked.
31 > >
32 > > How do I do this?
33 >
34 > Well, I brute-forced it. I've use this mask:
35 >
36 > */*::qt
37 >
38 > and this unmask:
39 >
40 > <dev-qt/designer-5.7
41 > <dev-qt/linguist-tools-5.7
42 > <dev-qt/qdbus-5.7
43 > <dev-qt/qtconcurrent-5.7
44 > <dev-qt/qtcore-5.7
45 > <dev-qt/qtdbus-5.7
46 > <dev-qt/qtdeclarative-5.7
47 > <dev-qt/qtgraphicaleffects-5.7
48 > <dev-qt/qtgui-5.7
49 > <dev-qt/qtimageformats-5.7
50 > <dev-qt/qtmultimedia-5.7
51 > <dev-qt/qtnetwork-5.7
52 > <dev-qt/qtopengl-5.7
53 > <dev-qt/qtpaths-5.7
54 > <dev-qt/qtprintsupport-5.7
55 > <dev-qt/qtquickcontrols-5.7
56 > <dev-qt/qtscript-5.7
57 > <dev-qt/qtsql-5.7
58 > <dev-qt/qtsvg-5.7
59 > <dev-qt/qttest-5.7
60 > <dev-qt/qtwidgets-5.7
61 > <dev-qt/qtx11extras-5.7
62 > <dev-qt/qtxml-5.7
63 > <dev-qt/qtxmlpatterns-5.7
64 >
65 > It works, but I would have expected that computers are good with
66 > wildcards :-/ The above should be equivalent to this:
67 >
68 > <dev-qt/*-5.7*
69 >
70 > but portage refuses to recognize it.
71 >
72 > Ah, well.
73 >
74 >