public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/rclone/
Date: Tue, 18 Feb 2025 19:21:29 +0000 (UTC)	[thread overview]
Message-ID: <1739906482.102a4eb1295b2bab14dc7a374482e8f39a912eac.arthurzam@gentoo> (raw)

commit:     102a4eb1295b2bab14dc7a374482e8f39a912eac
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 18 19:20:54 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Feb 18 19:21:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=102a4eb1

net-misc/rclone: add 1.69.1, use upstream vendor, add fish completion

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 net-misc/rclone/Manifest             |  2 +
 net-misc/rclone/rclone-1.69.1.ebuild | 75 ++++++++++++++++++++++++++++++++++++
 2 files changed, 77 insertions(+)

diff --git a/net-misc/rclone/Manifest b/net-misc/rclone/Manifest
index 737839a3a3a5..175dc9fc7bdc 100644
--- a/net-misc/rclone/Manifest
+++ b/net-misc/rclone/Manifest
@@ -2,3 +2,5 @@ DIST rclone-1.68.2-deps.tar.xz 313358984 BLAKE2B e57d4036e37b041b1c1c34b377683f3
 DIST rclone-1.68.2.tar.gz 17456579 BLAKE2B 9b8a3cd10690104ef262bac99d676997be1e5aad19172b6536b74a73c5d15bf6d67b0550ed6dcc8c4406d4082de11b5f8e6bcf92c9fdde61b140c0edbe095c23 SHA512 02baef752b8537ef5de05c51ce556ee76aee62c6835dc2f0cb6a8ebf0837d524dee1ed69136fb8319511a248d6776e36e53038138bf245f19aa66ea2aac6815c
 DIST rclone-1.69.0-deps.tar.xz 273636708 BLAKE2B c78c7e411f0b73fe7679d87c5ef5222e161d5b0fd01dc70f56480d59072d4247eabaaed229be326a130195e3cb3bf5efa8133a374cd7c0ef78ee6e9827aa69c9 SHA512 d02143d9b99096579262065f785afbf0cca123356a44123e9cdb724eef741cfa72691979e5735389dcd073e7a680814814ba1eaf6a94b10d14eda762d1571c3e
 DIST rclone-1.69.0.gh.tar.gz 16939883 BLAKE2B ec65092e661297397419443ee678c7bb7c6c1ee19ff12cfd8c50f071df8542592f04c7fa56e83a34a9c2a3e52a2f87d1ef58d577fee35f8cfa7491cad5d67fd7 SHA512 0a1d544fc12d020cf71ed788481185c178e6d79919f2e7e73014704714e70e4efec84fc126f19b1be284cc7f1f381fbb5ee9f78c472ba993529a8db2d19898b4
+DIST rclone-v1.69.1-vendor.tar.gz 13831747 BLAKE2B 327c38cf386232b40963c89158c289705906760d97440e79e943a8c33d84366806e83604de0c69855c14b4ef2144f1a812ac3906e8dda896fd191dde36faa9ee SHA512 bd7c9b634bd8d165339ded0c38c5dea995f8eb13a9d9a6315ce375b8a5c09d2024bd504f6a8721294922c241db73c5159fb7c4f84de69f2a67b57fb43b9cf84a
+DIST rclone-v1.69.1.tar.gz 16906745 BLAKE2B 2b701cacd169c1519a5e67199fa7c7b5938137b7baab1db276b70e4ac7c0e303e8ef1870a691a0534b399b89eff3a6f4d8d7930f1a3bebd175be1e47e4e9a8b8 SHA512 355a2295b0478de84475889663d7e7fb818f840c983e812e67de205eed725f1b2f00d667e66c0cec82a18af363dd7986a0f2cdd0ace4a2c81ffe167457238d3a

diff --git a/net-misc/rclone/rclone-1.69.1.ebuild b/net-misc/rclone/rclone-1.69.1.ebuild
new file mode 100644
index 000000000000..bbc13c2acf76
--- /dev/null
+++ b/net-misc/rclone/rclone-1.69.1.ebuild
@@ -0,0 +1,75 @@
+# 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}/rclone-v${PV}.tar.gz
+	https://github.com/rclone/rclone/releases/download/v${PV}/rclone-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}"
+	newfishcomp "${PN}.fish" "${PN}"
+
+	doman "${PN}.1"
+	einstalldocs
+}


             reply	other threads:[~2025-02-18 19:21 UTC|newest]

