summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2020-07-06 10:13:15 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2020-07-06 10:14:28 -0700
commit4d1149aa93f96c51be4d9520ba3322a1231c83ec (patch)
treea547630b9f1461abe50f0d81fd2e9bba9e9bfece /dev-ruby/did_you_mean
parentapp-text/highlight: add support for slotted Lua (diff)
downloadgentoo-4d1149aa93f96c51be4d9520ba3322a1231c83ec.tar.gz
gentoo-4d1149aa93f96c51be4d9520ba3322a1231c83ec.tar.bz2
gentoo-4d1149aa93f96c51be4d9520ba3322a1231c83ec.zip
dev-ruby/did_you_mean: ensure dev-ruby/psych is gone
Fixes following error during src_install: ``` /usr/lib64/ruby/2.5.0/psych/handler.rb:30: warning: previous definition of EVENTS was here Traceback (most recent call last): 10: from -e:1:in `<main>' 9: from /usr/lib64/ruby/site_ruby/2.5.0/rubygems/specification.rb:1060:in `from_yaml' 8: from /usr/lib64/ruby/site_ruby/2.5.0/rubygems.rb:698:in `load_yaml' 7: from /usr/lib64/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:72:in `require' 6: from /usr/lib64/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:72:in `require' 5: from /usr/lib64/ruby/gems/2.5.0/gems/psych-3.0.2/lib/psych.rb:19:in `<top (required)>' 4: from /usr/lib64/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:72:in `require' 3: from /usr/lib64/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:72:in `require' 2: from /usr/lib64/ruby/gems/2.5.0/gems/psych-3.0.2/lib/psych/parser.rb:2:in `<top (required)>' 1: from /usr/lib64/ruby/gems/2.5.0/gems/psych-3.0.2/lib/psych/parser.rb:33:in `<module:Psych>' /usr/lib64/ruby/gems/2.5.0/gems/psych-3.0.2/lib/psych/parser.rb:34:in `<class:Parser>': superclass mismatch for class Mark (TypeError) * ERROR: dev-ruby/did_you_mean-1.4.0::gentoo failed (install phase): * Unable to generate gemspec file. ``` Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'dev-ruby/did_you_mean')
-rw-r--r--dev-ruby/did_you_mean/did_you_mean-1.4.0.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-ruby/did_you_mean/did_you_mean-1.4.0.ebuild b/dev-ruby/did_you_mean/did_you_mean-1.4.0.ebuild
index aaf321bf8d8a..37ef1514da15 100644
--- a/dev-ruby/did_you_mean/did_you_mean-1.4.0.ebuild
+++ b/dev-ruby/did_you_mean/did_you_mean-1.4.0.ebuild
@@ -16,6 +16,9 @@ LICENSE="MIT"
SLOT="2.6"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
+# Old dev-ruby/psych is removed from the tree, but must be uninstalled before
+# did_you_mean will build.
+DEPEND="${DEPEND} !!dev-ruby/psych"
all_ruby_prepare() {
sed -i -e '/bundler/ s:^:#:' Rakefile || die