1 |
commit: 81d0bd1e7d8fc556d4849740d2d8c9190342ebe3 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 4 06:46:32 2016 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 4 06:47:06 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81d0bd1e |
7 |
|
8 |
dev-ruby/selenium-webdriver: add ruby23 revision |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
.../selenium-webdriver-2.53.4-r1.ebuild | 39 ++++++++++++++++++++++ |
13 |
1 file changed, 39 insertions(+) |
14 |
|
15 |
diff --git a/dev-ruby/selenium-webdriver/selenium-webdriver-2.53.4-r1.ebuild b/dev-ruby/selenium-webdriver/selenium-webdriver-2.53.4-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000..32c1cf9 |
18 |
--- /dev/null |
19 |
+++ b/dev-ruby/selenium-webdriver/selenium-webdriver-2.53.4-r1.ebuild |
20 |
@@ -0,0 +1,39 @@ |
21 |
+# Copyright 1999-2016 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI=5 |
26 |
+USE_RUBY="ruby20 ruby21 ruby22 ruby23" |
27 |
+ |
28 |
+# NOTE: this package contains precompiled code. It appears that all |
29 |
+# source code can be found at https://code.google.com/p/selenium/ but the |
30 |
+# repository is not organized in a way so that we can easily rebuild the |
31 |
+# suited shared object. We'll just try our luck with the precompiled |
32 |
+# objects for now. |
33 |
+ |
34 |
+RUBY_FAKEGEM_TASK_DOC="" |
35 |
+RUBY_FAKEGEM_EXTRADOC="CHANGES README.md" |
36 |
+ |
37 |
+RUBY_FAKEGEM_TASK_TEST="" |
38 |
+ |
39 |
+RUBY_QA_ALLOWED_LIBS="x_ignore_nofocus.so" |
40 |
+QA_PREBUILT="*/x_ignore_nofocus.so" |
41 |
+ |
42 |
+inherit ruby-fakegem |
43 |
+ |
44 |
+DESCRIPTION="This gem provides Ruby bindings for WebDriver" |
45 |
+HOMEPAGE="http://gemcutter.org/gems/selenium-webdriver" |
46 |
+ |
47 |
+LICENSE="Apache-2.0" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64" |
50 |
+IUSE="" |
51 |
+ |
52 |
+ruby_add_rdepend ">=dev-ruby/childprocess-0.5.0 |
53 |
+ dev-ruby/rubyzip:1" |
54 |
+ |
55 |
+all_ruby_prepare() { |
56 |
+ # Make websocket a development dependency since it is only needed |
57 |
+ # for the safari driver which we don't support on Gentoo. |
58 |
+ sed -i -e '/websocket/,/version_requirements/ s/runtime/development/' ../metadata || die |
59 |
+} |