sqlite3-ruby refuses to install if swig was not built with the ruby USE flag set. However, the ruby USE flag only causes swig to create ruby examples, and it does not affect swig's ability to create ruby bindings. From swig's README, when explaining its configure script: The configure script will attempt to locate various packages on your machine including Tcl, Perl5, Python and all the other target languages that SWIG uses. Don't panic if you get 'not found' messages--SWIG does not need these packages to compile or run. The configure script is actually looking for these packages so that you can try out the SWIG examples contained in the 'Examples' directory without having to hack Makefiles.
Adding swig maintainer. Marijn, is this how swig works? If that is the case then I suspect there are many packages in the tree that check for swig's USE flags unnecessarily, and also the USE flag descriptions are misleading in this case.
Swig appears to always install all of its language-specific files, regardless of the USE flag settings. It has installed .swg and .i files for every language that swig supports, despite the fact that I only have a handful of those languages installed, and I had none of the USE flags enabled. In fact, enabling the ruby USE flag did not install any additional files on my system. (this fits with what swig's README file claims: that it only uses the --with-$language arguments to make the example Makefiles work)
Created attachment 174283 [details] (equery u swig && equery f swig) > equery_swig_with_ruby.txt
Created attachment 174284 [details] (equery u swig && equery f swig) > equery_swig_no_use.txt
Created attachment 174286 [details] (equery u swig && equery f swig) > equery_swig_no_use.txt
Hans, I have added a new version(1.3.38) of swig with no use flags for any supported languages as the bug reporter seems to be correct about swig. Please give it a try.
Following files still check use flags with swig and should be fixed soon: /usr/portage> grep -Rl 'built_with_use dev-lang/swig' * dev-ruby/sqlite3-ruby/sqlite3-ruby-1.2.4.ebuild dev-ruby/sqlite3-ruby/sqlite3-ruby-1.2.1.ebuild media-gfx/graphviz/graphviz-2.12.ebuild media-gfx/graphviz/graphviz-2.20.3.ebuild rox-extra/musicbox/musicbox-027-r2.ebuild sci-libs/scipy/scipy-0.7.0_rc2.ebuild sci-physics/lhapdf/lhapdf-5.6.0.ebuild sci-physics/lhapdf/lhapdf-5.5.1.ebuild All those packages fail with the new swig version.
dev-ruby/sqlite3-ruby-1.2.4 has been fixed to just depend on swig and not check its USE flags, and 1.2.1 is no longer in the tree.