forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Hans de Graaff <[email protected]>
- Loading branch information
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
DIST airbrussh-1.5.0.tar.gz 1450385 BLAKE2B bc3d2be21fd6ad3e3524fcd10f0a36c9c97bd55a14c422a80b604312fd040821c9c59ca3b034acd834c9c636f99297b5f7c9b04c54edb9fb6c73c7c13fcf8e94 SHA512 540b98ec60f639cd70c705b1cd47eb4246fd49d3dfa4f0ba5163edfb72d76aab63728a2cdfa80f07c1eb7b159e4167de5392e0bb7129b58031e1a6c0733fb559 | ||
DIST airbrussh-1.5.1.tar.gz 1450388 BLAKE2B 34bfc20db10e32f5523916cc503147283b8aee71064e197931f0774932e7c197f765a1ceca78135642e6758efe2d115b1c1da2572171b06fa622d5313710a6ac SHA512 5c34b0491432a20b4c0d30613669ffe21d431296b69ebd1eccf786d515c80067a5b6776a2b4055ea442fce61f89c130531ce4ad177f97950d9bf7ec479fb5bed | ||
DIST airbrussh-1.5.2.tar.gz 1450058 BLAKE2B 1e3d6957a47c1e823f5352404a55796e7e834d637c13027deac01bf38be06557dc1819f3f0c623a67e0036cd9ba6a0c9f8739a5fa6a56b6a9f003f1edcfdac13 SHA512 fe15bca2b4f922a07d69026c5b93d820943b1d2cec69ffc0190cf09eff87c2ec2cfe13c24bb7174fc9b534a64493abae1344accf91a85a5ddadcee0bd266ef44 | ||
DIST airbrussh-1.5.3.tar.gz 1450342 BLAKE2B 323b720ed92bc7758921999c2b63593e134ad2e0bed66c469af5fb8342b33c0da46c2d8814e9f1a638f8e01445b6c15877b40f01fb7e968a8db1340070130e6e SHA512 2a68a6034ae73cd3f3a4e070e1d4bfc4942ff183ed0aa9707df38268e6e0080065f3866c1afc168fd7ead9ecd35408d4ef69242e5d186aced305fcb980ed2a81 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Copyright 1999-2024 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
USE_RUBY="ruby31 ruby32 ruby33" | ||
|
||
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 ~ppc ~ppc64 ~x86" | ||
|
||
ruby_add_rdepend ">dev-ruby/sshkit-1.7.0" | ||
|
||
ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/mocha:2 )" | ||
|
||
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 | ||
|
||
# Add missing require | ||
sed -i -e '1irequire "rake" ; require "rake/task"' test/support/rake_task_definition.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 | ||
} | ||
|
||
each_ruby_test() { | ||
MT_NO_PLUGINS=1 ${RUBY} -Ilib:test:. -e 'Dir["test/**/*_test.rb"].each {|f| require f}' || die | ||
} |