mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-17 16:38:08 -07:00
39 lines
798 B
Bash
39 lines
798 B
Bash
# 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
|
|
}
|