summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-07-17 09:49:04 +0200
committerHans de Graaff <graaff@gentoo.org>2019-07-17 10:00:28 +0200
commit8b359f67c02ece7ca95f1c799a3622f29a1018f1 (patch)
tree1b77a8a4476dc5bc3ddfa9c7a89bd734b868c09e /dev-ruby/logue
parentdev-ruby/webmock: amd64 stable (diff)
downloadgentoo-8b359f67c02ece7ca95f1c799a3622f29a1018f1.tar.gz
gentoo-8b359f67c02ece7ca95f1c799a3622f29a1018f1.tar.bz2
gentoo-8b359f67c02ece7ca95f1c799a3622f29a1018f1.zip
dev-ruby/logue: add 1.0.18
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/logue')
-rw-r--r--dev-ruby/logue/Manifest1
-rw-r--r--dev-ruby/logue/logue-1.0.18.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/logue/Manifest b/dev-ruby/logue/Manifest
index ab14e4bae241..8c2bbc9e39d6 100644
--- a/dev-ruby/logue/Manifest
+++ b/dev-ruby/logue/Manifest
@@ -1,2 +1,3 @@
DIST logue-git-1.0.13.tgz 14389 BLAKE2B a6886989e561124904e6e6016c84b53abd1ea5be2f92958dffdc9b5ce9741728b9760034a9a7517ff35dfe0ebf10d6a6937aee426b85de3e71690098e9eec0ad SHA512 677ef2a8fecc50cb923dcf85ab0bdd984ea5806c31e11df9438af92912b94a4ce227837fac4baee05595f894f6a0fd4167f2984357628eb3e8036479103340c4
DIST logue-git-1.0.16.tgz 13364 BLAKE2B 1eaedcd8cd2a45713a39fd2bfc59fa8234903e01495072d905d461c799fb210be828a5d9685e285c44858c2a10e6016b0053686c3a7c31df64d829ed1c216df9 SHA512 bb8168b69f614f8b2e85bac982dbc85a4a0705cb8cf2d13bf1c361c120c1f66155782bccefbc9069bd9cb4595d6ae8e090c882677d52245ca3478892ce226c56
+DIST logue-git-1.0.18.tgz 13310 BLAKE2B 42669cae48b5efe5785470410b694c7330dad5273d3a788612729d0e2efb9aabb8b3024727efddb4efedc1addd377242bc5a3ad5e9ede602f0f606be4db84608 SHA512 654681b2d1735790a08d8c53f9097ca28b64c37e902ff1260c8f2fa669067d404103944f0c78c5382a10b9491d8b0a10495516d3529d68be97c62027c2812c9b
diff --git a/dev-ruby/logue/logue-1.0.18.ebuild b/dev-ruby/logue/logue-1.0.18.ebuild
new file mode 100644
index 000000000000..dcef55f32fec
--- /dev/null
+++ b/dev-ruby/logue/logue-1.0.18.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+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 ~hppa ~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
+}