dev-ruby/rouge: fix dependencies
authorHans de Graaff <graaff@gentoo.org>
Fri, 20 Sep 2019 05:52:47 +0000 (07:52 +0200)
committerHans de Graaff <graaff@gentoo.org>
Fri, 20 Sep 2019 05:52:47 +0000 (07:52 +0200)
Add missing yard dependency.
Avoid need for rubocop.

Fixes: https://bugs.gentoo.org/693720
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
dev-ruby/rouge/rouge-3.11.0.ebuild

index 5ede80c934a9f41345ad48bc86157d351fbbc009..1ba7cbc9022527a0b38d79eba768cb909a12228c 100644 (file)
@@ -23,13 +23,14 @@ IUSE=""
 
 ruby_add_bdepend "doc? ( dev-ruby/redcarpet )
        test? ( dev-ruby/minitest-power_assert )
+       dev-ruby/yard
 "
 
 ruby_add_rdepend "dev-ruby/redcarpet"
 
 all_ruby_prepare() {
-       rm -f tasks/update/changelog.rake || die
+       rm -f tasks/{check/style,update/changelog}.rake || die
 
        sed -i -e '/bundler/I s:^:#: ; 5irequire "minitest-power_assert"' spec/spec_helper.rb || die
-       sed -i -e '/\(changelog\|bundler\)/ s:^:#: ; 1irequire "pathname"' Rakefile || die
+       sed -i -e '/\(changelog\|bundler\|rubocop\)/ s:^:#: ; 1irequire "pathname"' Rakefile || die
 }