diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-21 08:23:43 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-21 08:23:43 +0000 |
commit | 1826a30af36ae674cb71400eacaf0a0762df510f (patch) | |
tree | 25fc08839f1c2764daac15491280f3a6fd11d48b /dev-ruby/capistrano/capistrano-3.17.2.ebuild | |
parent | 3b32ae7547d742f6e65770361188670710bec186 (diff) |
gentoo auto-resync : 21:02:2023 - 08:23:43
Diffstat (limited to 'dev-ruby/capistrano/capistrano-3.17.2.ebuild')
-rw-r--r-- | dev-ruby/capistrano/capistrano-3.17.2.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/capistrano/capistrano-3.17.2.ebuild b/dev-ruby/capistrano/capistrano-3.17.2.ebuild new file mode 100644 index 000000000000..9fda8211bc2e --- /dev/null +++ b/dev-ruby/capistrano/capistrano-3.17.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="A distributed application deployment system" +HOMEPAGE="https://capistranorb.com/" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/airbrussh-1.0.0 + >=dev-ruby/sshkit-1.9:0 + >=dev-ruby/rake-10.0.0 + dev-ruby/i18n:*" +ruby_add_bdepend " + test? ( dev-ruby/mocha )" + +all_ruby_prepare() { + # Avoid specs that depend on capistrano already being installed + rm -f spec/lib/capistrano/doctor/gems_doctor_spec.rb || die + + # Avoid specs that require a TTY + sed -i -e '/asking for a variable/,/^ end/ s:^:#:' spec/integration/dsl_spec.rb || die + rm -f spec/lib/capistrano/configuration/question_spec.rb spec/lib/capistrano/doctor/output_helpers_spec.rb || die +} |