commit:     bcf21d2d4806c7da6b2019f960e43f1670691a12
Author:     Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 20 18:47:12 2022 +0000
Commit:     Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
CommitDate: Tue Sep 20 18:47:53 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcf21d2d

net-misc/rclone: 1.59.2 version bump.

Closes: https://bugs.gentoo.org/871930
Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>

 net-misc/rclone/Manifest             |  2 ++
 net-misc/rclone/rclone-1.59.2.ebuild | 41 ++++++++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/net-misc/rclone/Manifest b/net-misc/rclone/Manifest
index 058b84dc5fbb..67dc9b47a31d 100644
--- a/net-misc/rclone/Manifest
+++ b/net-misc/rclone/Manifest
@@ -2,3 +2,5 @@ DIST rclone-1.58.1-deps.tar.xz 201798856 BLAKE2B 
e739b038953292e78161a40c3bd2753
 DIST rclone-1.58.1.tar.gz 15696598 BLAKE2B 
601d60c5a1facc18bd6c157bf017ff8c0793fe4ca0bd8e8b719ad457882829919b18085c54a606c8880b60199c50b4a8f8fb7e73ca2c200efa899b8bcb7e0b63
 SHA512 
104ff2e743374ad3d0f3c517e34ac068d6439445732bc3ce4ffe8fbc13e7d2b4285518e8037c5600589425e001c26e334c7e31d12f9a476af958cb47097c4e00
 DIST rclone-1.59.0-deps.tar.xz 301036992 BLAKE2B 
f5acc3d1ec96e27a96343712595974827ebdb2a10c4d45bbd323228a47a097f9fdc71d439b0881dbee75a6406015ba5fcaccb616482333dd4c5df1cc32d84bc2
 SHA512 
41a3edbaeb6da5252f4eeb04cf3eb0ec1882de32c2ae5ffff5a659db6a841446ab756197b20878fc9a7053d687ce05b42ea45c30207cdbb16d8ba8a98256ea38
 DIST rclone-1.59.0.tar.gz 15940750 BLAKE2B 
d6923e766e78a88714b9ebbc146947421e5c9f327b2a6ea8f173d203e3cc952439408622bdc07a98ceb473131d338ca8246614e808e26085f829c971eccd32fe
 SHA512 
a6cb27687b5d4ca6f2a3597b16d6b00d212bbe0bc8542c399c597bc52d827254d41fa0aa67457677cc4ae53d5b264aef09aaa74d80d5a84e4efe9d40f3042b61
+DIST rclone-1.59.2-deps.tar.xz 295715984 BLAKE2B 
c2ff3beb776f8697ef44421c2adb7a7997fcb1343b54c5218a4b7615f05406f5310f248048814a3f6c81a4e83d8f7400603263476ef6fce0f9d14464b358cd07
 SHA512 
9c3c60d08422d632ac42fc92d2a8d5c075c115600fbace376f18cda5609eea261297d648da6558a93c3afea8131f877682175ae7ff8e0d2549776263bb9ec40b
+DIST rclone-1.59.2.tar.gz 15946730 BLAKE2B 
e05ce4b1c37af29499ae1b6a8d18a198fe43dcf788f3d1e3d027a871533c87783ed3ddc94c7c2772a94e3bc19c2540f4bb82aa79780f119c4c54833ad171671f
 SHA512 
5741e1e1b4d2d0dc0f80baf2f7c318cdda995c2f15b7b9e0dd1c9be7372ab21cedba377c40adcc0edd0482aec7c2a27e0144a6edb957840b9422a8bbff922342

diff --git a/net-misc/rclone/rclone-1.59.2.ebuild 
b/net-misc/rclone/rclone-1.59.2.ebuild
new file mode 100644
index 000000000000..7c77180a06c2
--- /dev/null
+++ b/net-misc/rclone/rclone-1.59.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit bash-completion-r1 go-module
+
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+SRC_URI="
+       https://github.com/rclone/rclone/archive/v${PV}.tar.gz -> ${P}.tar.gz
+       https://dev.gentoo.org/~slashbeast/distfiles/${PN}/${P}-deps.tar.xz
+"
+
+DESCRIPTION="A program to sync files to and from various cloud storage 
providers"
+HOMEPAGE="https://rclone.org/";
+
+LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0"
+SLOT="0"
+IUSE=""
+
+src_compile() {
+       go build -mod=readonly . || die "compile failed"
+}
+
+src_test() {
+       # Setting CI skips unreliable tests, see fstest/testy/testy.go
+       # TestAddPlugin and TestRemovePlugin fail
+       RCLONE_CONFIG="/notfound" CI="true" go test -mod=readonly -v -run 
"!Test.*Plugin" ./... || die "test failed"
+}
+
+src_install() {
+       dobin ${PN}
+       doman ${PN}.1
+       dodoc README.md
+
+       ./rclone genautocomplete bash ${PN}.bash || die
+       newbashcomp ${PN}.bash ${PN}
+
+       ./rclone genautocomplete zsh ${PN}.zsh || die
+       insinto /usr/share/zsh/site-functions
+       newins ${PN}.zsh _${PN}
+}

Reply via email to