net-misc/rclone: bump to 1.71.2

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć 2025-10-21 20:24:56 +02:00
parent 5189db8884
commit 16832c43c9
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
2 changed files with 78 additions and 0 deletions

View File

@ -2,3 +2,5 @@ DIST rclone-v1.71.0-vendor.tar.gz 14654487 BLAKE2B 7f4eed1053b5ff143be75dc165522
DIST rclone-v1.71.0.tar.gz 17338350 BLAKE2B 6e617dac74cea5678802812bfb3fbc1d4c362991a52d354faac09d2228e175df9c432cdbf22b89d2e31b7359a37a079f927a1d65a36acca2805aaf9a227efa86 SHA512 ad1062e937208f0247e764aea9560d10335bb05fdc027b457d5eab6953b0892d9ae0df8e93456e11a2e829138351dc14ee2946f09207fd8ed27c5739e6b63596
DIST rclone-v1.71.1-vendor.tar.gz 14655030 BLAKE2B ab95f4c8f0d789059a1bbac474ff2c7cfe2953a6eea3c1255ee0a58b8a0154c2b82ce9e7f442d451a362ceefe3961be2515adf5b43a898dac8a63cb1e3542b83 SHA512 a3ab9035c588d845049cf0ca809e885137dc969fd425a2af15f71b3bacae401d80355ca75621d8b7b0a19c4bf4a0b601abf7905cf0510875a70085bf6aa6bdab
DIST rclone-v1.71.1.tar.gz 17377466 BLAKE2B f468b57d53c4aa70fd612f433cce79db147c872a15d024a4aac16b6b95aef755b241a918bc635ae2daf261e4c28de43c712c4f309271369224748d076682cf08 SHA512 23a1db2104954bfa6e9879753477ca6dffe653104f1322d30a9b95e30e6f8c30fb3c290342ffe1dba902a0d0f14eeaff909b8bddb7ecb0edfabb082695eff4f8
DIST rclone-v1.71.2-vendor.tar.gz 14654981 BLAKE2B ff0285e96d4e052849bd2a9817603cebe72d15b536ea28bff32cb79ca97e1e66f912fa56da3aca461a690fdc8f492a0d5ae1ffff06a5131f9ae413770ae426dd SHA512 854ef3ef7fdfd6bcd7d2f5831a068fcaf847a670835f1bc823d97b80c5f4a26021a219565832b7b13608d74968f5d1c8ddba538e19720fe00b0ee4bb80d6b2d2
DIST rclone-v1.71.2.tar.gz 17379581 BLAKE2B 7c60920be63cda73f23609a41ac42892a6bdf8f3c701c4d9315fa693275ebcc011beebba67ffe3ceb9c35333f3a823811c44f185f61d330133d2b6b0ad4782e7 SHA512 96b54d729653248affe264b1fb58ab854ad5707cf5fc9391a6949708b4461ff3a8339163f371f5a3a99c446ec30998e4f6d15659957c12ff2bad4e54b8fa45f2

View File

@ -0,0 +1,76 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit shell-completion check-reqs edo go-module
DESCRIPTION="A program to sync files to and from various cloud storage providers"
HOMEPAGE="https://rclone.org/
https://github.com/rclone/rclone/"
SRC_URI="
https://github.com/rclone/rclone/releases/download/v${PV}/${PN}-v${PV}.tar.gz
https://github.com/rclone/rclone/releases/download/v${PV}/${PN}-v${PV}-vendor.tar.gz
"
S="${WORKDIR}/rclone-v${PV}"
LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
RDEPEND="
sys-fs/fuse:3=
"
CHECKREQS_DISK_BUILD="2500M"
pkg_setup() {
check-reqs_pkg_setup
}
src_unpack() {
mkdir -p "${S}" || die
ln -s "../vendor" "${S}/vendor" || die
go-module_src_unpack
}
src_compile() {
local go_ldflags="
-X github.com/rclone/rclone/fs.Version=${PV}
"
local -a go_buildargs=(
-ldflags "${go_ldflags}"
-mod=vendor
-o ./
)
ego build "${go_buildargs[@]}"
edob ./rclone genautocomplete bash "${PN}.bash"
edob ./rclone genautocomplete zsh "${PN}.zsh"
edob ./rclone genautocomplete fish "${PN}.fish"
}
src_test() {
# Setting CI skips unreliable tests, see "fstest/testy/testy.go"
# "TestAddPlugin" and "TestRemovePlugin" fail.
local -x CI="true"
local -x RCLONE_CONFIG="/not_found"
ego test -mod=vendor -v -run "!Test.*Plugin" ./...
}
src_install() {
exeinto /usr/bin
doexe "${PN}"
dosym -r "/usr/bin/${PN}" /usr/bin/mount.rclone
dosym -r "/usr/bin/${PN}" /usr/bin/rclonefs
newbashcomp "${PN}.bash" "${PN}"
newzshcomp "${PN}.zsh" "_${PN}"
dofishcomp "${PN}.fish"
doman "${PN}.1"
einstalldocs
}