summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-09-20 07:52:47 +0200
committerHans de Graaff <graaff@gentoo.org>2019-09-20 07:52:47 +0200
commitdbbe036ff995b46bbe70f2583fa87aa6749086fc (patch)
tree655f0c780f2f9ac16b977396bfdb06648a8f9237
parentdev-ruby/rouge: add 3.11.0 (diff)
downloadgentoo-dbbe036ff995b46bbe70f2583fa87aa6749086fc.tar.gz
gentoo-dbbe036ff995b46bbe70f2583fa87aa6749086fc.tar.bz2
gentoo-dbbe036ff995b46bbe70f2583fa87aa6749086fc.zip
dev-ruby/rouge: fix dependencies
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>
-rw-r--r--dev-ruby/rouge/rouge-3.11.0.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/dev-ruby/rouge/rouge-3.11.0.ebuild b/dev-ruby/rouge/rouge-3.11.0.ebuild
index 5ede80c934a..1ba7cbc9022 100644
--- a/dev-ruby/rouge/rouge-3.11.0.ebuild
+++ b/dev-ruby/rouge/rouge-3.11.0.ebuild
@@ -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
}