commit: 00dfc003f2e5e70a333346804fad6a26111de256 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Mon Jul 6 18:02:01 2020 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Mon Jul 6 18:02:01 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00dfc003
eclass/ruby-fakegem.eclass: add blocker for psych dev-ruby/psych has been removed from the tree for some time but may still be installed, in which case it will cause errors when trying to read gemspec YAML metadata because it is no longer compatible with modern ruby versions. Block on it to ensure that dev-ruby/psych is actually uninstalled. Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> eclass/ruby-fakegem.eclass | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass index d0956082f81..8ab44876594 100644 --- a/eclass/ruby-fakegem.eclass +++ b/eclass/ruby-fakegem.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: ruby-fakegem.eclass @@ -182,7 +182,9 @@ esac SRC_URI="https://rubygems.org/gems/${RUBY_FAKEGEM_NAME}-${RUBY_FAKEGEM_VERSION}${RUBY_FAKEGEM_SUFFIX:+-${RUBY_FAKEGEM_SUFFIX}}.gem" -ruby_add_bdepend virtual/rubygems +# dev-ruby/psych is no longer installed and is incompatible with modern +# ruby versions. +ruby_add_bdepend "virtual/rubygems !!dev-ruby/psych" ruby_add_rdepend virtual/rubygems case ${EAPI} in 4|5|6)
