Gentoo Archives: gentoo-user

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

Replies