diff options
author | Piotr Karbowski <slashbeast@gentoo.org> | 2022-11-19 16:51:14 +0100 |
---|---|---|
committer | Piotr Karbowski <slashbeast@gentoo.org> | 2022-11-19 16:51:14 +0100 |
commit | 38ded96221c91a3f3a7b78d83d1adbafbc0bedb6 (patch) | |
tree | 2defca1c5430fda169951c32a4348a65e9d01989 /net-misc/rclone | |
parent | net-ftp/proftpd: drop old (diff) | |
download | gentoo-38ded96221c91a3f3a7b78d83d1adbafbc0bedb6.tar.gz gentoo-38ded96221c91a3f3a7b78d83d1adbafbc0bedb6.tar.bz2 gentoo-38ded96221c91a3f3a7b78d83d1adbafbc0bedb6.zip |
net-misc/rclone: 1.60.1 version bump.
Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>
Diffstat (limited to 'net-misc/rclone')
-rw-r--r-- | net-misc/rclone/Manifest | 2 | ||||
-rw-r--r-- | net-misc/rclone/rclone-1.60.1.ebuild | 41 |
2 files changed, 43 insertions, 0 deletions
diff --git a/net-misc/rclone/Manifest b/net-misc/rclone/Manifest index 03c48e45a529..47274cb1df60 100644 --- a/net-misc/rclone/Manifest +++ b/net-misc/rclone/Manifest @@ -6,3 +6,5 @@ DIST rclone-1.59.2-deps.tar.xz 295715984 BLAKE2B c2ff3beb776f8697ef44421c2adb7a7 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 +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 diff --git a/net-misc/rclone/rclone-1.60.1.ebuild b/net-misc/rclone/rclone-1.60.1.ebuild new file mode 100644 index 000000000000..585af0e639a7 --- /dev/null +++ b/net-misc/rclone/rclone-1.60.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} +} |