Thread overview: 99+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-18 19:21 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-07 19:34 [gentoo-commits] repo/gentoo:master commit in: net-misc/rclone/ Maciej Barć
2025-02-24  8:16 Arthur Zamarin
2025-02-23 16:09 Arthur Zamarin
2025-02-23 14:25 Arthur Zamarin
2025-02-18 19:21 Arthur Zamarin
2025-01-22 16:20 Maciej Barć
2025-01-21 23:04 Maciej Barć
2024-12-28 17:38 Sam James
2024-12-28 15:59 Sam James
2024-12-13 18:02 Maciej Barć
2024-11-28  0:09 Jakov Smolić
2024-11-27 22:10 Maciej Barć
2024-11-23 20:15 Arthur Zamarin
2024-09-28 15:00 Maciej Barć
2024-09-11 23:30 Maciej Barć
2024-09-11 23:30 Maciej Barć
2024-07-26  8:48 David Seifert
2024-07-21 19:48 Arthur Zamarin
2024-07-21 19:48 Arthur Zamarin
2024-06-25 22:03 Sam James
2024-06-25 22:03 Sam James
2024-06-15 22:23 Maciej Barć
2024-06-15 22:23 Maciej Barć
2024-06-15 22:23 Maciej Barć
2024-05-18  3:19 Sam James
2024-05-18  3:19 Sam James
2024-05-15 16:24 Maciej Barć
2024-05-15 14:39 Jason Zaman
2024-05-15 14:39 Jason Zaman
2023-08-09 18:14 Piotr Karbowski
2023-07-23 16:40 Piotr Karbowski
2023-07-23 16:40 Piotr Karbowski
2023-07-04 16:45 Piotr Karbowski
2023-05-02 15:32 Arthur Zamarin
2023-05-02 15:21 Arthur Zamarin
2023-03-22  1:20 Sam James
2023-03-20 21:31 Piotr Karbowski
2023-03-19 22:57 Piotr Karbowski
2023-03-19 22:57 Piotr Karbowski
2023-03-19 22:57 Piotr Karbowski
2023-03-06 13:04 Arthur Zamarin
2023-03-06 13:04 Arthur Zamarin
2023-01-07 23:04 Sam James
2023-01-07 23:04 Sam James
2023-01-07 19:59 Piotr Karbowski
2022-12-09 22:32 Sam James
2022-12-09 22:04 Arthur Zamarin
2022-11-19 15:54 Piotr Karbowski
2022-11-19 15:54 Piotr Karbowski
2022-11-06  8:05 Agostino Sarubbo
2022-11-06  5:52 Sam James
2022-11-03  2:03 Yixun Lan
2022-10-23 14:15 Piotr Karbowski
2022-09-20 18:47 Piotr Karbowski
2022-07-10 15:00 Piotr Karbowski
2022-07-10 15:00 Piotr Karbowski
2022-07-10 12:16 Sam James
2022-07-10 12:16 Sam James
2022-07-10  9:39 Piotr Karbowski
2022-05-02 20:39 Piotr Karbowski
2021-12-24 23:12 Jason Zaman
2021-01-02  7:21 Jason Zaman
2021-01-02  7:21 Jason Zaman
2021-01-02  7:21 Jason Zaman
2020-09-07  9:33 Jason Zaman
2020-09-07  9:33 Jason Zaman
2020-09-07  9:33 Jason Zaman
2020-09-07  9:33 Jason Zaman
2020-06-25 20:22 Conrad Kostecki
2020-06-20 20:31 Thomas Deutschmann
2020-06-09 13:53 Agostino Sarubbo
2020-06-09 13:45 Agostino Sarubbo
2020-06-06 19:31 Mart Raudsepp
2020-02-29  7:13 Jason Zaman
2020-02-16 13:35 Jason Zaman
2020-02-16 13:35 Jason Zaman
2020-02-16 13:35 Jason Zaman
2020-01-24 19:49 Jason Zaman
2019-10-18 12:55 Jason Zaman
2019-08-07  7:58 Jason Zaman
2019-04-29 14:24 Jason Zaman
2019-04-29 14:24 Jason Zaman
2019-04-29 14:24 Jason Zaman
2019-01-02 15:55 Jason Zaman
2019-01-02 15:55 Jason Zaman
2019-01-02 15:55 Jason Zaman
2018-11-27 14:01 Jason Zaman
2018-09-24  5:21 Jason Zaman
2018-09-24  5:21 Jason Zaman
2018-07-31  7:45 Jason Zaman
2018-07-31  7:45 Jason Zaman
2018-04-06 10:32 Jason Zaman
2018-03-18  2:38 Jason Zaman
2018-02-16 16:12 Jason Zaman
2018-02-16 16:12 Jason Zaman
2017-10-28  9:10 Patrice Clement
2017-07-30 11:09 David Seifert
2017-05-26 19:33 Jason Zaman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1739906482.102a4eb1295b2bab14dc7a374482e8f39a912eac.arthurzam@gentoo \
    --to=arthurzam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox