diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-07-06 20:02:01 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-07-06 20:02:01 +0200 |
commit | 00dfc003f2e5e70a333346804fad6a26111de256 (patch) | |
tree | 385ff6efc665bc43b5555dcf3d24b91e12d7eb88 /eclass/ruby-fakegem.eclass | |
parent | Revert "dev-ruby/did_you_mean: ensure dev-ruby/psych is gone" (diff) | |
download | gentoo-00dfc003f2e5e70a333346804fad6a26111de256.tar.gz gentoo-00dfc003f2e5e70a333346804fad6a26111de256.tar.bz2 gentoo-00dfc003f2e5e70a333346804fad6a26111de256.zip |
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@gentoo.org>
Diffstat (limited to 'eclass/ruby-fakegem.eclass')
-rw-r--r-- | eclass/ruby-fakegem.eclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass index d0956082f816..8ab448765946 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) |