Skip to content

Commit

Permalink
www-apps/nanoc: fix bug 574726
Browse files Browse the repository at this point in the history
Fix building with FEATURES=-test, thanks to Toralf Förster
for reporting.

Package-Manager: portage-2.2.26
  • Loading branch information
graaff committed Feb 14, 2016
1 parent a98d91e commit a14b567
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions www-apps/nanoc/nanoc-4.1.4.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,13 @@ doc? (

all_ruby_prepare() {
use doc || use test || (rm tasks/doc.rake || die)
use test || (rm tasks/test.rake || die)

# Avoid dependency on coveralls.
sed -i -e '/coverall/I s:^:#:' tasks/test.rake || die
if use test ; then
# Avoid dependency on coveralls.
sed -i -e '/coverall/I s:^:#:' tasks/test.rake || die
else
rm -f tasks/test.rake || die
fi

# Avoid non-optional tests for w3c_validators which we don't have
# packaged and which require network access.
Expand Down

0 comments on commit a14b567

Please sign in to comment.