latest in tree: 1.6.7 not seen as problematic on http://wiki.gentoo.org/index.php?title=Project:Ruby/Pending_Bumps Please add it to the tree
Note that we have an automated list of which gems have new versions, so there is usually no need to file bugs for gem version bumps. Having the manpower to get to them quickly is another matter :-/ In any case I've updated json in the tree.
Thanks for the fast fix. :) Just one simple question, because this looks strange (and also exists in previous versions): RDEPEND="${RDEPEND}" DEPEND="${DEPEND} dev-util/ragel" Shouldn't this be just simply: DEPEND="dev-util/ragel" ?
No it shouldn't, because ruby_add_bdepend/ruby_add_rdepend use DEPEND as well.
(In reply to comment #3) > No it shouldn't, because ruby_add_bdepend/ruby_add_rdepend use DEPEND as > well. But ebuild calls ruby_add_bdepend() after setting DEPEND.
(In reply to comment #4) > (In reply to comment #3) > > No it shouldn't, because ruby_add_bdepend/ruby_add_rdepend use DEPEND as > > well. > > But ebuild calls ruby_add_bdepend() after setting DEPEND. It also handles dependencies before that based on the ebuild environment, not just the once set explicitly in the ebuild.
(In reply to comment #5) > It also handles dependencies before that based on the ebuild environment, > not just the once set explicitly in the ebuild. You misunderstand how it works. ruby_add_bdepend() takes an argument, transforms it and appends to DEPEND: local dependency=$(_ruby_atoms_samelib "$1") # Line 258 DEPEND="${DEPEND} $dependency" # Line 260 dev-ruby/json/json-1.7.4.ebuild contains: RDEPEND="${RDEPEND}" # Line 24 DEPEND="${DEPEND} # Line 25 dev-util/ragel" # Line 26 ruby_add_bdepend "dev-ruby/rake" # Line 28 During processing lines 24 and 25 in dev-ruby/json/json-1.7.4.ebuild, ${RDEPEND} and ${DEPEND} are empty.
You can apply the following patch and call `ebuild json-1.7.4.ebuild manifest`. --- json-1.7.4.ebuild +++ json-1.7.4.ebuild @@ -21,9 +21,11 @@ SLOT="0" IUSE="" +declare -p DEPEND RDEPEND RDEPEND="${RDEPEND}" DEPEND="${DEPEND} dev-util/ragel" +declare -p DEPEND RDEPEND ruby_add_bdepend "dev-ruby/rake"