Gentoo Archives: gentoo-commits

From: Jason Zaman <perfinion@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/rclone/
Date: Tue, 31 Jul 2018 07:45:20
Message-Id: 1533023043.c8f5a5038fdbf67751f1e79b43e687ef79352432.perfinion@gentoo
1 commit: c8f5a5038fdbf67751f1e79b43e687ef79352432
2 Author: Alexander Kurakin <kuraga333 <AT> mail <DOT> ru>
3 AuthorDate: Sun Jul 22 10:40:26 2018 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 31 07:44:03 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8f5a503
7
8 net-misc/rclone: version bump to 1.41
9
10 net-misc/rclone/Manifest | 1 +
11 net-misc/rclone/rclone-1.41.ebuild | 38 ++++++++++++++++++++++++++++++++++++++
12 2 files changed, 39 insertions(+)
13
14 diff --git a/net-misc/rclone/Manifest b/net-misc/rclone/Manifest
15 index 700825a1b23..b9c2d7915b1 100644
16 --- a/net-misc/rclone/Manifest
17 +++ b/net-misc/rclone/Manifest
18 @@ -1,2 +1,3 @@
19 DIST rclone-1.39.tar.gz 38015559 BLAKE2B 534bd0be87e7c8291bfe3acdaff12e9acfddeb42f08067d413184a688b5c0cdfcde78abff3551d81cd2e692a020386116f03842c8390852b2137c2f8342e43f2 SHA512 6e5e5f5e06510f36185d165986cbd3ed994d3cbf97055b4dea37c78af932f89ab8c89249006b829aad38ba43c77ff46f254ba56bcfbae7deca1ebcea555ad884
20 DIST rclone-1.40.tar.gz 46067393 BLAKE2B 56bc172965f7f601c8f5c9c72a03ca44b1b41cf280497f7473d318b6667f00df4dac2d104f6fe7daf1529ebedd4d6f4ca5899944e82d68b8fd1b66226264e82f SHA512 ce46393097122f2ae9669310767487218f74ee8fab607cb6355df33329325fe626d17b36565b7864e6b4ca1de75714e29356d7abeb3cc42038d3ab0677408973
21 +DIST rclone-1.41.tar.gz 48197335 BLAKE2B b2b48f74cebd5f7f772b0e0c58ba23a1f9a4981df8821da0c773d1dd1a6b713b51b075500e5f70086d481d080dbc2029ffb56455416d72d93b0b624c0569790f SHA512 efce2827a659d83c2fce74c50e6d4182dc5916ba8e47a335f2719cce5c3eb4a9622ee0f53c5923af1ed84b340b6dd7ac00bcf48dbb3de53644dc3f2298523112
22
23 diff --git a/net-misc/rclone/rclone-1.41.ebuild b/net-misc/rclone/rclone-1.41.ebuild
24 new file mode 100644
25 index 00000000000..2c530609ee7
26 --- /dev/null
27 +++ b/net-misc/rclone/rclone-1.41.ebuild
28 @@ -0,0 +1,38 @@
29 +# Copyright 1999-2018 Gentoo Foundation
30 +# Distributed under the terms of the GNU General Public License v2
31 +
32 +EAPI=6
33 +inherit golang-build bash-completion-r1
34 +EGO_PN="github.com/ncw/${PN}"
35 +
36 +if [[ ${PV} == *9999* ]]; then
37 + inherit golang-vcs
38 +else
39 + KEYWORDS="~amd64 ~arm ~x86"
40 + EGIT_COMMIT="v${PV}"
41 + SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
42 + inherit golang-vcs-snapshot
43 +fi
44 +
45 +DESCRIPTION="A program to sync files to and from various cloud storage providers"
46 +HOMEPAGE="https://rclone.org/"
47 +
48 +LICENSE="MIT"
49 +SLOT="0"
50 +IUSE=""
51 +
52 +DEPEND=""
53 +RDEPEND="${DEPEND}"
54 +
55 +src_install() {
56 + dobin ${PN}
57 + doman src/${EGO_PN}/${PN}.1
58 + dodoc src/${EGO_PN}/README.md
59 +
60 + ./rclone genautocomplete bash ${PN}.bash || die
61 + newbashcomp ${PN}.bash ${PN}
62 +
63 + ./rclone genautocomplete zsh ${PN}.zsh || die
64 + insinto /usr/share/zsh/site-functions
65 + newins ${PN}.zsh _${PN}
66 +}