On Mon, Sep 14, 2015 at 2:19 PM, Kent Fredric <kentfred...@gmail.com> wrote: > On 14 September 2015 at 18:09, konsolebox <konsole...@gmail.com> wrote: >> Because they could also match pkg-1.0.2aa > > That would imply > > =pkg-1.0.2* would match 1.0.20 > > When it only matches 1.0.2 and 1.0.2.* > > You're reading it in shell glob notation and not the portage notation, > that the trailing dot is *implied*, which is why explictly stating it > is illegal.
Test shows that it doesn't work that way. Here I created a dummy bash-4.30: # emerge -pvO =app-shells/bash-4.3_p42 These are the packages that would be merged, in order: [ebuild U ~] app-shells/bash-4.3_p42::gentoo [4.3_p39::gentoo] USE="net nls (readline) -afs -bashlogger -examples -mem-scramble -plugins -vanilla" 6 KiB Total: 1 package (1 upgrade), Size of downloads: 6 KiB # emerge -pvO '=app-shells/bash-4.3*' These are the packages that would be merged, in order: [ebuild U ~] app-shells/bash-4.30::local [4.3_p39::gentoo] USE="net nls (readline) -afs -bashlogger -examples -mem-scramble -plugins -vanilla" 0 KiB Total: 1 package (1 upgrade), Size of downloads: 0 KiB # ls /var/db/pkg/sys-apps/portage-2.2.20.1/ > https://devmanual.gentoo.org/general-concepts/dependencies/index.html#ranged-dependencies > >> To specify "version 2.x (not 1.x or 3.x)" of a package, it is necessary to >> use the asterisk postfix. >> Note that the equals sign is mandatory, and that there is no dot before the >> asterisk. The provided example was `DEPEND="gtk? ( =x11-libs/gtk+-1.2* )"`. I'm not sure if that was accurately implying "version 1.2.x (not 1.1.x or 1.3.x)".