Gentoo Archives: gentoo-commits

From: Piotr Karbowski <slashbeast@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/rclone/
Date: Sun, 19 Mar 2023 22:57:43
Message-Id: 1679266655.9d0cf936edc8bdaa4fc781045da056ccf5d97313.slashbeast@gentoo
1 commit: 9d0cf936edc8bdaa4fc781045da056ccf5d97313
2 Author: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 19 22:57:20 2023 +0000
4 Commit: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 19 22:57:35 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d0cf936
7
8 net-misc/rclone: 1.62.0 version bump.
9
10 Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>
11
12 net-misc/rclone/Manifest | 2 ++
13 net-misc/rclone/rclone-1.62.0.ebuild | 41 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 43 insertions(+)
15
16 diff --git a/net-misc/rclone/Manifest b/net-misc/rclone/Manifest
17 index e9e4c4ba9084..5cc731ae1f27 100644
18 --- a/net-misc/rclone/Manifest
19 +++ b/net-misc/rclone/Manifest
20 @@ -1,2 +1,4 @@
21 DIST rclone-1.61.1-deps.tar.xz 286458984 BLAKE2B 5129b10d67c0b8dbc03d5f3250667fd7836234720e6ef171a46f364cecb9f81c33dbba46077e1d48380b3c04f444495a6482111636efa81134682379e678b4cd SHA512 0502424d66a9c029b95a34a15e60567f06f9cef35a2e9fd6a459b99a4b45a0a55dc7efc6f430dc718888542d532f614e3b3fbc320ea56e4852e75de2434ef21a
22 DIST rclone-1.61.1.tar.gz 16112718 BLAKE2B cb68fedf03812451d9c8ded88bfc073c8177948b1e932acf99d22b23d3d11b1f52027e2afe88472ba6c88637a8e58e2955b67575ed7356b7b0900d6c7a7bb65c SHA512 739b976a4538586670b797c92f9cbd416c3589444a611926b5edd074e8249dfcff9d95e8053459aa42c4cbe90009a9ba1c3abb9be8e8718db6276fdc39386273
23 +DIST rclone-1.62.0-deps.tar.xz 294254004 BLAKE2B 8d41d7a784280ea82f86225283a3813db5d78c9982f019522b05d06610dfe8a84ffe282cca99814aad92759b60fde27f8340a2f34c151bdb519e94eeaff894d7 SHA512 ebb9636c2a1fac47b243f00e4b434b231d988d37650eb4add794ab1c2b3d4d66e2524c330f7d184ad45b7a9079a565745bda9c79ad7120ac7d868cc71942acb4
24 +DIST rclone-1.62.0.tar.gz 16170956 BLAKE2B f067252b1f06531dc969c0073eb299d5ffba4a1c89a99094cc8a3b6eb4c63866d1d28b72bac2c95323f8f644268fa802ccf43256fece46a31aaffb065f3a7a49 SHA512 3ab3bd07f1f83c19b9a9783df496c15273bd7bc192eac309683456589af8d179add8ee1cd334dbecbbae9ce8c9bfd84e905547e23c4d66452c96ca6a6d075755
25
26 diff --git a/net-misc/rclone/rclone-1.62.0.ebuild b/net-misc/rclone/rclone-1.62.0.ebuild
27 new file mode 100644
28 index 000000000000..649ec2384a36
29 --- /dev/null
30 +++ b/net-misc/rclone/rclone-1.62.0.ebuild
31 @@ -0,0 +1,41 @@
32 +# Copyright 1999-2023 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +inherit bash-completion-r1 go-module
37 +
38 +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
39 +SRC_URI="
40 + https://github.com/rclone/rclone/archive/v${PV}.tar.gz -> ${P}.tar.gz
41 + https://dev.gentoo.org/~slashbeast/distfiles/${PN}/${P}-deps.tar.xz
42 +"
43 +
44 +DESCRIPTION="A program to sync files to and from various cloud storage providers"
45 +HOMEPAGE="https://rclone.org/"
46 +
47 +LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0"
48 +SLOT="0"
49 +IUSE=""
50 +
51 +src_compile() {
52 + go build -mod=readonly . || die "compile failed"
53 +}
54 +
55 +src_test() {
56 + # Setting CI skips unreliable tests, see fstest/testy/testy.go
57 + # TestAddPlugin and TestRemovePlugin fail
58 + RCLONE_CONFIG="/notfound" CI="true" go test -mod=readonly -v -run "!Test.*Plugin" ./... || die "test failed"
59 +}
60 +
61 +src_install() {
62 + dobin ${PN}
63 + doman ${PN}.1
64 + dodoc README.md
65 +
66 + ./rclone genautocomplete bash ${PN}.bash || die
67 + newbashcomp ${PN}.bash ${PN}
68 +
69 + ./rclone genautocomplete zsh ${PN}.zsh || die
70 + insinto /usr/share/zsh/site-functions
71 + newins ${PN}.zsh _${PN}
72 +}