commit: 08b80c142717903d078c9a46359af0889cbba5dc Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Sat Jan 31 11:41:01 2026 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Sat Jan 31 14:03:48 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08b80c14
net-misc/rclone: bump to 1.73.0 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> net-misc/rclone/Manifest | 2 + net-misc/rclone/rclone-1.73.0.ebuild | 76 ++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) diff --git a/net-misc/rclone/Manifest b/net-misc/rclone/Manifest index 47afe86b1c36..e05f99168286 100644 --- a/net-misc/rclone/Manifest +++ b/net-misc/rclone/Manifest @@ -1,2 +1,4 @@ DIST rclone-v1.72.1-vendor.tar.gz 15668325 BLAKE2B ae751f5fd47b5b42f6ede8eace77e6ef1bdc2721f93c74bd6f93a4201570e1eb73c247cb1de6c1fde506b55dd6594a04db9f7178c71da2b2848014d7fabc81e3 SHA512 d82a65eaeea6009b92f0b0766d51d1a3aa6320009f508a3a36fead623463d5f9043a8e57d5e457944f233b0a1384a568b01e19ec20eef60276ad7a8b45090391 DIST rclone-v1.72.1.tar.gz 17560547 BLAKE2B 197319d95d0f0cda34aa71b3cc2d4aabd8aa1f633682c21564a481fe6afd3e2bf6d4640b3bd5a0287db35314e382826c8da04939e46451015457ca655d60353f SHA512 bbf29960dff88b3535bb558e2a2657fd40126af8a0e407eedec6cdcdebf44b272ac9ecc02948be866cc90368ee6cfb586501c609ecd9b629664ec2f7ce2169ce +DIST rclone-v1.73.0-vendor.tar.gz 17337780 BLAKE2B fef6e29ac01f36570094d1f35f589a31923def348bbdf79974ddf51aa872f0a41e2612e15362b02e5b5540eec3fe59f8b8844e58c26d7475547dd1a6cd4f1512 SHA512 4487d2f49a52e288d48af8ce2470d66cae9940dc7d3ab025329c70a579337f7b5031481df2da032369a49d712205dad21725536409fc885792f1a797bacc6158 +DIST rclone-v1.73.0.tar.gz 17657331 BLAKE2B 61afcadd022c9c49feb1f16c212a0a1215aa1b86aa6ebc5851d74ebfaf7d0c4d53ca011e3549ca40dd15c358f06ea53224e09b074f71ec7bebd7206718437c44 SHA512 b1eb699b8f10e7937cec83b6cfff1b81894f6bbf2188c2c2c131588e4d3b870597119ac89d157794bb79d2c629e45f9cec0556537090a686676335e5559ffcc8 diff --git a/net-misc/rclone/rclone-1.73.0.ebuild b/net-misc/rclone/rclone-1.73.0.ebuild new file mode 100644 index 000000000000..fd5f568aaa46 --- /dev/null +++ b/net-misc/rclone/rclone-1.73.0.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2026 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 +}
