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 20:59:40
Message-Id: ndeqba$iqo$1@ger.gmane.org
In Reply to: [gentoo-user] Blacklisting all packages from overlay except a specific group and version by Nikos Chantziaras
1 On 29/03/16 23:01, Nikos Chantziaras wrote:
2 > So, I want to install packages from an overlay, but only from a specific
3 > group. In this case, the dev-qt/ group. The overlay name is "qt".
4 >
5 > It doesn't work:
6 >
7 > package.mask: */*::qt
8 > package.unmask: dev-qt/*-5.6*::qt
9 >
10 > With this, 5.6 versions are still masked.
11 >
12 > How do I do this?
13
14 Well, I brute-forced it. I've use this mask:
15
16 */*::qt
17
18 and this unmask:
19
20 <dev-qt/designer-5.7
21 <dev-qt/linguist-tools-5.7
22 <dev-qt/qdbus-5.7
23 <dev-qt/qtconcurrent-5.7
24 <dev-qt/qtcore-5.7
25 <dev-qt/qtdbus-5.7
26 <dev-qt/qtdeclarative-5.7
27 <dev-qt/qtgraphicaleffects-5.7
28 <dev-qt/qtgui-5.7
29 <dev-qt/qtimageformats-5.7
30 <dev-qt/qtmultimedia-5.7
31 <dev-qt/qtnetwork-5.7
32 <dev-qt/qtopengl-5.7
33 <dev-qt/qtpaths-5.7
34 <dev-qt/qtprintsupport-5.7
35 <dev-qt/qtquickcontrols-5.7
36 <dev-qt/qtscript-5.7
37 <dev-qt/qtsql-5.7
38 <dev-qt/qtsvg-5.7
39 <dev-qt/qttest-5.7
40 <dev-qt/qtwidgets-5.7
41 <dev-qt/qtx11extras-5.7
42 <dev-qt/qtxml-5.7
43 <dev-qt/qtxmlpatterns-5.7
44
45 It works, but I would have expected that computers are good with
46 wildcards :-/ The above should be equivalent to this:
47
48 <dev-qt/*-5.7*
49
50 but portage refuses to recognize it.
51
52 Ah, well.

Replies