diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-02-14 11:25:18 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-02-15 07:43:53 +0100 |
commit | 9d65067a19753be8243b63b90d4a4e9813033c00 (patch) | |
tree | 4c204bfddc440d57838f3cab8105fa4f14e18bd1 /dev-util/aruba | |
parent | dev-ruby/childlabor: add ruby27 (diff) | |
download | gentoo-9d65067a19753be8243b63b90d4a4e9813033c00.tar.gz gentoo-9d65067a19753be8243b63b90d4a4e9813033c00.tar.bz2 gentoo-9d65067a19753be8243b63b90d4a4e9813033c00.zip |
dev-util/aruba: add 0.14.14
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-util/aruba')
-rw-r--r-- | dev-util/aruba/Manifest | 1 | ||||
-rw-r--r-- | dev-util/aruba/aruba-0.14.14.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-util/aruba/Manifest b/dev-util/aruba/Manifest index 8eb4a80b761c..9c64180e87f4 100644 --- a/dev-util/aruba/Manifest +++ b/dev-util/aruba/Manifest @@ -1,3 +1,4 @@ DIST aruba-0.14.12.gem 172032 BLAKE2B be19078caef5e0d1c50d0f0da0efdbfb6cc128d40605eccd8ec7e89ba655523f4c8a0ac11e59d347439be3ac8da64f7c3ce5ff761c07c716efbc2e51c3bf420e SHA512 f75adf0b4ed04a4516111d7cc5834807f940c517baf652dc8062450d7c284f11c9dc68216757e431a4e1fd084c50c2b0eb274c2d2c3e25795785a44b0a61e06d +DIST aruba-0.14.14.gem 172544 BLAKE2B 085a0a030c5c4d1527e80ce004adeb80fc8a9eca8507211acaf49d947ed412aa54f1319104833a8fbb76d3ce5b77e84b35187234ee97060b51e8877519ed6249 SHA512 612b742bdf89e0272714d709a772eded1c61c654977bb58f7e6e5ef5a8b29dece848bf3c70aa6bc566e6c2a75b3e39e637fa5e37f869fbf4bf3d0997257df9f7 DIST aruba-0.6.2.gem 75776 BLAKE2B 569af009cc20b644878fda25b5e7f79bd2f7c6f5fa9ef2503a5e730b8eb5938872563dace27031d31847bacfbb7e4764079da74fa2a917cc3d98a596cf2248c7 SHA512 ad859aa34f6e6778d9eb92b7e8f298180250e0690b21285e48b85dda88c09c74437ed0dff4e07ea8a02e8c784841ef89504219aa844457273349b8072ebc761e DIST aruba-0.8.1.gem 121344 BLAKE2B 0b601a4d4bcd19159bb23b22b7975d1275ed2ab9c06e9ab550e11a151e953eba9ec4cc05280e69685a54b82996b4863b485a74f91d64270cc058f43272f6df6d SHA512 9d65778828ac1915c56862acb1db0faf6214b102eb892317b390f451aab55750067519fb6cf6e08c55f58b865eaaa78921402d745addf2d3b0038527eb5d898f diff --git a/dev-util/aruba/aruba-0.14.14.ebuild b/dev-util/aruba/aruba-0.14.14.ebuild new file mode 100644 index 000000000000..33c49702f362 --- /dev/null +++ b/dev-util/aruba/aruba-0.14.14.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="cucumber" +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" +RUBY_FAKEGEM_BINDIR="exe" + +inherit ruby-fakegem + +DESCRIPTION="Cucumber steps for driving out command line applications" +HOMEPAGE="https://github.com/cucumber/aruba" +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86" +SLOT="0" +IUSE="" + +DEPEND="${DEPEND} test? ( sys-devel/bc )" +RDEPEND="${RDEPEND}" + +ruby_add_rdepend " + >=dev-ruby/childprocess-0.6.3 <dev-ruby/childprocess-4 + >=dev-ruby/contracts-0.9:0 + >=dev-ruby/ffi-1.9 + >=dev-ruby/rspec-expectations-2.99:2 + >=dev-ruby/thor-0.19:0 + >=dev-util/cucumber-1.3.19" + +ruby_add_bdepend "test? ( dev-ruby/rspec:3 >=dev-ruby/bcat-0.6.2 )" + +all_ruby_prepare() { + # Remove bundler-related code. + sed -i -e '/[Bb]undler/d' Rakefile spec/spec_helper.rb || die + rm Gemfile || die + + sed -i -e '/simplecov/I s:^:#:' \ + -e '/Before/,/^end/ s:^:#:' \ + spec/spec_helper.rb features/support/env.rb || die + rm -f features/support/simplecov_setup.rb || die + sed -i -e '1i require "time"' spec/spec_helper.rb || die + + sed -i -e '/Scenario: Default value/i@wip' features/02_configure_aruba/home_directory.feature || die + sed -i -e '/Use ~ in path/i@wip' features/04_aruba_api/core/expand_path.feature || die +} + +each_ruby_test() { + RSPEC_VERSION=3 ruby-ng_rspec + RUBYLIB="$(pwd)/lib" ruby-ng_cucumber +} |