diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-10 13:02:42 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-10 13:02:42 +0000 |
commit | 8c8f1cfd2aa9e839aad7dad6fd43b370cfbc0a1e (patch) | |
tree | f7b0f94c13a0454ed75b614028f1455e894f28d2 /dev-ruby | |
parent | 47f05d092ef8c19b3e973f62648e58c0e1a18631 (diff) |
gentoo auto-resync : 10:01:2024 - 13:02:42
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/Manifest.gz | bin | 109078 -> 109077 bytes | |||
-rw-r--r-- | dev-ruby/airbrussh/Manifest | 4 | ||||
-rw-r--r-- | dev-ruby/airbrussh/airbrussh-1.5.0.ebuild | 4 | ||||
-rw-r--r-- | dev-ruby/airbrussh/airbrussh-1.5.1.ebuild | 39 | ||||
-rw-r--r-- | dev-ruby/bcrypt_pbkdf/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.1.0-r2.ebuild | 8 | ||||
-rw-r--r-- | dev-ruby/shoulda-context/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/shoulda-context/files/shoulda-context-2.0.0-file-exists.patch | 26 | ||||
-rw-r--r-- | dev-ruby/shoulda-context/shoulda-context-2.0.0-r1.ebuild | 42 | ||||
-rw-r--r-- | dev-ruby/sshkit/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/sshkit/sshkit-1.22.0.ebuild | 43 |
11 files changed, 166 insertions, 6 deletions
diff --git a/dev-ruby/Manifest.gz b/dev-ruby/Manifest.gz Binary files differindex bc5cd666237f..30199f7b7049 100644 --- a/dev-ruby/Manifest.gz +++ b/dev-ruby/Manifest.gz diff --git a/dev-ruby/airbrussh/Manifest b/dev-ruby/airbrussh/Manifest index 1942604aa511..bdb2c9d98d2e 100644 --- a/dev-ruby/airbrussh/Manifest +++ b/dev-ruby/airbrussh/Manifest @@ -1,7 +1,9 @@ DIST airbrussh-1.4.1.tar.gz 1450155 BLAKE2B cecdc1b278a23c76b169febf5aa704d024a1ef41344a81a24d28f2a0f53830804f494d1bf967d8a54bfa73a92df333095fcc4591970c1d3e2ed1c23095258d11 SHA512 33bc484a3ac42a2a4a3795068649e93472bded1f887d9cdab52f4268090889b1d6ddc1c8743574b07e174eb606b24311ee13952d8b61517841693b44bf92450e DIST airbrussh-1.4.2.tar.gz 1450323 BLAKE2B 34f14409c5c892c85db28da63c3dd6d13e7086d6338844416508abdcf67f7593ff05a1b755a5b8c171d7f87dafe6476198d4fe2361993af492553c996ec88708 SHA512 739cdadee7ec7f03fef3497528dbc2fc552a862f6fea7502aef843edf137523601b9dc6037737c7ba219142dbf749238f80eba6ff86055fe39769f5d80d19c16 DIST airbrussh-1.5.0.tar.gz 1450385 BLAKE2B bc3d2be21fd6ad3e3524fcd10f0a36c9c97bd55a14c422a80b604312fd040821c9c59ca3b034acd834c9c636f99297b5f7c9b04c54edb9fb6c73c7c13fcf8e94 SHA512 540b98ec60f639cd70c705b1cd47eb4246fd49d3dfa4f0ba5163edfb72d76aab63728a2cdfa80f07c1eb7b159e4167de5392e0bb7129b58031e1a6c0733fb559 +DIST airbrussh-1.5.1.tar.gz 1450388 BLAKE2B 34bfc20db10e32f5523916cc503147283b8aee71064e197931f0774932e7c197f765a1ceca78135642e6758efe2d115b1c1da2572171b06fa622d5313710a6ac SHA512 5c34b0491432a20b4c0d30613669ffe21d431296b69ebd1eccf786d515c80067a5b6776a2b4055ea442fce61f89c130531ce4ad177f97950d9bf7ec479fb5bed EBUILD airbrussh-1.4.1.ebuild 1201 BLAKE2B 54d3fb056bb6f13cffaeb600d8c82e8c38c8e136ee920115a1a63f8059591f70c1b51098bf3691b593d2cd39d6a0192c9a15f8498659134024d68df20a249208 SHA512 206b412a19651c9322adfd6cbb6aaaef0e6ef46657549b71ee4483fdca66f5c73c14c288cf4a43dbd8dd889e10826b41c1d1148bf81d1f92556cb3c6c339101b EBUILD airbrussh-1.4.2.ebuild 1140 BLAKE2B ae1a2e7f83c345760072e6fa3028cc10d5cbd910f5d3136e22b8cce09d7217e492f5649c268ac17552f985929668b42c8e36d3894681ff23214f9f55cf07ad21 SHA512 aef1c34fd25e7a228ed076fa56c5e37e92c8498e8c58f4ded32eff9ec2f5562a1abff7cda69a0c2c4c3b7ce27a818a767f1f8c982f5a031ee35cab69c62806bc -EBUILD airbrussh-1.5.0.ebuild 1133 BLAKE2B 54b8083390d3774ded6e093b7c2c7770e379277fa895f3c36cda781396f27b012c8df16c6fba97a2f2074aeabe2a59c2aaad5962e5737b1781eb09abc1a35a72 SHA512 14d48cf09c51611a54446b388ef45460ec3bea0e981586503f1db13c00e5c84b006693488fd77208d71e62d1f433a0d83c9e9521b4048279d18f642ac269ca01 +EBUILD airbrussh-1.5.0.ebuild 1132 BLAKE2B be24d5b556eb492dbe75c092f39b0cd33c075e512fd63dc0df3ee5b53400b2cf3a5c75fa6665753e9bc37887d662cb98c1b86625162be041dd331d4e9fe92d75 SHA512 371a0af3f17a0fa760e94a809248f2977450e070546a41191850c763d10da9af12f89ab689b75dd57830209e9fb853a197a38d343d4426fd84500ff9939f7048 +EBUILD airbrussh-1.5.1.ebuild 1125 BLAKE2B 05c5efabe98d057c5dfd1b0ea131ea61876bf0a953bc187e6d338911ecc5c26c53c7446857eb61d86986b1e47e54cd49a0984556e66272e30dd3b16627802583 SHA512 4a5300cb214b1e9f47f6925ff4f4869f08c3859a3df8192d3aa381d6388e121d820cf2fc2b5be19beeec958c93108e44294d5d4ba2b5b4d1f2bb2a43344ab87a MISC metadata.xml 480 BLAKE2B 15cfe108e1870ef152c0b6b52bf912e6d57616fa9a6483fe77360b6f73e3b9e982338afbf3dc10d1b44d725df2253895988e01416827fbda817a453a424ad633 SHA512 8b24f6a0b49b0f078b4ad6cb401efda9b89f514db66309dbc2e4518ebbd48b7f39340b3fee42a35f0c446fda43124a67821b7bc30fea3b20e965779ff8a39135 diff --git a/dev-ruby/airbrussh/airbrussh-1.5.0.ebuild b/dev-ruby/airbrussh/airbrussh-1.5.0.ebuild index 2dfb1c593400..3f165e301b56 100644 --- a/dev-ruby/airbrussh/airbrussh-1.5.0.ebuild +++ b/dev-ruby/airbrussh/airbrussh-1.5.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -16,7 +16,7 @@ SRC_URI="https://github.com/mattbrictson/airbrussh/archive/v${PV}.tar.gz -> ${P} LICENSE="MIT" SLOT="1" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +KEYWORDS="amd64 ~ppc ~ppc64 ~x86" IUSE="" ruby_add_rdepend ">dev-ruby/sshkit-1.7.0" diff --git a/dev-ruby/airbrussh/airbrussh-1.5.1.ebuild b/dev-ruby/airbrussh/airbrussh-1.5.1.ebuild new file mode 100644 index 000000000000..5f831d6f8098 --- /dev/null +++ b/dev-ruby/airbrussh/airbrussh-1.5.1.ebuild @@ -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" + +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 +} diff --git a/dev-ruby/bcrypt_pbkdf/Manifest b/dev-ruby/bcrypt_pbkdf/Manifest index b2d21f5ca5ae..cef8ddb5fc1e 100644 --- a/dev-ruby/bcrypt_pbkdf/Manifest +++ b/dev-ruby/bcrypt_pbkdf/Manifest @@ -1,3 +1,3 @@ DIST bcrypt_pbkdf-1.1.0.gem 24576 BLAKE2B 4fb9449c23c1a1caefbe7acae630eff9c6ee22b77d1eaed6475400ab2b37186d3f15b867cdad364daaaf27d6b817d6a2a49cfbf567a889264fdd64903f06cf89 SHA512 a7b9f123274a2f93e183be7339149b1df3b185331fdc63af58e342ae4bb734fdcf709214a50922218b837481349948e10ec879f9b8e1a6928b1b7b5617f83be5 -EBUILD bcrypt_pbkdf-1.1.0-r2.ebuild 1113 BLAKE2B b933f85729162b2eb83346b66d8557b7cdb6dd053e75c6ba5a8a1df6cabbb0ad7ba83f2b9c218d0a2a21e231ba7e07c5aebf0c6c662cd0e7f8af1e24281fd49d SHA512 170a3961fa00192ba854dbd6264bf18ae8e4ed43ba4618c7a8a3fcee795c1750c143d49185d43a90cfed2c7117e4f04e14b4e31dbe5ffd01266664adda2ec821 +EBUILD bcrypt_pbkdf-1.1.0-r2.ebuild 1219 BLAKE2B 6f893ed46e736c6be1ec11bd90791541095da4de1a341c5a92a53864fac3292062fbd2a9120aa55bc6333c918837c2c32bea69c2d11908971851431596dae9f1 SHA512 513da467d2f16ff731ae049a4e995b4dbbbdfb8404e823bd841d1eb7ce257240fb773bbc2208c5991012aea36d43a1eaf833d5d7c4fd9a2dbf3857808ce9066b MISC metadata.xml 352 BLAKE2B f2c9cc325b0c9edf94cb0f2817dda3582647fcc80cfe85732598dc04b892c1d3f81bff8e7ec45254aad4390c28a833fd75a8af1c5c0a9f5d82df0e7013edfb4c SHA512 361cb72236f48394a7481261e8c55fd3c25f3212e6e11caf341d7b95d264c0eca3dd80f165cf6655a606b04a16f1204112f05683b05ca3be4f3b8b0a687ea2b7 diff --git a/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.1.0-r2.ebuild b/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.1.0-r2.ebuild index da962783124c..3f22ce59f2f1 100644 --- a/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.1.0-r2.ebuild +++ b/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.1.0-r2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby27 ruby30 ruby31 ruby32" +USE_RUBY="ruby31 ruby32 ruby33" RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" @@ -30,6 +30,10 @@ all_ruby_prepare() { -e '/bundler/ s:^:#:' \ -i Rakefile || die + # Fix minitest deprecation + sed -e 's/MiniTest::Unit::TestCase/Minitest::Test/' \ + -i test/*/*_test.rb || die + sed -i -e 's/git ls-files/find * -print/' bcrypt_pbkdf.gemspec || die } diff --git a/dev-ruby/shoulda-context/Manifest b/dev-ruby/shoulda-context/Manifest index 30e3ee10a12c..1a3400f8fc6e 100644 --- a/dev-ruby/shoulda-context/Manifest +++ b/dev-ruby/shoulda-context/Manifest @@ -1,5 +1,7 @@ +AUX shoulda-context-2.0.0-file-exists.patch 968 BLAKE2B 8b8210c86825dda93f9dd93711c374bd15bd9a9629d0b5d3f31802034beff71f11f3c46fd28455efa3a34e9bf2ab8274eea639710c570eedd5ccb23dd9e6918c SHA512 25a10a6448ae630a06faa7f2c4a98dce7d6148cc4e2e1761975c1d260cc3231ca3c4adb523c06d35847794efc4978ae042fbfe75aa98f2a3adc79ab38b77c522 DIST shoulda-context-1.2.2.gem 24064 BLAKE2B a6068da369c00a36e6056a8ebba96eca90efddf94613dfc90c9f2a47bec2c054a41fa61b861b2f3ec1195e417bdc54ab60d53f91bc5e0f167eac07b84880892b SHA512 b09f5ce2db59bbb26d5678b17b6641b79df7983d25e81a31bc10c42b702bdba09795b692d711d59c103beb2f691b503567e37c46668f77e600416551ef2c5e05 DIST shoulda-context-2.0.0.gem 34304 BLAKE2B b31f7e052b54fb60fb7fff84fc48beed406864b871f3c125db4f28d1ce0f400bb0ad3479d438d20a28f585b6e5da101b71228f598e6bdc177512f048273a8524 SHA512 c8d856a95b3dfe85fd92c79f18e03a2765ad219b83ab132017fefcffd0262b04bcebf267e6bbaec0ed3dff1d4d345bd74c1f9db1d2a22938ee8d85ee1078ac6e EBUILD shoulda-context-1.2.2-r1.ebuild 859 BLAKE2B 62cb7a49ee03073a56aa47994661813869c8cf7234ea485d1d5c967a51afa870d6f4f7477919c979b3ca219b48c6e228dc98c44736badc3d1de2bf5a0c646ac8 SHA512 c12fabefa529d8c4b4b79d279d3d2ae45f7d30605de976b207f77b375efc4d5461d7cafa68b8579c96c6ac6673495bf52add1eff214b1705cebe560fd465010f +EBUILD shoulda-context-2.0.0-r1.ebuild 1177 BLAKE2B ea6ff004d04b607b6631002dd074a1ea21c3e84bd209548f30da6e76c3f48becac0a0b31819b4bf569e4f422c92e4d06d9e63160c725fa6dd2ddff52a46edea0 SHA512 10aa17f6a2319628a082a558f2f55b2f7aad34e86dc88efa1d8486e883b350f1b17b64f0c8e8c84d3da695ccd0e9d073e43966b3bb6b0874d2761636bad5baea EBUILD shoulda-context-2.0.0.ebuild 1120 BLAKE2B 28a66e13eda3058a3e722adf85b4b01847af0e31965bffa88778baa0aaff3fe2c1d776cc13563fd25ca49f8921a40ae7c10a5a4699a599dd6a062daff8dcb17d SHA512 454d8d4f805892218cf637c7ee3181bdd7d0d1002f6a57602f024b7ed52015a8cca7a656786e613838a1ce90ff5e863cc35e75d4089069268c0407e245d741e0 MISC metadata.xml 412 BLAKE2B cdab2c06a1407db99bd231afebddc4fd87361378cec2767b0b58c0da4fe7d3ceaa522b0a0dbede8ca496ca1840d37ac257de62f12135ffb6ea2922eac9160d84 SHA512 16fbc3b54f33c73173d09e5af860fb1e46c8498574b2f2b727e164052c8e813f25a6a75b541442469d961b515a52d5562157404136a8c00125e5c122f91a3003 diff --git a/dev-ruby/shoulda-context/files/shoulda-context-2.0.0-file-exists.patch b/dev-ruby/shoulda-context/files/shoulda-context-2.0.0-file-exists.patch new file mode 100644 index 000000000000..78f7dfc3f0b5 --- /dev/null +++ b/dev-ruby/shoulda-context/files/shoulda-context-2.0.0-file-exists.patch @@ -0,0 +1,26 @@ +From ee3aeb239ea69c9a855d64e8c1cfda87958c833d Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch@redhat.com> +Date: Thu, 22 Dec 2022 15:03:17 +0100 +Subject: [PATCH] Use File.exist? + +`File.exists?` was deprecated while ago and removed in Ruby 3.2. + +https://bugs.ruby-lang.org/issues/17391 +https://github.com/ruby/ruby/pull/5352 +--- + exe/convert_to_should_syntax | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/exe/convert_to_should_syntax b/exe/convert_to_should_syntax +index d1264d07..ebdda984 100755 +--- a/exe/convert_to_should_syntax ++++ b/exe/convert_to_should_syntax +@@ -31,7 +31,7 @@ usage("Temp directory '#{TMP}' is not valid. Set TMPDIR environment variable to + + file = ARGV.shift + tmpfile = File.join(TMP, File.basename(file)) +-usage("File '#{file}' doesn't exist") unless File.exists?(file) ++usage("File '#{file}' doesn't exist") unless File.exist?(file) + + FileUtils.cp(file, tmpfile) + contents = File.read(tmpfile) diff --git a/dev-ruby/shoulda-context/shoulda-context-2.0.0-r1.ebuild b/dev-ruby/shoulda-context/shoulda-context-2.0.0-r1.ebuild new file mode 100644 index 000000000000..61cc12eb8528 --- /dev/null +++ b/dev-ruby/shoulda-context/shoulda-context-2.0.0-r1.ebuild @@ -0,0 +1,42 @@ +# 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_EXTRADOC="CONTRIBUTING.md README.md" + +RUBY_FAKEGEM_EXTRAINSTALL="tasks" + +# Don't install the conversion script to avoid collisions with older +# shoulda. +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Context framework extracted from Shoulda" +HOMEPAGE="https://github.com/thoughtbot/shoulda-context" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="doc test" + +PATCHES=( "${FILESDIR}/${P}-file-exists.patch" ) + +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 + >=dev-ruby/mocha-1.0 )" + +all_ruby_prepare() { + sed -e '/\(current_bundle\|CurrentBundle\)/ s:^:#:' \ + -e '/pry-byebug/ s:^:#:' \ + -e '/warnings_logger/ s:^:#: ; /WarningsLogger/,/^)/ s:^:#:' \ + -e '/rails_application_with_shoulda_context/ s:^:#:' \ + -i test/test_helper.rb || die + rm -f test/shoulda/{railtie,rerun_snippet,test_framework_detection}_test.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'Dir["test/shoulda/*_test.rb"].each { require _1 }' || die +} diff --git a/dev-ruby/sshkit/Manifest b/dev-ruby/sshkit/Manifest index cda3e3d0d8d1..69b35298a3d4 100644 --- a/dev-ruby/sshkit/Manifest +++ b/dev-ruby/sshkit/Manifest @@ -2,8 +2,10 @@ DIST sshkit-1.21.4.gem 144896 BLAKE2B a4f7cd2342810422c6dd680370c741136bbe1cc596 DIST sshkit-1.21.5.gem 145408 BLAKE2B 19fa326d30ddae12be84b7cf460d5d44c48fc52cf89f61a775999eae7cbcc985ac7b335dd4aa772e8966decc24a6e5a894621e9873ac133122fb8e18d1c82945 SHA512 e441da155323dd71c235d3ebb4ddccd41987183cffe4e23cb52404ba25a16ae4f3c1f786d7be4db6dc8733013720b99d12c8f3369f1d8841f967407b3edb28b2 DIST sshkit-1.21.6.gem 145408 BLAKE2B 2196d0d8959a38d10e40de6c758c9cf3d64c9622de1dd0825a74435c45666450a554045172bcc1a1cbac33edcf962e93ad07a992d52bf946e3a060606c145e09 SHA512 8f6db82cd3607e947b6fd7ad0c5010b631254bcd12c19489e8446d83b352f9333baf9ed77aa197a4f0a081f75363404f5e48289f2d1f701c1a23cd834cca0ac4 DIST sshkit-1.21.7.gem 145408 BLAKE2B e1fdeff6f9935d4d3bce846545d13779e0fce3f989bcb81e5a51e8342bcdce364b398ef480829c49a3ae90677efa5f7a5c4868de8fdc5f4b72f797c4b2513132 SHA512 7ba9fc8958293da7307720bc944c85f2d80991f8552833768793eaea3b49fde4d11d62bd39b90615a6957aa7af13f26cc7ba8b8279a29aa46a4283fa01151374 +DIST sshkit-1.22.0.gem 146944 BLAKE2B e257fc8b7c5a803a310f6193910fa93b5ae388b5265095eececcd342abefdba95a6bb9bdd3813e1eb7a999e73c116b973a9b903ae43ed804c5bface758721719 SHA512 fea5d130c0821f8762f76fa3eb9daa6104bea0f1dd59a0cf3845becc96773d2ac81b909151c9535d68dd1fd17a6f6071cde048d74c9c46105ac3d5d143c20d3b EBUILD sshkit-1.21.4.ebuild 1173 BLAKE2B 1c68037724151dac4c514f8fc7546ab49b4b03dc5f6bd6bfc5d29f5f4b65b47b83e00c3824599b265ac162ed2c306317d8598dc843f7b9c6933e47358e7acd5e SHA512 21c2a0b2cda3dcc86a937c363c7f63064ee3f4904f62ca5caf60865ea921f53d03f3512411e8c465432ac10c5fa3016ee21364071cbbfcc5275bf06791474a53 EBUILD sshkit-1.21.5.ebuild 1166 BLAKE2B 0b251570b5c27791af0b74d48952450eb0e5f67e0229a4df7067cf2374da03eda39a9b150a506b568609f99964e02cc839af34b93e580157c1e78a7951a2b9b0 SHA512 a58b7329f5bc7cd6c4d4d20f05a9399f8333df514b5e33120bdcfe3273c498685c6d978d2321df84690d0304a03a2b5803f75c4cbdaf678b15a62f4ff8b44550 EBUILD sshkit-1.21.6.ebuild 1160 BLAKE2B 500cabe634e181b1d8b6e70cd3bb5e6ef6cf7d6eeaf77e93aa65223a2295d321cefba4d3da0f13a9bc0792b783ddb5dfc353ee5aec848da0a868484e546aea19 SHA512 cfe0064f75f165507fc1b944cade05da61f680d0889d0fd2c801199220e2c46f0c7a4a3f0b0104f43366763fe170e683e7f0a60d28f4627dfcf01dd8c1900090 EBUILD sshkit-1.21.7.ebuild 1178 BLAKE2B dd1bf80ea543df6e9e3e1272cdd6ec8de7bf39dd11abfe580ba655dc04d3310c5db131278a0654f34c2d00fc7f83babf46b17ef59fe804c02c48d7eba1ff39aa SHA512 28c045e8fec48342652f9a1a4850f3c4a8db1c459dc9ab42733d172651bd21f93d6533b77f398cd3453737333b4f81237bf138f4e13b152312a219aa1225b614 +EBUILD sshkit-1.22.0.ebuild 1197 BLAKE2B 69d5c02e1a2c4d5ac35ad647f892e9f984365098f813e78e250d553628fe7060122fcda33502d583ac8e1f8dfcf27c698ab647a5d07543f70d42d8716e744ede SHA512 0c4e20ba82ead96b9f14048bfba6ff2fa577b0920d8132236cb7f37ced9cff5c6f32facf3f30897858b89754676495400c850ffdd860a9ace49a46896c9aa3f7 MISC metadata.xml 344 BLAKE2B 16679900db0e4f70c9afc7fee058f72fd4df86453f5870666a329d1af1380894b7e592b89e02a4b23a07307765778f302cbd3166e45da66bcabe66b97b450d08 SHA512 afe79f300e02bfbcff4e984092bde60d4a8c6c528a0fd2816456bb5bb12c03aff61512e94e4ecbd6e76a947c2e5e22a433bb32fd052e7e0ac6e78814803f20a1 diff --git a/dev-ruby/sshkit/sshkit-1.22.0.ebuild b/dev-ruby/sshkit/sshkit-1.22.0.ebuild new file mode 100644 index 000000000000..e5a34a057ff2 --- /dev/null +++ b/dev-ruby/sshkit/sshkit-1.22.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +# There are functional tests that require vagrant boxes to be set up. +RUBY_FAKEGEM_TASK_TEST="test:units" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md FAQ.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="SSHKit makes it easy to write structured, testable SSH commands in Ruby" +HOMEPAGE="https://github.com/capistrano/sshkit" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +ruby_add_rdepend " + dev-ruby/mutex_m + >=dev-ruby/net-ssh-2.8.0:* + >=dev-ruby/net-scp-1.1.2 + >=dev-ruby/net-sftp-2.1.2 +" + +ruby_add_bdepend "test? ( dev-ruby/minitest dev-ruby/mocha )" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile test/helper.rb || die + sed -e '/\(turn\|unindent\|reporters\)/I s:^:#:' \ + -e '1irequire "pathname"' \ + -i test/helper.rb || die + + # Fix assumption about parent directory name + sed -i -e '/assert_match/ s/sshkit/sshkit.*/' test/unit/test_deprecation_logger.rb || die +} + +each_ruby_test() { + # Run tests directly to avoid dependencies in the Rakefile + ${RUBY} -Ilib:test:. -e "Dir['test/unit/**/test*.rb'].each{|f| require f}" || die +} |