diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-10-06 08:45:11 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-10-06 08:45:25 +0200 |
commit | 9b6cf2ae26e465ad528eb7b1da8eb6084b5f886d (patch) | |
tree | 981a5bbbbb927a04c68b60b0d94646da38c339dc | |
parent | dev-util/selenium-manager: move ~x86 keyword forward (diff) | |
download | gentoo-9b6cf2ae26e465ad528eb7b1da8eb6084b5f886d.tar.gz gentoo-9b6cf2ae26e465ad528eb7b1da8eb6084b5f886d.tar.bz2 gentoo-9b6cf2ae26e465ad528eb7b1da8eb6084b5f886d.zip |
dev-ruby/selenium-webdriver: add 4.13.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-ruby/selenium-webdriver/Manifest b/dev-ruby/selenium-webdriver/Manifest index 1bbc3c2ca36d..b2031a70ddda 100644 --- a/dev-ruby/selenium-webdriver/Manifest +++ b/dev-ruby/selenium-webdriver/Manifest @@ -2,3 +2,4 @@ DIST selenium-webdriver-4.1.0.gem 153088 BLAKE2B f437b5e6c19b9a2b7d0393646b11bca 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 +DIST selenium-webdriver-4.13.1.gem 12038656 BLAKE2B 7a50f5515e65312a75b9a2c2d845c7e3f7f27b31eafd5d48419b5b346c59bedd94b3a6e53670a774a27ba0883dff0cdb9b49dd5e947dcfa5095d95d63a458156 SHA512 7d27c86980c3cfde85b4cf9d6db6459c320f85cbd18866c6b0fe53101fc39d467fab7220aa5241ce832496c74dc930f7e2d5a58674e549226b002c78ea4557db diff --git a/dev-ruby/selenium-webdriver/files/selenium-webdriver-4.13.1-selenium-manager.patch b/dev-ruby/selenium-webdriver/files/selenium-webdriver-4.13.1-selenium-manager.patch new file mode 100644 index 000000000000..b9d1635067f2 --- /dev/null +++ b/dev-ruby/selenium-webdriver/files/selenium-webdriver-4.13.1-selenium-manager.patch @@ -0,0 +1,20 @@ +--- a/lib/selenium/webdriver/common/selenium_manager.rb 2023-10-06 08:41:15.713237699 +0200 ++++ b/lib/selenium/webdriver/common/selenium_manager.rb 2023-10-06 08:42:45.809927730 +0200 +@@ -31,7 +31,7 @@ + attr_writer :bin_path + + def bin_path +- @bin_path ||= '../../../../../bin' ++ @bin_path ||= '/usr/bin' + end + + # @param [Options] options browser options. +@@ -82,7 +82,7 @@ + elsif Platform.mac? + "#{directory}/macos/selenium-manager" + elsif Platform.linux? +- "#{directory}/linux/selenium-manager" ++ "#{directory}/selenium-manager" + end + end) + diff --git a/dev-ruby/selenium-webdriver/selenium-webdriver-4.13.1.ebuild b/dev-ruby/selenium-webdriver/selenium-webdriver-4.13.1.ebuild new file mode 100644 index 000000000000..707367a15c15 --- /dev/null +++ b/dev-ruby/selenium-webdriver/selenium-webdriver-4.13.1.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-$(ver_cut 1-2)" + +ruby_add_rdepend " + >=dev-ruby/rexml-3.2.5:3 + >=dev-ruby/rubyzip-1.2.2:* + dev-ruby/websocket:0 +" + +PATCHES=( "${FILESDIR}/${PN}-4.13.1-selenium-manager.patch" ) + +all_ruby_prepare() { + # Remove the pre-compiled selenium-manager executables + rm -fr bin || die +} |