mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-util/selenium-manager: Bump to 4.36.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
b1583ddd74
commit
5b56a76402
@ -1,6 +1,8 @@
|
||||
DIST selenium-4.33.0-crates.tar.xz 25111112 BLAKE2B 3bdc397ea8f5313d39473ec03b24e560060653dd7b5a29971923662cb3b29cf4531dc194397aae18dadbdedacfe59db04a72a9eefb4328bc120c42f7dd664dd5 SHA512 d281547009bf0006d96f43ad00ffb29f1ddb04d0c28e64470b7ea9db59d91170c136b80e40b2e1f23e1980d2e87c34fc802eea4c545af2a2fcfcfb5173d10dc5
|
||||
DIST selenium-4.35.0-crates.tar.xz 23704440 BLAKE2B 8ad56a78817c317c781d9ab4d72b22216ecd2082eee8ef27d43ec89d26eb6ac9d361638fe3535b6da2d34075b62130182b54339c1d967faa5c80f8c48d521c27 SHA512 4d0d2758f9bb81efc23b6f26fca0271c3444eb78f083d34e71d6d161d007d83242762775fa79fa80143d7c19ba801d0956aa4abffdb95b70d44d98443371bc46
|
||||
DIST selenium-4.36.0-crates.tar.xz 23351684 BLAKE2B cf345adec9156c1da3ee1a77fb7253363aeff1bc6590fae6a26a32ca87b2a894a64d6bdfbe82fdf42ba0d887dfb930df8d2762694975661896b2fbd8ac592569 SHA512 3d00b200fb8b9aed53968dd495f091f7b873af4075857542318e9c1437cd2ca9c38f64aab1488924c69b8d82f0c5368639ae70cc99e8742349584e3548160fb5
|
||||
DIST selenium-manager-4.26.0-crates.tar.xz 25659608 BLAKE2B 35c8c7aab560a16424580a79245bf096112b3eaa2a5a64a08535e5ad523331c905e1391138c5ee9555cb74169c758ffc6a1ef0ec36eba9754b883c66ae313321 SHA512 114c880feeead5cc37d57197b8d9eeefde428d9f8ed1f8c946f86064ec633e6f925c250114f91de8ed5fae6b1a25424754f008210f4f897a972c11a80a03eaf0
|
||||
DIST selenium-selenium-4.26.0.gh.tar.gz 77107740 BLAKE2B d4e466dbdb9a12126ae8ee9e311d5d997228da3b22620ead3dbf1a553232503fbd8c19470419d6ad5862acfc19f0012c4c48b3a5e1ccecaf0f7c4171f35904fb SHA512 03197215c04e8f6e151631d769975e70b5140d2d7635443c07e43e63b1c0cc3bc99b0694300ca4dbfea6178af9d037d28699a756ef74926a357f7a3030086182
|
||||
DIST selenium-selenium-4.34.0.gh.tar.gz 52524095 BLAKE2B 1fe7e662697039708ce84ef4941f028369ca54089cd4f5075b3df2aa0d08373a3779ca201daa29ff5c4ad3d139f751a4525e114bfa80e3d0d297901309bf3bda SHA512 6e431e82d1ef4cb5dd47f319a95a43ebf68924b73f5de8e562ba21a0420d58098dcf63578699d36e3da5a6180fe7e433a50389a362357eb7c7f6d0a5770966b6
|
||||
DIST selenium-selenium-4.35.0.gh.tar.gz 52550104 BLAKE2B b7ed0fb513cfb2ed24aa8393497b349f930739c3d24a330e5942fbaa5505f31d7086396a430776a3a28a5f65927b92bf27c0a32e8c36d893b5d62ef73151d5ef SHA512 dc73829e3b0fcb7fb7ee1cc04574b95b63d23f67974575dbd66338e14a5cb2b06f983145ce874be0d7124e8828b0a41b99c75d3befb19e04cbf8d027d0bb983a
|
||||
DIST selenium-selenium-4.36.0.gh.tar.gz 52567842 BLAKE2B e5e715ce0d4e491f2551ea13c2b9cd6c1021fafd6b0bf0dacba9b0aa4e3f479816cb910c66e286e8cb7b737063705caa2c843db3ccb83f964b4bd64ff174d935 SHA512 b95037df807c827c8f110d112ec0d062c7bb3c71b9faf31f5bfae59b5bfd1c2e20b035c3c3ab180b2319f8ba952042fb77966eb44db5b803a545fa18e0285bb5
|
||||
|
||||
126
dev-util/selenium-manager/selenium-manager-4.36.0.ebuild
Normal file
126
dev-util/selenium-manager/selenium-manager-4.36.0.ebuild
Normal file
@ -0,0 +1,126 @@
|
||||
# Copyright 2024-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES="
|
||||
"
|
||||
RUST_MIN_VER="1.85.0"
|
||||
|
||||
inherit cargo
|
||||
|
||||
TAG=selenium-${PV}
|
||||
MY_P=selenium-${TAG}
|
||||
CRATES_P=selenium-${PV}
|
||||
DESCRIPTION="CLI tool that manages the browser/driver infrastructure required by Selenium"
|
||||
HOMEPAGE="
|
||||
https://www.selenium.dev/
|
||||
https://github.com/SeleniumHQ/selenium/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/SeleniumHQ/selenium/archive/selenium-${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
if [[ ${PKGBUMPING} != ${PVR} ]]; then
|
||||
SRC_URI+="
|
||||
https://github.com/gentoo-crate-dist/selenium/releases/download/${CRATES_P}/${CRATES_P}-crates.tar.xz
|
||||
"
|
||||
fi
|
||||
S="${WORKDIR}/${MY_P}/rust"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
# Dependent crate licenses
|
||||
LICENSE+="
|
||||
Apache-2.0 BSD CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 ZLIB
|
||||
BZIP2
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
||||
IUSE="telemetry test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
app-arch/bzip2:=
|
||||
app-arch/xz-utils:=
|
||||
app-arch/zstd:=
|
||||
sys-libs/zlib:=
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
|| (
|
||||
www-client/firefox
|
||||
www-client/firefox-bin
|
||||
)
|
||||
)
|
||||
"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i -e '/strip/d' Cargo.toml || die
|
||||
if ! use telemetry; then
|
||||
sed -i -e '/avoid-stats/s:false:true:' src/config.rs || die
|
||||
fi
|
||||
|
||||
# Avoid tests requiring Internet or specific browsers (or trying
|
||||
# to fetch them, whatever).
|
||||
rm tests/browser_download_tests.rs || die
|
||||
rm tests/cache_tests.rs || die
|
||||
rm tests/electron_tests.rs || die
|
||||
rm tests/exec_driver_tests.rs || die
|
||||
rm tests/grid_tests.rs || die
|
||||
rm tests/browser_tests.rs || die
|
||||
rm tests/config_tests.rs || die
|
||||
rm tests/iexplorer_tests.rs || die
|
||||
rm tests/mirror_tests.rs || die
|
||||
rm tests/output_tests.rs || die
|
||||
rm tests/stable_browser_tests.rs || die
|
||||
rm tests/webview_tests.rs || die
|
||||
|
||||
# enable system libraries where supported
|
||||
export ZSTD_SYS_USE_PKG_CONFIG=1
|
||||
sed -i -e '/features.*static/d' "${ECARGO_VENDOR}"/apple-xar-*/Cargo.toml || die
|
||||
|
||||
# remove unbundled sources, just in case
|
||||
# (smoke.c is actually used to test system -lz, sigh)
|
||||
find "${ECARGO_VENDOR}"/*-sys-*/ \
|
||||
\( -name '*.c' -a -not -name 'smoke.c' \) -delete || die
|
||||
|
||||
# bzip2-sys requires a pkg-config file
|
||||
# https://github.com/alexcrichton/bzip2-rs/issues/104
|
||||
mkdir "${T}/pkg-config" || die
|
||||
export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}}
|
||||
cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die
|
||||
Name: bzip2
|
||||
Version: 9999
|
||||
Description:
|
||||
Libs: -lbz2
|
||||
EOF
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local -x PATH=${T}/bin:${PATH}
|
||||
|
||||
mkdir "${T}/bin" || die
|
||||
if ! has_version "www-client/firefox"; then
|
||||
# upstream expects "firefox" rather than "firefox-bin"
|
||||
ln -s "$(type -P firefox-bin)" "${T}/bin/firefox" || die
|
||||
fi
|
||||
|
||||
cargo_src_test --no-fail-fast
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install
|
||||
einstalldocs
|
||||
dodoc README.md
|
||||
|
||||
newenvd - 70selenium-manager <<-EOF || die
|
||||
SE_MANAGER_PATH="${EPREFIX}/usr/bin/selenium-manager"
|
||||
EOF
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user