summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-08-18 07:14:09 +0200
committerHans de Graaff <graaff@gentoo.org>2019-08-18 07:14:09 +0200
commitd05f36fcf84429656c2e0bb8042bf622d1fb9847 (patch)
tree9448b4ef499f3414aa487ec57fdb3f8e417467c0 /dev-ruby/airbrussh
parentdev-ruby/airbrussh: cleanup (diff)
downloadgentoo-d05f36fcf84429656c2e0bb8042bf622d1fb9847.tar.gz
gentoo-d05f36fcf84429656c2e0bb8042bf622d1fb9847.tar.bz2
gentoo-d05f36fcf84429656c2e0bb8042bf622d1fb9847.zip
dev-ruby/airbrussh: add 1.3.3
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/airbrussh')
-rw-r--r--dev-ruby/airbrussh/Manifest1
-rw-r--r--dev-ruby/airbrussh/airbrussh-1.3.3.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/airbrussh/Manifest b/dev-ruby/airbrussh/Manifest
index 1a740a278c95..3796c3c8cffd 100644
--- a/dev-ruby/airbrussh/Manifest
+++ b/dev-ruby/airbrussh/Manifest
@@ -1 +1,2 @@
DIST airbrussh-1.3.2.tar.gz 1451710 BLAKE2B d2b3f8cc07a13e82e7d8e74c9e3a9ed9837b042350f85da21f8c51b2b766c629f9129bed18d4664e5833d70b2f0d9e0d1703be30350c265377df7ff4b25bc7b4 SHA512 e5ee119d8994f7c23ac0ef553e247c5d5041e2e5fd2c552385c5b4fe42e4aa671460a364fe926225fa447822010380ae6af90b3bd17f73e7f5cf9c7576711331
+DIST airbrussh-1.3.3.tar.gz 1449872 BLAKE2B b5c19a61bb16d3b4c7379929894c3f58e0e0758ec79b590cae1eab1d8478195ce4959f9e2e026cdfd6a307ba006de54cd5982593f5041cdf0d03d47911619cda SHA512 e4f8a02f000ef26be4a121b16d8ab421c8f0de198e5407980116d1b5f0caa83a214112ec8b3bda00b09d72872f8b5d95a3207a3a157d7eda8fbc456a224a4796
diff --git a/dev-ruby/airbrussh/airbrussh-1.3.3.ebuild b/dev-ruby/airbrussh/airbrussh-1.3.3.ebuild
new file mode 100644
index 000000000000..70f59a12905a
--- /dev/null
+++ b/dev-ruby/airbrussh/airbrussh-1.3.3.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+RUBY_FAKEGEM_GEMSPEC="airbrussh.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A replacement log formatter for SSHKit"
+HOMEPAGE="https://github.com/mattbrictson/airbrussh"
+SRC_URI="https://github.com/mattbrictson/airbrussh/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="1"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend ">dev-ruby/sshkit-1.7.0"
+
+ruby_add_bdepend "test? ( dev-ruby/mocha )"
+
+all_ruby_prepare() {
+ sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ rm -f test/support/minitest_reporters.rb || die
+
+ # Avoid a test poluting the environment
+ sed -i -e '/test_color_is_can_be_forced_via_env/,/^ end/ s:^:#:' test/airbrussh/console_test.rb || die
+}