1 |
commit: 954d757ad6b6d71ac8901716b100fe3dd45fd6f5 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 26 08:16:13 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 26 08:16:58 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=954d757a |
7 |
|
8 |
dev-ruby/travis: drop unused typhoeus dep |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/travis/travis-1.10.0-r1.ebuild | 60 +++++++++++++++++++++++++++++++++ |
14 |
1 file changed, 60 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/travis/travis-1.10.0-r1.ebuild b/dev-ruby/travis/travis-1.10.0-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 000000000000..4d0f2532bcc7 |
19 |
--- /dev/null |
20 |
+++ b/dev-ruby/travis/travis-1.10.0-r1.ebuild |
21 |
@@ -0,0 +1,60 @@ |
22 |
+# Copyright 1999-2021 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=8 |
26 |
+USE_RUBY="ruby26" |
27 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
28 |
+ |
29 |
+RUBY_FAKEGEM_EXTRAINSTALL="assets" |
30 |
+ |
31 |
+inherit bash-completion-r1 ruby-fakegem |
32 |
+ |
33 |
+DESCRIPTION="Travis CI Client (CLI and Ruby library)" |
34 |
+HOMEPAGE="https://github.com/travis-ci/travis.rb" |
35 |
+ |
36 |
+LICENSE="MIT" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~amd64" |
39 |
+IUSE="" |
40 |
+#RESTRICT="test" |
41 |
+ |
42 |
+DEPEND+="test? ( dev-vcs/git )" |
43 |
+RDEPEND+="dev-vcs/git" |
44 |
+ |
45 |
+ruby_add_bdepend " |
46 |
+ test? ( >dev-ruby/rack-test-0.6 dev-ruby/rspec-its ) |
47 |
+ >dev-ruby/sinatra-1.3 |
48 |
+" |
49 |
+ |
50 |
+ruby_add_rdepend " |
51 |
+ dev-ruby/faraday:1 |
52 |
+ dev-ruby/faraday_middleware:1 |
53 |
+ >=dev-ruby/gh-0.17 |
54 |
+ dev-ruby/highline:2 |
55 |
+ >=dev-ruby/json-2.3:2 |
56 |
+ >=dev-ruby/launchy-2.1 |
57 |
+ >dev-ruby/pusher-client-0.4 |
58 |
+" |
59 |
+ |
60 |
+all_ruby_prepare() { |
61 |
+ if use test ; then |
62 |
+ git init --quiet . || die |
63 |
+ git remote add origin "${HOMEPAGE}" || die |
64 |
+ touch .travis.yml || die |
65 |
+ fi |
66 |
+ |
67 |
+ # Remove failing spec where cause is not fully clear. |
68 |
+ # May be related to highline compatibility issues. |
69 |
+ rm spec/cli/login_spec.rb || die |
70 |
+ |
71 |
+ # Remove failing specs where $params keys are reset somewhere. |
72 |
+ rm -f spec/cli/{cancel,restart}_spec.rb || die |
73 |
+ |
74 |
+ sed -i -e 's/json_pure/json/' ../metadata || die |
75 |
+} |
76 |
+ |
77 |
+all_ruby_install() { |
78 |
+ all_fakegem_install |
79 |
+ |
80 |
+ newbashcomp "assets/travis.sh" "travis" |
81 |
+} |