commit:     d9f4a2c10ddcc39656b4cec047d102ab0f2ac7c1
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  3 06:28:03 2023 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Sep  3 06:28:14 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9f4a2c1

dev-ruby/selenium-webdriver: add 4.12.0

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/selenium-webdriver/Manifest               |  1 +
 .../selenium-webdriver-4.12.0.ebuild               | 38 ++++++++++++++++++++++
 2 files changed, 39 insertions(+)

diff --git a/dev-ruby/selenium-webdriver/Manifest 
b/dev-ruby/selenium-webdriver/Manifest
index f47d5cbcdbdb..1bbc3c2ca36d 100644
--- a/dev-ruby/selenium-webdriver/Manifest
+++ b/dev-ruby/selenium-webdriver/Manifest
@@ -1,3 +1,4 @@
 DIST selenium-webdriver-4.1.0.gem 153088 BLAKE2B 
f437b5e6c19b9a2b7d0393646b11bcaa0808fb9981c847ca0d86bd55ef04fc109d439eb0f41fce543ea121fde096fe3e72c56d1db861b6554f673a3de07bdff8
 SHA512 
9760c6a96dbef25f558216986a9cedcb00fe19313273ea5c3a4866d5afae327fbe3895e3e2ee405714f8a9410c290b0e51352b68465cb0df9ff31b6d2749b174
 DIST selenium-webdriver-4.10.0.gem 5803008 BLAKE2B 
898e795bbad23aca1343fa49c059963a9c3b0d3ab27b3e9521381cb70259ef76fa81bf9063ad82f7348266f20fed05352be2450be4e4356515b4a05e015c21a7
 SHA512 
9217022b0af08d5d4b24d412bea4423afd327314e260de0449d723a9232c4f0895a36626da009ce51c304bedc933195b434a9dc620da8daffc736b5fc9842f33
 DIST selenium-webdriver-4.11.0.gem 6300672 BLAKE2B 
bedbc18c14ab67c1bde05a35b5b66f1fb6da576d616a40d5293358efc51dfaa00f816d70e92578b1bee82de0a17ee39950eb69542ef2e661bd6a015f5f01032a
 SHA512 
6f24440c44eb9a1276e1d016788b14bdf41fd466ed688ca7dbdc19b0e7163ff2354a508733f0903ede70fc6b49fbd05bd2ec9c5d0e0b70567823c4d07e3d1a9d
+DIST selenium-webdriver-4.12.0.gem 8457728 BLAKE2B 
34e76ce5b17f533bef9c1628f4b2af5982ed8517dcb0e2a642cafdc688c23ece9bcb87272c8561128cd5871af3cb60f3f708169defc85cecc346f2f5f5d56f92
 SHA512 
0b0407871d679246b50e51a5dd8cff9b0380a19565a5d5d1cd12699099d30c5a460eb9ceda7572cfbbf881aea752af8aa6d0ee9ce488a0276d01637ba5885ace

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
+}

Reply via email to