Sent from an iPhone, sorry for the HTML...
> On Sep 7, 2015, at 8:35 AM, Marc Schiffbauer <msch...@gentoo.org> wrote: > > Hi, > > > I'd like to propose a new kind of DEPEND syntax: <> > > This would mean "Any version but the one specified" and is usefull when > you have a dependency on another package but a single version of it is > not compatible for example. > > I currently have this case in app-backup/obnam which is not compatible > to =dev-python/paramiko-1.13.0 > > In DEPEND I now have this: > > !=dev-python/paramiko-1.13.0 > || ( <dev-python/paramiko-1.13.0 >dev-python/paramiko-1.13.0 ) > > which does the trick, but I think much more straight forward would be: > > <>dev-python/paramiko-1.13.0 > > which would be the exact opposite of =dev-python/paramiko-1.13.0 > > An alternate syntax would be (but I'd prefer the former): > > !=dev-python/paramiko-1.13.0 > > What do you think and would is the proper way to suggest this for a new > EAPI? A new bug? On what? > > TIA > - Why not just: DEPEND=" dev-python/paramiko !~dev-python/paramiko-1.13.0 " Depend on the package but block the individual atom(s) that don't work? Given that there will be *very few* valid use cases for this type of syntax I don't know if it's such a good idea to add it. I expect adding this new syntax would be more likely to cause issues via improper usage than it would add a benefit or fill any massively pressing need...