1 |
commit: b22b4689c99fccb8ba515918756a52ce134c5fbb |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 17 07:05:47 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 18 04:48:20 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b22b4689 |
7 |
|
8 |
dev-util/aruba: add 1.1.2 |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.2 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-util/aruba/Manifest | 1 + |
14 |
dev-util/aruba/aruba-1.1.2.ebuild | 63 +++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 64 insertions(+) |
16 |
|
17 |
diff --git a/dev-util/aruba/Manifest b/dev-util/aruba/Manifest |
18 |
index 35187b59fc1..bc5fd83ce2d 100644 |
19 |
--- a/dev-util/aruba/Manifest |
20 |
+++ b/dev-util/aruba/Manifest |
21 |
@@ -2,3 +2,4 @@ DIST aruba-0.14.14.gem 172544 BLAKE2B 085a0a030c5c4d1527e80ce004adeb80fc8a9eca85 |
22 |
DIST aruba-0.6.2.gem 75776 BLAKE2B 569af009cc20b644878fda25b5e7f79bd2f7c6f5fa9ef2503a5e730b8eb5938872563dace27031d31847bacfbb7e4764079da74fa2a917cc3d98a596cf2248c7 SHA512 ad859aa34f6e6778d9eb92b7e8f298180250e0690b21285e48b85dda88c09c74437ed0dff4e07ea8a02e8c784841ef89504219aa844457273349b8072ebc761e |
23 |
DIST aruba-1.0.2.tar.gz 132977 BLAKE2B 762abef412a62e91931690a0a56ee1b04868c9f446f79e1c282e15c1ded1faf609d480e7fb032b09c3230e2d233b3cb0e09a58b2950c7a138f486c34339b8a0c SHA512 ff9161a94627e1bd123c00a0c3dd8624034b10741867d60c85264322e4ae5f2226d585d361fe8f2229003c187a1dff38c4278c359f018ca28cef1fd6efd26aa0 |
24 |
DIST aruba-1.0.3.tar.gz 133790 BLAKE2B 4008cfec1bc1d63113b1d8961e3bd6219f3884875350b5f2ec6676f6a6167e9bbc6b759c8cc0a29a6774877d3ab2f1c95954d83dbfe3e79669cc8968c1c533ec SHA512 ff89846b805267e2a4bff394c8285b9227d40a2cd93a7ca8fdf8cd6d38a3b2144d5e96b0bd1cef94714df630ad7a779d609e05585c671371124b400130f3b3b4 |
25 |
+DIST aruba-1.1.2.tar.gz 132680 BLAKE2B 328c012eccfb988eec280a102da94150d1811fc67816c09aa2b94f1b6a06ca68e21cd4612e87fba089f4eb9f3b90716cfe121bda306936eeb53019cec539e651 SHA512 58f658c118fe83ddfbb6c361ab3ce6ae5e6084e4233dba62350eba1c911d8ad0558d1ca604206691d097a48453d608042bd992730b92971cdd3d2475d8f6ca4e |
26 |
|
27 |
diff --git a/dev-util/aruba/aruba-1.1.2.ebuild b/dev-util/aruba/aruba-1.1.2.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..1b77e133244 |
30 |
--- /dev/null |
31 |
+++ b/dev-util/aruba/aruba-1.1.2.ebuild |
32 |
@@ -0,0 +1,63 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+USE_RUBY="ruby26 ruby27" |
38 |
+ |
39 |
+RUBY_FAKEGEM_RECIPE_TEST="cucumber" |
40 |
+RUBY_FAKEGEM_RECIPE_DOC="none" |
41 |
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" |
42 |
+RUBY_FAKEGEM_BINDIR="exe" |
43 |
+ |
44 |
+RUBY_FAKEGEM_GEMSPEC="aruba.gemspec" |
45 |
+ |
46 |
+inherit ruby-fakegem |
47 |
+ |
48 |
+DESCRIPTION="Cucumber steps for driving out command line applications" |
49 |
+HOMEPAGE="https://github.com/cucumber/aruba" |
50 |
+SRC_URI="https://github.com/cucumber/aruba/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
51 |
+LICENSE="MIT" |
52 |
+ |
53 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86" |
54 |
+SLOT="$(ver_cut 1)" |
55 |
+IUSE="" |
56 |
+ |
57 |
+DEPEND="${DEPEND} test? ( sys-devel/bc )" |
58 |
+RDEPEND="${RDEPEND}" |
59 |
+ |
60 |
+ruby_add_rdepend " |
61 |
+ =dev-ruby/bundler-2* |
62 |
+ >=dev-ruby/childprocess-2.0 <dev-ruby/childprocess-5 |
63 |
+ >=dev-ruby/contracts-0.16.0:0 <dev-ruby/contracts-0.18:0 |
64 |
+ >=dev-ruby/rspec-expectations-3.4:3 |
65 |
+ dev-ruby/thor:1 |
66 |
+ >=dev-util/cucumber-2.4 <dev-util/cucumber-7" |
67 |
+ |
68 |
+ruby_add_bdepend "test? ( dev-ruby/pry dev-ruby/rspec:3 )" |
69 |
+ |
70 |
+all_ruby_prepare() { |
71 |
+ # Remove bundler-related code. |
72 |
+ sed -i -e '/[Bb]undler/d' Rakefile spec/spec_helper.rb || die |
73 |
+ rm Gemfile || die |
74 |
+ |
75 |
+ sed -i -e '/simplecov/I s:^:#:' \ |
76 |
+ -e '/Before/,/^end/ s:^:#:' \ |
77 |
+ spec/spec_helper.rb features/support/env.rb || die |
78 |
+ rm -f features/support/simplecov_setup.rb || die |
79 |
+ |
80 |
+ sed -e 's:_relative ": "./:' \ |
81 |
+ -e 's/git ls-files -z/find * -print0/' \ |
82 |
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die |
83 |
+ |
84 |
+ # Avoid features with minor output differences |
85 |
+ sed -i -e '/Use .aruba. with .Minitest./i@wip' features/01_getting_started_with_aruba/supported_testing_frameworks.feature || die |
86 |
+ sed -i -e '/Create files for Minitest/i@wip' features/06_use_aruba_cli/initialize_project_with_aruba.feature || die |
87 |
+ |
88 |
+ # Avoid feature that requires aruba to be installed already |
89 |
+ rm -r features/03_testing_frameworks/cucumber/disable_bundler.feature || die |
90 |
+} |
91 |
+ |
92 |
+each_ruby_test() { |
93 |
+ RSPEC_VERSION=3 ruby-ng_rspec |
94 |
+ RUBYLIB="$(pwd)/lib" ruby-ng_cucumber |
95 |
+} |