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: Fri, 26 May 2017 19:33:08
Message-Id: 1495827140.7edde5465da4ee83092bed63e95f8bd29f133550.perfinion@gentoo
1 commit: 7edde5465da4ee83092bed63e95f8bd29f133550
2 Author: Jason Zaman <perfinion <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 26 19:31:49 2017 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Fri May 26 19:32:20 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7edde546
7
8 net-misc/rclone: New package
9
10 Ebuild from Jack Coulter and Chris Pritchard
11
12 Gentoo-Bug: https://bugs.gentoo.org/609510
13
14 Package-Manager: Portage-2.3.5, Repoman-2.3.1
15
16 net-misc/rclone/Manifest | 1 +
17 net-misc/rclone/metadata.xml | 8 ++++++++
18 net-misc/rclone/rclone-1.36.ebuild | 31 +++++++++++++++++++++++++++++++
19 net-misc/rclone/rclone-9999.ebuild | 31 +++++++++++++++++++++++++++++++
20 4 files changed, 71 insertions(+)
21
22 diff --git a/net-misc/rclone/Manifest b/net-misc/rclone/Manifest
23 new file mode 100644
24 index 00000000000..71ff95857b6
25 --- /dev/null
26 +++ b/net-misc/rclone/Manifest
27 @@ -0,0 +1 @@
28 +DIST rclone-1.36.tar.gz 14013564 SHA256 a573b70e3aeb355b943dddd6ae9375386fc21bf12dfba601d8d7280f97c4c884 SHA512 589b5e2370244b5609d1ec8245f9f5f5cf58d6a2d507768db2cfc5a5b882f7d277d797fd0068b904538f3700e1751df03a21697d5295c83a2bf01a78d0ac6b13 WHIRLPOOL aa75c6c32cdcebd79ecf79abd03b4dc0205517808eb232a9655e8ae3da327cd62ad7183f4e0b0f6b7b52649c0c5058fdc2b57bc7b31b7dffb05e8a1508307d5c
29
30 diff --git a/net-misc/rclone/metadata.xml b/net-misc/rclone/metadata.xml
31 new file mode 100644
32 index 00000000000..76f45cdee0f
33 --- /dev/null
34 +++ b/net-misc/rclone/metadata.xml
35 @@ -0,0 +1,8 @@
36 +<?xml version="1.0" encoding="UTF-8"?>
37 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
38 +<pkgmetadata>
39 + <maintainer type="person">
40 + <email>perfinion@g.o</email>
41 + <name>Jason Zaman</name>
42 + </maintainer>
43 +</pkgmetadata>
44
45 diff --git a/net-misc/rclone/rclone-1.36.ebuild b/net-misc/rclone/rclone-1.36.ebuild
46 new file mode 100644
47 index 00000000000..0c936bdca50
48 --- /dev/null
49 +++ b/net-misc/rclone/rclone-1.36.ebuild
50 @@ -0,0 +1,31 @@
51 +# Copyright 1999-2017 Gentoo Foundation
52 +# Distributed under the terms of the GNU General Public License v2
53 +
54 +EAPI=6
55 +inherit golang-build
56 +EGO_PN="github.com/ncw/${PN}"
57 +
58 +if [[ ${PV} == *9999* ]]; then
59 + inherit golang-vcs
60 +else
61 + KEYWORDS="~amd64 ~arm ~x86"
62 + EGIT_COMMIT="v${PV}"
63 + SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
64 + inherit golang-vcs-snapshot
65 +fi
66 +
67 +DESCRIPTION="A program to sync files to and from various cloud storage providers"
68 +HOMEPAGE="https://rclone.org/"
69 +
70 +LICENSE="MIT"
71 +SLOT="0"
72 +IUSE=""
73 +
74 +DEPEND=""
75 +RDEPEND="${DEPEND}"
76 +
77 +src_install() {
78 + dobin ${PN}
79 + doman src/${EGO_PN}/${PN}.1
80 + dodoc src/${EGO_PN}/README.md
81 +}
82
83 diff --git a/net-misc/rclone/rclone-9999.ebuild b/net-misc/rclone/rclone-9999.ebuild
84 new file mode 100644
85 index 00000000000..0c936bdca50
86 --- /dev/null
87 +++ b/net-misc/rclone/rclone-9999.ebuild
88 @@ -0,0 +1,31 @@
89 +# Copyright 1999-2017 Gentoo Foundation
90 +# Distributed under the terms of the GNU General Public License v2
91 +
92 +EAPI=6
93 +inherit golang-build
94 +EGO_PN="github.com/ncw/${PN}"
95 +
96 +if [[ ${PV} == *9999* ]]; then
97 + inherit golang-vcs
98 +else
99 + KEYWORDS="~amd64 ~arm ~x86"
100 + EGIT_COMMIT="v${PV}"
101 + SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
102 + inherit golang-vcs-snapshot
103 +fi
104 +
105 +DESCRIPTION="A program to sync files to and from various cloud storage providers"
106 +HOMEPAGE="https://rclone.org/"
107 +
108 +LICENSE="MIT"
109 +SLOT="0"
110 +IUSE=""
111 +
112 +DEPEND=""
113 +RDEPEND="${DEPEND}"
114 +
115 +src_install() {
116 + dobin ${PN}
117 + doman src/${EGO_PN}/${PN}.1
118 + dodoc src/${EGO_PN}/README.md
119 +}