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: Mon, 29 Apr 2019 14:24:51
Message-Id: 1556547766.94ad140cdd9c8e9f81b64579f53170bfc7ebf174.perfinion@gentoo
1 commit: 94ad140cdd9c8e9f81b64579f53170bfc7ebf174
2 Author: Jason Zaman <perfinion <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 29 13:44:36 2019 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 29 14:22:46 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94ad140c
7
8 net-misc/rclone: bump 1.47.0
9
10 Closes: https://bugs.gentoo.org/678408
11 Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>
12 Package-Manager: Portage-2.3.62, Repoman-2.3.11
13
14 net-misc/rclone/Manifest | 1 +
15 net-misc/rclone/rclone-1.47.0.ebuild | 38 ++++++++++++++++++++++++++++++++++++
16 2 files changed, 39 insertions(+)
17
18 diff --git a/net-misc/rclone/Manifest b/net-misc/rclone/Manifest
19 index a99aefe71e3..0e009c2cb9d 100644
20 --- a/net-misc/rclone/Manifest
21 +++ b/net-misc/rclone/Manifest
22 @@ -1,2 +1,3 @@
23 DIST rclone-1.44.tar.gz 16362501 BLAKE2B 28b4e444b83f361ae641eb7b09e150d46eaac09dd777e247e38f3e708a18e8e58d6a1c40829aba1c44c6c37e733dced2eae069a9b6e725adf0785b7c9959e47b SHA512 1207316ed12646a4ec5f9795d5cca1de9d2fa333f60a8b6dd157462813e2e6ad9ebf85d3d20b9b881d11dcd9ac162b5a674a53ff2af15a452afcfc04f7b34f5b
24 DIST rclone-1.45.tar.gz 16494131 BLAKE2B 17ca4182af4efe23a367fc38226dc7fe146da55fea47a5f76773f1dcc3d3b629cca7964ffe41aa1e4dbd2fe36bd80545f336d2823a25ebb6b3effc768d4b46d2 SHA512 348dbd6a069f736219b7f925b6aa5234a4d70724ee5bfdb56067241063be36c44a091a37acb3285627803fa013329a6ef804aab4c0070ddaf322c5324b9e2a5a
25 +DIST rclone-1.47.0.tar.gz 17282254 BLAKE2B 57c4f3576427778db0fdc523d8b95b33db5cebfb0081d927abc8925eeaf90c0d2079f1d9572e81faac41e98cfee3028f39c9aed89e6db17188efb3541e3daa6a SHA512 90e68021f589bfad95989b45d91c47da63066e9bc60040052e866d1c7e420bc2784335cc5dbab0e4372c4f8686acb0a65853877c41081c8406eddada42550125
26
27 diff --git a/net-misc/rclone/rclone-1.47.0.ebuild b/net-misc/rclone/rclone-1.47.0.ebuild
28 new file mode 100644
29 index 00000000000..e1f64b65bde
30 --- /dev/null
31 +++ b/net-misc/rclone/rclone-1.47.0.ebuild
32 @@ -0,0 +1,38 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +inherit golang-build bash-completion-r1
38 +EGO_PN="github.com/ncw/${PN}"
39 +
40 +if [[ ${PV} == *9999* ]]; then
41 + inherit golang-vcs
42 +else
43 + KEYWORDS="~amd64 ~arm ~x86"
44 + EGIT_COMMIT="v${PV}"
45 + SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
46 + inherit golang-vcs-snapshot
47 +fi
48 +
49 +DESCRIPTION="A program to sync files to and from various cloud storage providers"
50 +HOMEPAGE="https://rclone.org/"
51 +
52 +LICENSE="MIT"
53 +SLOT="0"
54 +IUSE=""
55 +
56 +DEPEND=""
57 +RDEPEND="${DEPEND}"
58 +
59 +src_install() {
60 + dobin ${PN}
61 + doman src/${EGO_PN}/${PN}.1
62 + dodoc src/${EGO_PN}/README.md
63 +
64 + ./rclone genautocomplete bash ${PN}.bash || die
65 + newbashcomp ${PN}.bash ${PN}
66 +
67 + ./rclone genautocomplete zsh ${PN}.zsh || die
68 + insinto /usr/share/zsh/site-functions
69 + newins ${PN}.zsh _${PN}
70 +}