summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-10-23 07:12:34 +0200
committerHans de Graaff <graaff@gentoo.org>2018-10-23 07:12:34 +0200
commitd41c845fa02405955da5981e7abcc8e826dcb69b (patch)
tree7dc46a5d0040e6999b244632bd91567bd0c7b80c /dev-ruby/logue/logue-1.0.16.ebuild
parentdev-ruby/logue: cleanup (diff)
downloadgentoo-d41c845fa02405955da5981e7abcc8e826dcb69b.tar.gz
gentoo-d41c845fa02405955da5981e7abcc8e826dcb69b.tar.bz2
gentoo-d41c845fa02405955da5981e7abcc8e826dcb69b.zip
dev-ruby/logue: add 1.0.16
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/logue/logue-1.0.16.ebuild')
-rw-r--r--dev-ruby/logue/logue-1.0.16.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/logue/logue-1.0.16.ebuild b/dev-ruby/logue/logue-1.0.16.ebuild
new file mode 100644
index 00000000000..83f06819fc1
--- /dev/null
+++ b/dev-ruby/logue/logue-1.0.16.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2018 Gentoo Authors
+# 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 ~ppc ~sparc ~x86"
+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
+}