summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-02-15 06:54:36 +0100
committerHans de Graaff <graaff@gentoo.org>2017-02-15 06:54:36 +0100
commita278ee3124e168ae3a68bbfbb7b4db4b58e8e177 (patch)
tree114c79c0612caecce9e209b7ff254bfe42c356fa /dev-ruby
parentdev-ruby/selenium-webdriver: cleanup (diff)
downloadgentoo-a278ee3124e168ae3a68bbfbb7b4db4b58e8e177.tar.gz
gentoo-a278ee3124e168ae3a68bbfbb7b4db4b58e8e177.tar.bz2
gentoo-a278ee3124e168ae3a68bbfbb7b4db4b58e8e177.zip
dev-ruby/selenium-webdriver: add 3.1.0
Package-Manager: portage-2.3.3
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/selenium-webdriver/Manifest1
-rw-r--r--dev-ruby/selenium-webdriver/selenium-webdriver-3.1.0.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/selenium-webdriver/Manifest b/dev-ruby/selenium-webdriver/Manifest
index 1b39dc3fd313..3e4217156e51 100644
--- a/dev-ruby/selenium-webdriver/Manifest
+++ b/dev-ruby/selenium-webdriver/Manifest
@@ -1,3 +1,4 @@
DIST selenium-webdriver-2.53.4.gem 897536 SHA256 44b38d9b6a97b39c7d2aa5185ff9585320295d5aa194cb21ec562897d6711e97 SHA512 ad7934a67c4415a81c2d0efae5f510d41784411076ea903724e1fa2be1b209382131aa1b05f3636deb1deca38db6e76805262f5037ab2e621e785e4eb3c2b90e WHIRLPOOL c75f4b89fbfc31987ff92c013c1274a07d73f4d7fcbcdbade267180849e45279ebd5099fa63f7a5138ca75100fc1d39e15e0df4f15f35552cd2e679ea5c2bff0
DIST selenium-webdriver-3.0.7.gem 819712 SHA256 9236ad1124ba62522eb3356633607abfa763f37bcc5c4afc2892b79c7c90d6fd SHA512 9558f84298e24fa71950261423e14f577d8d6ceda3e32d4e1db2d26f548240edb931f9db55581968bddea50735f3b0b073306a448f5562de7376e2184ec1e8af WHIRLPOOL e4671c85e8752d00708e710583991a5ba9dc4277c8299065f8441252c8f898501b48cec949d7d02466c66caafcea3a6cc8601c078f47832fe8b2989829d40690
DIST selenium-webdriver-3.0.8.gem 819712 SHA256 2b07dc585ee73c681ec41b1436e466dd1b9f705eb21d31c0a61f8307006a3e4a SHA512 ef6e34874eb6d802db90cfbe573a5ac11f48f131666ecc600b44cb378449502e4c0ab6f12b9b6149b4ea7052d0ddb621580358787dac33532f32f66cc066af5e WHIRLPOOL 26fddb7cfa9137460716c89945b595dfa5c89e4187dd33cb3b852c6f361ecf22d1d0947191c7a484fa7278a2f96bde41c0a3281edd33c4276a10c637930ea22a
+DIST selenium-webdriver-3.1.0.gem 826368 SHA256 a579874564e8ebafa672d54ebde39cae1e47c2cbe0153bfce0420d8137cb0161 SHA512 039061f829fe1ebe822738c46d51d93fb227141234e75e3d4116f4ef818f432d423dd046fc99704c3dbeb48aef8b63a5705e12a378b5e18b3f61dcb45d284798 WHIRLPOOL f068f30c5423b372193f2b7a3e48319cbb0f20c67582a8629afae79ea3fdeb643870abe6dff68307d69894d155ffb8243b979ca65d143bd834be81e2a4a9cebf
diff --git a/dev-ruby/selenium-webdriver/selenium-webdriver-3.1.0.ebuild b/dev-ruby/selenium-webdriver/selenium-webdriver-3.1.0.ebuild
new file mode 100644
index 000000000000..85b522ce54df
--- /dev/null
+++ b/dev-ruby/selenium-webdriver/selenium-webdriver-3.1.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby21 ruby22 ruby23"
+
+# NOTE: this package contains precompiled code. It appears that all
+# source code can be found at https://code.google.com/p/selenium/ but the
+# repository is not organized in a way so that we can easily rebuild the
+# suited shared object. We'll just try our luck with the precompiled
+# objects for now.
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGES README.md"
+
+RUBY_FAKEGEM_TASK_TEST=""
+
+RUBY_QA_ALLOWED_LIBS="x_ignore_nofocus.so"
+QA_PREBUILT="*/x_ignore_nofocus.so"
+
+inherit ruby-fakegem
+
+DESCRIPTION="This gem provides Ruby bindings for WebDriver"
+HOMEPAGE="https://github.com/seleniumhq/selenium"
+
+LICENSE="Apache-2.0"
+SLOT="3"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/childprocess-0.5.0
+ dev-ruby/rubyzip:1"
+
+all_ruby_prepare() {
+ # Make websocket a development dependency since it is only needed
+ # for the safari driver which we don't support on Gentoo.
+ sed -i -e '/websocket/,/version_requirements/ s/runtime/development/' ../metadata || die
+}