mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
www-apps/chromedriver-bin: prune old versions
Signed-off-by: Matt Jolly <kangie@gentoo.org>
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
DIST chromedriver-bin-156.0.8078.47.linux-arm64.zip 10946358 BLAKE2B 4924d8beb1117a050f79f59dc79ee68861ef5b87c15de51985f7f590e4ca7c9b41a85d928df4e221f4128377f312b49b13ad7e2f6cf9b09e2a2d5a5c9168c2e1 SHA512 d2e9bced456d20e589069b7ea6ab46f2aa328eb8947e15c675a02a93b76f67f7f9eb34b510f46f659f2b362c046411a3130d10e991bf54e11ba3fbededcc8c50
|
||||
DIST chromedriver-bin-156.0.8078.47.linux64.zip 11883134 BLAKE2B 45ba20ffc5a8ee35203a3fd976816f03eef193c27f73a2aff4a4be0d6a8153068f477ba3512121dd796ed51083cfac036935f3768da120968409b8bd0f13e3c7 SHA512 1b4bede6b067698e21f6338bf73e29191f205c07e29378ba2591bec23e61468111d32a8f5a4e548e1d42f962565290149eb52caf1ed65b6ad03cdb75687d054b
|
||||
DIST chromedriver-bin-156.0.8078.79.linux-arm64.zip 10973227 BLAKE2B 00214458a11df4527f1daf708c2bd5dae0ba2b72331aa6f12fba8f7adb9a7bce2edb8d18228d498450ae3af7b85645d65dd7c11bb55f08544cb86b790c5edb46 SHA512 561f539d9586b82f154e0bca3b8be4cb8c1d242884eae4f526b1d6269e9666c57bbf25a4c8cb337194b6f9210b3a56c79a4052b79efdb553b6fb5526c9fc8a86
|
||||
DIST chromedriver-bin-156.0.8078.79.linux64.zip 11898513 BLAKE2B 4216d3b71f26066a2c551f9c2d3013efd8ce22847fda124b4d651cbe4964b5c1ecbf14cb49c90ca51a2f2357dc7ea4d0642a10ca626b4d33799dd5d172a4238c SHA512 c27a14b0cae8cbb76e99d9b152e0fe21628eb0d6eb6f85d6cd1329184ee4807e273940e96ba6a76b0728d9a81f8f00b8abd299ef55aa6e6fcce037c2b0dbb960
|
||||
DIST chromedriver-bin-157.0.8103.38.linux-arm64.zip 11116929 BLAKE2B 4f72f7a49aa128edc06feb544140bfdd4a533cc6bd06bb39d8fec1ffeb33975528994a863415049d6a5c6ba0e8ef9a4d1b85451c3a9a4b8e434de4aa040bf4a7 SHA512 ed25718ab62c05ecfb9cf6b983740d7114581608c6f6edf550bf1831aece168f7d4213275fa11408dc262e50cf00589f1793f1870eaf1492c96e250303c4fd8f
|
||||
|
||||
@@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# See https://googlechromelabs.github.io/chrome-for-testing/#stable for URLs
|
||||
DESCRIPTION="WebDriver for Chrome"
|
||||
HOMEPAGE="https://sites.google.com/corp/chromium.org/driver/"
|
||||
SRC_URI="
|
||||
amd64? ( https://storage.googleapis.com/chrome-for-testing-public/${PV}/linux64/chromedriver-linux64.zip -> ${P}.linux64.zip )
|
||||
arm64? ( https://storage.googleapis.com/chrome-for-testing-public/${PV}/linux-arm64/chromedriver-linux-arm64.zip -> ${P}.linux-arm64.zip )
|
||||
"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="google-chrome"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* amd64 arm64"
|
||||
RESTRICT="bindist mirror strip"
|
||||
|
||||
RDEPEND="
|
||||
sys-libs/glibc
|
||||
www-client/google-chrome
|
||||
!www-client/chromium
|
||||
"
|
||||
BDEPEND="app-arch/unzip"
|
||||
|
||||
QA_PREBUILT="usr/bin/chromedriver"
|
||||
|
||||
pkg_pretend() {
|
||||
# Protect against people using autounmask overzealously
|
||||
use amd64 || use arm64 || die "${PN} only works on supported architectures"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use amd64; then
|
||||
cd chromedriver-linux64 || die
|
||||
elif use arm64; then
|
||||
cd chromedriver-linux-arm64 || die
|
||||
fi
|
||||
dobin chromedriver
|
||||
}
|
||||
Reference in New Issue
Block a user