I was trying to cover a specific version in a whole category when (un)keywording/masking to keep my configs as clean as possible. e.g. I wanted to mask all of kde's 4.10.5 release. Obvious solution: ~kde-base/*-4.10.5 Well, does not work, portage says "invalid syntax". ~kde-base/kdelibs-4.10.5 does work, but that way I have to deal with every single package, again. Same game with dev-texlive and dev-qt (masking qt-4.8.5, using texlive-2012 ~amd64) After bells hint in the forums I got texlive working (correct syntax): =dev-texlive/*-*2012* BUT (!) =kde-base/*-*4.10.5* does not work. So there seems to be a bug in the way portage parses config entries with wildcards. The funny thing is: eix parses everything as I expect it. ~kde-base/*-4.10.5 works as well as all the other entries I try (and thought are correct).
Currently, operators are not supported, with the exception of atoms like =*/*-*9999* where the version part contains only digits.