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-157.0.8103.38.linux-arm64.zip 11116929 BLAKE2B 4f72f7a49aa128edc06feb544140bfdd4a533cc6bd06bb39d8fec1ffeb33975528994a863415049d6a5c6ba0e8ef9a4d1b85451c3a9a4b8e434de4aa040bf4a7 SHA512 ed25718ab62c05ecfb9cf6b983740d7114581608c6f6edf550bf1831aece168f7d4213275fa11408dc262e50cf00589f1793f1870eaf1492c96e250303c4fd8f
|
||||
DIST chromedriver-bin-157.0.8103.38.linux64.zip 11979703 BLAKE2B b6026a3004463534944677d5e221fc72733e75eb560fb994c5c6c133c7d34fb5e20ef557e608535c98ecec6362f7ce17132460e8489c5c37b419fa2b3e24f5ec SHA512 1b31198680c89794bd8d1d53fbd7c4e75f8f34e23329758d2ca687327cce3c37ed2b9f6bc47f3093f0472d4b8cbc247202e9c37ac6dd92d81eb6d1aad2c4c34e
|
||||
DIST chromedriver-bin-157.0.8103.50.linux-arm64.zip 11116680 BLAKE2B f11ac99fed85c5b921adb1890eca6555d79cccf6124eb31cfe2b28438b1f0076bcb87797b973c592cffc8716ab5b18bd145e8d3a2e1d5c96ba89ef76b7254f85 SHA512 24d296f6c6f741e2443a592421af1a18e8c558cb297938313154f2ff9e0a8561e56c2ebc9a60847a41916ff9bd90b1a11b74cda2052a0fc79b8833ea40247e35
|
||||
DIST chromedriver-bin-157.0.8103.50.linux64.zip 11979698 BLAKE2B 0289a009358616491f4459e8364d34b0f33334de95967fe2b4ff21aec9d14e93ba98a14f0dc961f028d328f227cfd79fa8d60aa4580e562d21c6d9634a709c6d SHA512 3bf298a686c2446fb66abea8bc5312fda51be515b11a6d7572d4f9db21bfe2f094564ac25267ccc275e913810d71d7d565d85f3b9ab33e1e27f0f42c2f45e155
|
||||
DIST chromedriver-bin-158.0.8127.36.linux-arm64.zip 12673140 BLAKE2B 137d3810a6c8eb4075aa7bf3fe135a48ff6310c4dc6bba041963fbe66f838afd86786b5e6c525879b996d723ca78416f3e974b657c899d547c3172b8a26083be SHA512 c55ebb9e18a8e17400c4a6a7dcc1c0d3f9a53064ef3c1e51d8fce0d371862a0d733cf3585049e5e5d23edad1dc41bfa910b385d2246371c2788f4b535a93ae7d
|
||||
|
||||
@@ -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"
|
||||
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