On Mon, 2019-03-25 at 04:23 +0000, Robin H. Johnson wrote: > > Are there more packages in the tree that are locked to a specific version of lua? > Yes, several, and more on that in a second. > > I think packages will need one of two variables: > LUA_SINGLE_TARGET > LUA_TARGETS > > LUA_TARGETS is probably only going to be used by the dev-lua/ modules. > LUA_SINGLE_TARGET is probably going to be used by MOST packages that > include Lua as an embedded scripting language; of which I'll discuss a > few below. > Please don't copy the PYTHON_* insanity here. The only reason for PYTHON_SINGLE_TARGET, as I keep repeating, is that we *needed* a sane default of py2+py3 for a lot of packages, without causing REQUIRED_USE violations all over the place. I don't think Lua situation is similar. That is, I don't think you can pinpoint a combination of 2 or more default 'targets' and a single 'target' that would work for the majority of packages. Just use a single USE_EXPAND combined with REQUIRED_USE and sane defaults. -- Best regards, Michał Górny