mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
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>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user