1 |
commit: 2ff58ac4f782597c51d4ce07222c030f3dd38db3 |
2 |
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 16 23:48:55 2019 +0000 |
4 |
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 16 23:51:33 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ff58ac4 |
7 |
|
8 |
dev-ruby/travis: add ruby25 |
9 |
|
10 |
Package-Manager: Portage-2.3.59, Repoman-2.3.12 |
11 |
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/travis/travis-1.8.9-r1.ebuild | 57 ++++++++++++++++++++++++++++++++++ |
14 |
1 file changed, 57 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/travis/travis-1.8.9-r1.ebuild b/dev-ruby/travis/travis-1.8.9-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..628e3462bf4 |
19 |
--- /dev/null |
20 |
+++ b/dev-ruby/travis/travis-1.8.9-r1.ebuild |
21 |
@@ -0,0 +1,57 @@ |
22 |
+# Copyright 1999-2018 Gentoo Foundation |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=6 |
26 |
+USE_RUBY="ruby23 ruby24 ruby25" |
27 |
+RUBY_FAKEGEM_RECIPE_DOC="rdoc" |
28 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec" |
29 |
+ |
30 |
+RUBY_FAKEGEM_EXTRAINSTALL="assets" |
31 |
+ |
32 |
+inherit bash-completion-r1 ruby-fakegem |
33 |
+ |
34 |
+DESCRIPTION="Travis CI Client (CLI and Ruby library)" |
35 |
+HOMEPAGE="https://github.com/travis-ci/travis.rb" |
36 |
+ |
37 |
+LICENSE="MIT" |
38 |
+SLOT="0" |
39 |
+KEYWORDS="~amd64" |
40 |
+IUSE="" |
41 |
+#RESTRICT="test" |
42 |
+ |
43 |
+DEPEND+="test? ( dev-vcs/git )" |
44 |
+RDEPEND+="dev-vcs/git" |
45 |
+ |
46 |
+ruby_add_bdepend " |
47 |
+ test? ( >dev-ruby/rack-test-0.6 ) |
48 |
+ >dev-ruby/sinatra-1.3 |
49 |
+" |
50 |
+ |
51 |
+ruby_add_rdepend " |
52 |
+ dev-ruby/backports |
53 |
+ >dev-ruby/faraday-0.9 |
54 |
+ >=dev-ruby/faraday_middleware-0.9.1 |
55 |
+ >dev-ruby/gh-0.13 |
56 |
+ >=dev-ruby/highline-1.6:0 |
57 |
+ >dev-ruby/launchy-2.1 |
58 |
+ >dev-ruby/pusher-client-0.4 |
59 |
+ dev-ruby/typhoeus:0 |
60 |
+" |
61 |
+ |
62 |
+all_ruby_prepare() { |
63 |
+ if use test ; then |
64 |
+ git init --quiet . || die |
65 |
+ git remote add origin "${HOMEPAGE}" || die |
66 |
+ touch .travis.yml || die |
67 |
+ fi |
68 |
+ |
69 |
+ # Remove failing spec where cause is not fully clear. |
70 |
+ # May be related to highline compatibility issues. |
71 |
+ rm spec/cli/login_spec.rb || die |
72 |
+} |
73 |
+ |
74 |
+all_ruby_install() { |
75 |
+ all_fakegem_install |
76 |
+ |
77 |
+ newbashcomp "assets/travis.sh" "travis" |
78 |
+} |