summaryrefslogtreecommitdiff
path: root/dev-ruby/selenium-webdriver/selenium-webdriver-3.2.2.ebuild
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-03-06 07:11:30 +0100
committerHans de Graaff <graaff@gentoo.org>2017-03-06 07:11:30 +0100
commitc0d9bc52a515d2317e1b801f79777623159d1832 (patch)
treebd852ebc736ff07e3ccb06b9987f1d4a5dddbff7 /dev-ruby/selenium-webdriver/selenium-webdriver-3.2.2.ebuild
parent0028360d80593571b06eca4842586eaea236b4ea (diff)
downloadgentoo-c0d9bc52a515d2317e1b801f79777623159d1832.tar.gz
gentoo-c0d9bc52a515d2317e1b801f79777623159d1832.tar.bz2
gentoo-c0d9bc52a515d2317e1b801f79777623159d1832.zip
dev-ruby/selenium-webdriver: add 3.2.2
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-ruby/selenium-webdriver/selenium-webdriver-3.2.2.ebuild')
-rw-r--r--dev-ruby/selenium-webdriver/selenium-webdriver-3.2.2.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/selenium-webdriver/selenium-webdriver-3.2.2.ebuild b/dev-ruby/selenium-webdriver/selenium-webdriver-3.2.2.ebuild
new file mode 100644
index 000000000000..396035d6332d
--- /dev/null
+++ b/dev-ruby/selenium-webdriver/selenium-webdriver-3.2.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+}