diff options
Diffstat (limited to 'dev-ruby/selenium-webdriver/selenium-webdriver-4.28.0.ebuild')
-rw-r--r-- | dev-ruby/selenium-webdriver/selenium-webdriver-4.28.0.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/selenium-webdriver/selenium-webdriver-4.28.0.ebuild b/dev-ruby/selenium-webdriver/selenium-webdriver-4.28.0.ebuild new file mode 100644 index 000000000000..6cf768a1c201 --- /dev/null +++ b/dev-ruby/selenium-webdriver/selenium-webdriver-4.28.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" + +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 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" >=dev-util/selenium-manager-$(ver_cut 1-2)" + +ruby_add_rdepend " + >=dev-ruby/base64-0.2 =dev-ruby/base64-0* + >=dev-ruby/logger-1.4:0 + >=dev-ruby/rexml-3.2.5:3 + dev-ruby/rubyzip:2 + dev-ruby/websocket:0 +" + +all_ruby_prepare() { + # Remove the pre-compiled selenium-manager executables + rm -fr bin || die +} + +pkg_postinst() { + ewarn "This package now uses the SE_MANAGER_PATH environment " + ewarn "variable to locate selenium-manager. This variable is" + ewarn "provided by the selenium-manager package but may not be" + ewarn "available yet directly after the update." +} |