From 81faf9e931799435d880bce6497fd8103ecfe1b2 Mon Sep 17 00:00:00 2001 From: Piotr Karbowski Date: Tue, 4 Jul 2023 18:44:42 +0200 Subject: net-misc/rclone: 1.63.0 version bump. Signed-off-by: Piotr Karbowski --- net-misc/rclone/Manifest | 2 ++ net-misc/rclone/rclone-1.63.0.ebuild | 43 ++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 net-misc/rclone/rclone-1.63.0.ebuild (limited to 'net-misc') diff --git a/net-misc/rclone/Manifest b/net-misc/rclone/Manifest index 48b7ac987a83..625c5037afdd 100644 --- a/net-misc/rclone/Manifest +++ b/net-misc/rclone/Manifest @@ -2,3 +2,5 @@ DIST rclone-1.61.1-deps.tar.xz 286458984 BLAKE2B 5129b10d67c0b8dbc03d5f3250667fd DIST rclone-1.61.1.tar.gz 16112718 BLAKE2B cb68fedf03812451d9c8ded88bfc073c8177948b1e932acf99d22b23d3d11b1f52027e2afe88472ba6c88637a8e58e2955b67575ed7356b7b0900d6c7a7bb65c SHA512 739b976a4538586670b797c92f9cbd416c3589444a611926b5edd074e8249dfcff9d95e8053459aa42c4cbe90009a9ba1c3abb9be8e8718db6276fdc39386273 DIST rclone-1.62.2-deps.tar.xz 294265336 BLAKE2B 7f44b9972ab902ea53beb2cb6475dc4bbc1ca3b7254d1177a8d49107d6ce90724b0bb37567aecbd9421151ca0f7e7eaa01e6b4ed0d995264ddfc944cae98220e SHA512 2e1a6b864094b364745402b857036ebdea4dd83dddee6f18e3e40fbb0e740bae4d460b6f592d9ee50632fa73d6447f8dee0748a73a738a6dce263a20a1eae975 DIST rclone-1.62.2.tar.gz 16172767 BLAKE2B 29dd755a25adb3b332b45a662dd6ae1280c38a940e76cc6e3c5ccd38620b43b0b9f0a4598d752583ddff7e2c860416e4e36b6cdfc00cf81f03437ac13e88aba3 SHA512 c29b666ab5573e80f9e61955e987cf3834306bfebce209775f5838a0844e26b5c5ec41d64b8a8444745a99fd8e9c104b18631aeffb438e89839f996221b1c8ca +DIST rclone-1.63.0-deps.tar.xz 297987608 BLAKE2B cfda8663ca32b36f5e56db74a724bded03473d4626a55111cf6e06c70b9d8a1678e371eb129cfa5ab4c09df67a22a6887e1681c099e4459f83521c6ad424e4e7 SHA512 604339abaead46ea4332c3eb8459575a6e26b5440f8743a17a5ae95954adf7f8f17039aea555b5e5534211d5091fd345646a6b43e1deba4fb4fb2576fb783881 +DIST rclone-1.63.0.tar.gz 16291884 BLAKE2B 540755808dd73fac061c481e2ea4f1ee241bcd55ccabda9b05343f2074f1672868c4246baff42471ecc7000455fe2c2a04c93578faa994aa0323e0033681bb38 SHA512 5f4590a5244d4eb1a51fc15a4ebef70941af94db8790d3ea1bd56b91f399f580b2cd1cc168c5d5e1fd9ee4bc4a3a4a908c8720aead8f8c24bcee3eacc6423ef3 diff --git a/net-misc/rclone/rclone-1.63.0.ebuild b/net-misc/rclone/rclone-1.63.0.ebuild new file mode 100644 index 000000000000..715bda67b36e --- /dev/null +++ b/net-misc/rclone/rclone-1.63.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2023 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="" + +RDEPEND="sys-fs/fuse:3" + +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} +} -- cgit v1.2.3-65-gdbad