summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Karbowski <slashbeast@gentoo.org>2022-10-23 16:14:58 +0200
committerPiotr Karbowski <slashbeast@gentoo.org>2022-10-23 16:15:23 +0200
commitbac17fb35c46f326042fcf99cbea00a141b2142c (patch)
tree6c5a81a44b42fa77ccb2c980553795346823743b /net-misc
parentnet-p2p/nicotine+: 3.2.6 version bump. (diff)
downloadgentoo-bac17fb35c46f326042fcf99cbea00a141b2142c.tar.gz
gentoo-bac17fb35c46f326042fcf99cbea00a141b2142c.tar.bz2
gentoo-bac17fb35c46f326042fcf99cbea00a141b2142c.zip
net-misc/rclone: 1.60.0 version bump.
Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/rclone/Manifest2
-rw-r--r--net-misc/rclone/rclone-1.60.0.ebuild41
2 files changed, 43 insertions, 0 deletions
diff --git a/net-misc/rclone/Manifest b/net-misc/rclone/Manifest
index 67dc9b47a31d..03c48e45a529 100644
--- a/net-misc/rclone/Manifest
+++ b/net-misc/rclone/Manifest
@@ -4,3 +4,5 @@ DIST rclone-1.59.0-deps.tar.xz 301036992 BLAKE2B f5acc3d1ec96e27a963437125959748
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
+DIST rclone-1.60.0-deps.tar.xz 260508436 BLAKE2B 5e4170601d76b4e221762ecac21a8c6a00635c6fd7958f993e4132ca703a8d91773d42523513be917feab7ae16a1babe3bd9c8142937604e724d36f7386bd8d8 SHA512 460a3f722324f0dc04408ab76a4e3be96b85d420921e7a8acc52eeebe4f6b11598c6b313946104d7ccb8cfa6c9071886f82ca7b7b863d11d5e520e68e500e7ac
+DIST rclone-1.60.0.tar.gz 16018631 BLAKE2B e40f6a7e9954bc55232c126eb3095b2938761be170422d8ce63b76bf2c20d9c887a7c9d0b050ea094e125584c7ae6aad12f8d4a7fb3a85f9fb67e77bd9d0fb7b SHA512 f24958e5e99f1b4812952434921e6a0f21fd2a46c41d5c2e714cd5d686edf0fb2f60cbe6c79674c7e0fcd11de7b5fa2b86ef2eae62ec776dd9bbb567c908919d
diff --git a/net-misc/rclone/rclone-1.60.0.ebuild b/net-misc/rclone/rclone-1.60.0.ebuild
new file mode 100644
index 000000000000..7c77180a06c2
--- /dev/null
+++ b/net-misc/rclone/rclone-1.60.0.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}
+}