Skip to content

Commit

Permalink
dev-ruby/logue: add missing test dependency on paramesan, bug 657286
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.40, Repoman-2.3.9
  • Loading branch information
graaff committed Jun 3, 2018
1 parent 46c792e commit 7906c9c
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions dev-ruby/logue/logue-1.0.13-r1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

USE_RUBY="ruby23 ruby24 ruby25"

RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_EXTRADOC="README.md"

RUBY_FAKEGEM_BINWRAP=""

inherit ruby-fakegem

DESCRIPTION="A module that adds logging/trace functionality"
HOMEPAGE="https://github.com/jpace/logue"

SRC_URI="https://github.com/jpace/logue/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

ruby_add_rdepend "dev-ruby/rainbow:3"

ruby_add_bdepend "test? ( dev-ruby/paramesan )"

all_ruby_prepare() {
sed -i -e '/bundler/ s:^:#:' Rakefile || die

# Fix path to match installed gem path
sed -i -e 's:logue/lib/logue:/lib/logue:' lib/logue/stack.rb || die
}

0 comments on commit 7906c9c

Please sign in to comment.