summaryrefslogtreecommitdiff
path: root/dev-ruby/selenium-webdriver/selenium-webdriver-4.12.0.ebuild
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-09-03 08:28:03 +0200
committerHans de Graaff <graaff@gentoo.org>2023-09-03 08:28:14 +0200
commitd9f4a2c10ddcc39656b4cec047d102ab0f2ac7c1 (patch)
tree3c5823f404982a96ad820db97b3acaacdacf63e7 /dev-ruby/selenium-webdriver/selenium-webdriver-4.12.0.ebuild
parent697bd3c4020a1f781b54a639f7439832268d455b (diff)
downloadgentoo-d9f4a2c10ddcc39656b4cec047d102ab0f2ac7c1.tar.gz
gentoo-d9f4a2c10ddcc39656b4cec047d102ab0f2ac7c1.tar.bz2
gentoo-d9f4a2c10ddcc39656b4cec047d102ab0f2ac7c1.zip
dev-ruby/selenium-webdriver: add 4.12.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/selenium-webdriver/selenium-webdriver-4.12.0.ebuild')
-rw-r--r--dev-ruby/selenium-webdriver/selenium-webdriver-4.12.0.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/selenium-webdriver/selenium-webdriver-4.12.0.ebuild b/dev-ruby/selenium-webdriver/selenium-webdriver-4.12.0.ebuild
new file mode 100644
index 000000000000..a397d78130a8
--- /dev/null
+++ b/dev-ruby/selenium-webdriver/selenium-webdriver-4.12.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32"
+
+RUBY_FAKEGEM_RECIPE_DOC="none"
+RUBY_FAKEGEM_EXTRADOC="CHANGES README.md"
+
+RUBY_FAKEGEM_TASK_TEST=""
+
+RUBY_FAKEGEM_GEMSPEC="selenium-webdriver.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="This gem provides Ruby bindings for WebDriver"
+HOMEPAGE="https://github.com/seleniumhq/selenium"
+
+LICENSE="Apache-2.0"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND+=" >=dev-util/selenium-manager-${PV}"
+
+ruby_add_rdepend "
+ >=dev-ruby/rexml-3.2.5:3
+ >=dev-ruby/rubyzip-1.2.2:*
+ dev-ruby/websocket:0
+"
+
+PATCHES=( "${FILESDIR}/${PN}-4.11.0-selenium-manager.patch" )
+
+all_ruby_prepare() {
+ # Remove the pre-compiled selenium-manager executables
+ rm -fr bin || die
+}