summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-08-21 08:02:51 +0200
committerHans de Graaff <graaff@gentoo.org>2024-08-21 08:03:03 +0200
commitbdb3af317d08e214e90808d02d608e7902e6538b (patch)
treea187f74832a930006a56806de129fde7b429d0ef /dev-ruby
parentdev-cpp/tomlplusplus: add missing cmake BDEPEND (diff)
downloadgentoo-bdb3af317d08e214e90808d02d608e7902e6538b.tar.gz
gentoo-bdb3af317d08e214e90808d02d608e7902e6538b.tar.bz2
gentoo-bdb3af317d08e214e90808d02d608e7902e6538b.zip
dev-ruby/capistrano: add 2.15.11
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/capistrano/Manifest1
-rw-r--r--dev-ruby/capistrano/capistrano-2.15.11.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-ruby/capistrano/Manifest b/dev-ruby/capistrano/Manifest
index bde96d57582a..83e73f290043 100644
--- a/dev-ruby/capistrano/Manifest
+++ b/dev-ruby/capistrano/Manifest
@@ -1,3 +1,4 @@
+DIST capistrano-2.15.11.gem 132608 BLAKE2B fa516191f2167c8215523d73ea1a8768c89d9a4432074a01fc157df56c8bd1dd19116ae812b25d9a31bb76b757a70c1440dd3f8cd23f4d3640fabd83bd61e633 SHA512 6889471a1a47149aba3e44e3f27ebe543745749ca266d854014ea220bdcdaf366329234a1c46914daafb12c0ec666250995d0cb36cb8d1b71e53e6b3c082dc4f
DIST capistrano-2.15.5.gem 132096 BLAKE2B bbaa6bd482cf9bbe7aa01540aa5dab3f32401ffa1476d9057bb8ad420194f1ab2c32d8e744d7c982ebece5c4b5369133dc8378b7adf54c78732f9cb249db2a9e SHA512 10168080c7481ec6fc6f918ac90a3b1ce8f2b36f77411375e33cc915b02d5196ab061ac47e767edd724c82cffd1c2ad0a23ba1f0519cf1f2aae5b429167b19ff
DIST capistrano-3.17.3.gem 70144 BLAKE2B d8bd93bb41a41196394b0959fa0bdf17609c9c53771bbfbf87cbc02b169177ad7cc18613a18d362a7fc775c91a382071d2384262d5cb49b1534678aac575dc55 SHA512 b7b85ebf7309d93aed83f68dc897e5a6cb4c8a929f4427c8a29db2ef6f857ee110256ba80c2fe0ae15f8008597c47be5ec60c192f3268d0df66f761b90d0758f
DIST capistrano-3.18.0.gem 69632 BLAKE2B 679005f347eba2bad71e49b0c591c6179edc566d342b43652dc1be6949589d3bc58b78c91cccc564e6d8bb1f541066917164e000fe41a6997a3d6d12ab9b5e7b SHA512 126abb8934bed1bd1c58f53c1e8cd0ead99499d7e99d09e51290df4619a2f570a3f2f1a5cbdb683f1286a2b9aa7b0a2690a4c165d07705c5157ebf3ed1118f3e
diff --git a/dev-ruby/capistrano/capistrano-2.15.11.ebuild b/dev-ruby/capistrano/capistrano-2.15.11.ebuild
new file mode 100644
index 000000000000..0f50c99ed00a
--- /dev/null
+++ b/dev-ruby/capistrano/capistrano-2.15.11.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="A distributed application deployment system"
+HOMEPAGE="https://capistranorb.com/"
+
+LICENSE="MIT"
+SLOT="2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris"
+IUSE="test"
+
+ruby_add_rdepend "
+ >=dev-ruby/net-ssh-2.0.14:*
+ >=dev-ruby/net-sftp-2.0.2
+ >=dev-ruby/net-scp-1.0.2
+ >=dev-ruby/net-ssh-gateway-1.1.0:*
+ >=dev-ruby/highline-1.2.7"
+ruby_add_bdepend "
+ test? ( dev-ruby/mocha:0.14 )"
+
+PATCHES=( "${FILESDIR}/${PN}-2.15.5-sudo-cleanup.patch" )
+
+all_ruby_prepare() {
+ rm Gemfile || die
+ sed -i -e '/[Bb]undler/d' Rakefile test/utils.rb || die
+ sed -i -e '/pry/ s:^:#:' -e '4igem "mocha", "~>0.14.0"' test/utils.rb || die
+
+ # Avoid copy strategy tests since these fail in some cases due to
+ # complicated (aka unknown) interactions with other parts of the
+ # test suite.
+ rm test/deploy/strategy/copy_test.rb || die
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ ruby_fakegem_binwrapper cap /usr/bin/cap-2 'gem "capistrano", "~>2.0"'
+}