Why don't you mask versions higher than 5.7 instead?

On Tue, Mar 29, 2016, 17:00 Nikos Chantziaras <rea...@gmail.com> wrote:

> On 29/03/16 23:01, Nikos Chantziaras wrote:
> > So, I want to install packages from an overlay, but only from a specific
> > group. In this case, the dev-qt/ group. The overlay name is "qt".
> >
> > It doesn't work:
> >
> >    package.mask: */*::qt
> >    package.unmask: dev-qt/*-5.6*::qt
> >
> > With this, 5.6 versions are still masked.
> >
> > How do I do this?
>
> Well, I brute-forced it. I've use this mask:
>
>    */*::qt
>
> and this unmask:
>
>    <dev-qt/designer-5.7
>    <dev-qt/linguist-tools-5.7
>    <dev-qt/qdbus-5.7
>    <dev-qt/qtconcurrent-5.7
>    <dev-qt/qtcore-5.7
>    <dev-qt/qtdbus-5.7
>    <dev-qt/qtdeclarative-5.7
>    <dev-qt/qtgraphicaleffects-5.7
>    <dev-qt/qtgui-5.7
>    <dev-qt/qtimageformats-5.7
>    <dev-qt/qtmultimedia-5.7
>    <dev-qt/qtnetwork-5.7
>    <dev-qt/qtopengl-5.7
>    <dev-qt/qtpaths-5.7
>    <dev-qt/qtprintsupport-5.7
>    <dev-qt/qtquickcontrols-5.7
>    <dev-qt/qtscript-5.7
>    <dev-qt/qtsql-5.7
>    <dev-qt/qtsvg-5.7
>    <dev-qt/qttest-5.7
>    <dev-qt/qtwidgets-5.7
>    <dev-qt/qtx11extras-5.7
>    <dev-qt/qtxml-5.7
>    <dev-qt/qtxmlpatterns-5.7
>
> It works, but I would have expected that computers are good with
> wildcards :-/ The above should be equivalent to this:
>
>    <dev-qt/*-5.7*
>
> but portage refuses to recognize it.
>
> Ah, well.
>
>
>

Reply via email to