summaryrefslogtreecommitdiff
path: root/dev-ruby/net-ssh-gateway
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-14 18:19:08 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-14 18:19:08 +0000
commit9ecdcfa46d8257a208dac1edc65aea2ccf11a799 (patch)
treeb279d7ba5ed35fb11619b62e48c61254e46ed4a8 /dev-ruby/net-ssh-gateway
parenta18f8581f716592db51c45679c46e319db13ca29 (diff)
gentoo auto-resync : 14:03:2023 - 18:19:08
Diffstat (limited to 'dev-ruby/net-ssh-gateway')
-rw-r--r--dev-ruby/net-ssh-gateway/Manifest1
-rw-r--r--dev-ruby/net-ssh-gateway/net-ssh-gateway-2.0.0-r2.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/net-ssh-gateway/Manifest b/dev-ruby/net-ssh-gateway/Manifest
index 9dec79a63975..c09c4b3639f4 100644
--- a/dev-ruby/net-ssh-gateway/Manifest
+++ b/dev-ruby/net-ssh-gateway/Manifest
@@ -1,3 +1,4 @@
DIST net-ssh-gateway-2.0.0.tar.gz 7825 BLAKE2B 05ade5aac288ee634aea37acfc68c9781e8178bf0ef92abafac13858a86ff952a2b30b6f92dc08f3856d9dd02a9795e0b93c15543b932070b9ec3f6a50c03e52 SHA512 6595c2a2a25ca9bffb942497be984773c10746f34e1dbba3d72503cef3c88e5bb50bdc8713c246aa6e38272540fb0ced66a3909bc02df96f511b0dc9fc50d735
EBUILD net-ssh-gateway-2.0.0-r1.ebuild 929 BLAKE2B 0f65e5daf0f4bb110a5a8463f78063ca72f350efb22ea693a43b6252d795b59790002965118c32af896b2ac2c416f0c3d3cb563618c893a37f685bf8931deacd SHA512 5e5ff4efb935841f43542c12fdf2cdc9c98434efeb7a4e212517c2058cbdab039822331f600a48dddd4366bfb64a70c364bc24c7fe2ebf44d265a7521a285cc5
+EBUILD net-ssh-gateway-2.0.0-r2.ebuild 932 BLAKE2B 08eac2919e9025152ac1fd84c4000a061fc11e96a8111fc695e2d1578974e042a654eab898d2d12af5ddcf29bd4aa541d36bb6fc25ada17a2ff7af774c7e97d3 SHA512 7c822233d3c1133e48371496b46dd06fdf2dea0f055539621870683555e23bc2534297707cfe546d1708fb0a68191e7e65b58114dea29708e1b80f4953c94134
MISC metadata.xml 332 BLAKE2B 37be14a34a0886024ca5dcf16c801d5eb44d93aec49cc0f0825ed2aa43c8e59b2dcd0fcb16d47ba330b460b887dc22d29e3479ae25057cae4a5cf06d24d1a63b SHA512 d8e6cf1c5aa337bb3595c7ef78446b2773902b7576166e1cab1a72c0cbdd173e533c8abb71ee4af7818c32b779e9cb1a490c55001c9c04f8a6f4abb931580f77
diff --git a/dev-ruby/net-ssh-gateway/net-ssh-gateway-2.0.0-r2.ebuild b/dev-ruby/net-ssh-gateway/net-ssh-gateway-2.0.0-r2.ebuild
new file mode 100644
index 000000000000..5272baac62c2
--- /dev/null
+++ b/dev-ruby/net-ssh-gateway/net-ssh-gateway-2.0.0-r2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.md"
+RUBY_FAKEGEM_GEMSPEC="net-ssh-gateway.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A simple library to assist in enabling tunneled Net::SSH connections"
+HOMEPAGE="https://github.com/net-ssh/net-ssh-gateway"
+SRC_URI="https://github.com/net-ssh/net-ssh-gateway/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="2.0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+ruby_add_depend "dev-ruby/minitest:5
+ dev-ruby/mocha:1.0"
+
+ruby_add_rdepend ">=dev-ruby/net-ssh-4.0.0:*"
+
+all_ruby_prepare() {
+ sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ sed -i -e '/bundler/ s:^:#:' Rakefile test/net/ssh/gateway_test.rb || die
+ sed -i -e 's:mocha/mini_test:mocha/minitest:' test/net/ssh/gateway_test.rb || die
+}