summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Karbowski <slashbeast@gentoo.org>2023-01-07 20:15:19 +0100
committerPiotr Karbowski <slashbeast@gentoo.org>2023-01-07 20:59:48 +0100
commit435bf8e0890d0a5e5dc3ba8aecd6be4d2dac19cd (patch)
tree0e315429a3538ef8011b759517e4b1f2856a5419 /net-misc/rclone
parentdev-python/sphinx: add 6.1.2 (diff)
downloadgentoo-435bf8e0890d0a5e5dc3ba8aecd6be4d2dac19cd.tar.gz
gentoo-435bf8e0890d0a5e5dc3ba8aecd6be4d2dac19cd.tar.bz2
gentoo-435bf8e0890d0a5e5dc3ba8aecd6be4d2dac19cd.zip
net-misc/rclone: 1.61.1 version bump.
Closes: https://bugs.gentoo.org/888914 Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>
Diffstat (limited to 'net-misc/rclone')
-rw-r--r--net-misc/rclone/Manifest2
-rw-r--r--net-misc/rclone/rclone-1.61.1.ebuild41
2 files changed, 43 insertions, 0 deletions
diff --git a/net-misc/rclone/Manifest b/net-misc/rclone/Manifest
index 19d062c2ebe1..b910f9f85957 100644
--- a/net-misc/rclone/Manifest
+++ b/net-misc/rclone/Manifest
@@ -4,3 +4,5 @@ DIST rclone-1.60.0-deps.tar.xz 260508436 BLAKE2B 5e4170601d76b4e221762ecac21a8c6
DIST rclone-1.60.0.tar.gz 16018631 BLAKE2B e40f6a7e9954bc55232c126eb3095b2938761be170422d8ce63b76bf2c20d9c887a7c9d0b050ea094e125584c7ae6aad12f8d4a7fb3a85f9fb67e77bd9d0fb7b SHA512 f24958e5e99f1b4812952434921e6a0f21fd2a46c41d5c2e714cd5d686edf0fb2f60cbe6c79674c7e0fcd11de7b5fa2b86ef2eae62ec776dd9bbb567c908919d
DIST rclone-1.60.1-deps.tar.xz 260510372 BLAKE2B 74b5998a8d6ff1d78eaf86bab38d90eee1abdc92d4e560d15ef4449663b2b0b4a243522fb1b74e1329e15372133cbd32be5437ad68cc6aab3e82efd6840ea362 SHA512 08b3970c4694c3c4ca3637e3221c2a54c4305d0f4b091c4e2b258b7d07f548bca1424eaa50c6fe5e2685761c4976e59caa0b5997a65d1b4e30a0644e1d030fe4
DIST rclone-1.60.1.tar.gz 16026540 BLAKE2B bdc666de0d242847596719a9dd6823683a5c100fc9bcacf611d956d50823fb9e3874fc1216de244b7004f52875cee6f8739ecaf2d2d2f61cd231e824d71cd2ad SHA512 ba4e4a3a57ae639665ca22576a4c8ed6d8818aa903a7d4211bf2cfbb0fb81a95162521806b7174a042bb684262786dfee4c204d6080d33e59bd9705dc9d8db9c
+DIST rclone-1.61.1-deps.tar.xz 286458984 BLAKE2B 5129b10d67c0b8dbc03d5f3250667fd7836234720e6ef171a46f364cecb9f81c33dbba46077e1d48380b3c04f444495a6482111636efa81134682379e678b4cd SHA512 0502424d66a9c029b95a34a15e60567f06f9cef35a2e9fd6a459b99a4b45a0a55dc7efc6f430dc718888542d532f614e3b3fbc320ea56e4852e75de2434ef21a
+DIST rclone-1.61.1.tar.gz 16112718 BLAKE2B cb68fedf03812451d9c8ded88bfc073c8177948b1e932acf99d22b23d3d11b1f52027e2afe88472ba6c88637a8e58e2955b67575ed7356b7b0900d6c7a7bb65c SHA512 739b976a4538586670b797c92f9cbd416c3589444a611926b5edd074e8249dfcff9d95e8053459aa42c4cbe90009a9ba1c3abb9be8e8718db6276fdc39386273
diff --git a/net-misc/rclone/rclone-1.61.1.ebuild b/net-misc/rclone/rclone-1.61.1.ebuild
new file mode 100644
index 000000000000..585af0e639a7
--- /dev/null
+++ b/net-misc/rclone/rclone-1.61.1.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 ~riscv ~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}
+}