Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/logue/
Date: Sun, 03 Jun 2018 17:39:57
Message-Id: 1528047540.7906c9cef4b3c4809cf9921e0a725152791337e2.graaff@gentoo
1 commit: 7906c9cef4b3c4809cf9921e0a725152791337e2
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 3 17:37:10 2018 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 3 17:39:00 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7906c9ce
7
8 dev-ruby/logue: add missing test dependency on paramesan, bug 657286
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 dev-ruby/logue/logue-1.0.13-r1.ebuild | 34 ++++++++++++++++++++++++++++++++++
13 1 file changed, 34 insertions(+)
14
15 diff --git a/dev-ruby/logue/logue-1.0.13-r1.ebuild b/dev-ruby/logue/logue-1.0.13-r1.ebuild
16 new file mode 100644
17 index 00000000000..1d823a3b310
18 --- /dev/null
19 +++ b/dev-ruby/logue/logue-1.0.13-r1.ebuild
20 @@ -0,0 +1,34 @@
21 +# Copyright 1999-2018 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +
26 +USE_RUBY="ruby23 ruby24 ruby25"
27 +
28 +RUBY_FAKEGEM_RECIPE_DOC="rdoc"
29 +RUBY_FAKEGEM_EXTRADOC="README.md"
30 +
31 +RUBY_FAKEGEM_BINWRAP=""
32 +
33 +inherit ruby-fakegem
34 +
35 +DESCRIPTION="A module that adds logging/trace functionality"
36 +HOMEPAGE="https://github.com/jpace/logue"
37 +
38 +SRC_URI="https://github.com/jpace/logue/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz"
39 +
40 +LICENSE="MIT"
41 +SLOT="0"
42 +KEYWORDS="~amd64"
43 +IUSE=""
44 +
45 +ruby_add_rdepend "dev-ruby/rainbow:3"
46 +
47 +ruby_add_bdepend "test? ( dev-ruby/paramesan )"
48 +
49 +all_ruby_prepare() {
50 + sed -i -e '/bundler/ s:^:#:' Rakefile || die
51 +
52 + # Fix path to match installed gem path
53 + sed -i -e 's:logue/lib/logue:/lib/logue:' lib/logue/stack.rb || die
54 +}