Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/restic/
Date: Wed, 13 Jun 2018 12:15:38
Message-Id: 1528892126.985200a74dbf2df19990528360337b3184aed20e.mgorny@gentoo
1 commit: 985200a74dbf2df19990528360337b3184aed20e
2 Author: David Roman <davidroman96 <AT> gmail <DOT> com>
3 AuthorDate: Tue Jun 12 20:37:29 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 13 12:15:26 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=985200a7
7
8 app-backup/restic: remove old ebuild
9
10 Closes: https://github.com/gentoo/gentoo/pull/8822
11
12 app-backup/restic/Manifest | 1 -
13 app-backup/restic/restic-0.8.1.ebuild | 68 -----------------------------------
14 2 files changed, 69 deletions(-)
15
16 diff --git a/app-backup/restic/Manifest b/app-backup/restic/Manifest
17 index 21fcc07f010..55a668b58d5 100644
18 --- a/app-backup/restic/Manifest
19 +++ b/app-backup/restic/Manifest
20 @@ -1,4 +1,3 @@
21 -DIST restic-0.8.1.tar.gz 40330154 BLAKE2B 6758ae4cd7b3caf1bb58b9b95ddd9b99422f2a5997f37317381ec2714a4bc369331e1ba5accb791a2733eddcebdb056256a25b837cad6926f86ec61265d95324 SHA512 02d45b70b94514d3491297dcd34f26db854b6153a1aa297aaa9c938e09d65429fbe0dedb3c028ad38c769049f814c7a923481adfe9962a35dc39a7477a80fdab
22 DIST restic-0.8.3.tar.gz 48746281 BLAKE2B 4161326068165b5ba19e9ee0e6386aa1df29a961a42509a2cb7924958100b9412abd1dd27d299d1eef76fdd4731d4a56f0a68e796a46071229a3e6767d3a6bb7 SHA512 758b2c69af8aad6bb62dc750141d5f5a1954ca2b51350ef59c35fd10afefaddc4d8d0cdd5914f249594946db6138124a48fba531b8a24353f022ccea773a240c
23 DIST restic-0.9.0.tar.gz 51049118 BLAKE2B 4089a0eafe0f3778d540ffb87d5d773f1bb4296c3cb7a085a38cc1ac54742392790ccf61145ed3ff19a7e35b358e0b40c7f3edf6ee661e22ffd00efafa2bdee1 SHA512 c01e8450c7afbea59d86a53a5491e562ba5d1ab7fe3e96e0e5b53d96f4df2cf051d7abaef742ff2ecce759e2cd97386566e1c19260f0d74ae678edbe200aa885
24 DIST restic-0.9.1.tar.gz 51056544 BLAKE2B eb66381e284c94b17b0fa31f824f41b24a52d04555af6798fa9ac2f1dd0ca168d5e8a9fde922b205c420288002743b86a49a16a939c07a0f3fd942348f0348b6 SHA512 9d365bdcb561255e2103d7170d02e850e5cf767bc2e02e099d57ec9aad719ebd4319446f5162e64437ca9a8e1fdca273fd1c6cc4314013ca07b5ebdbeef93c2a
25
26 diff --git a/app-backup/restic/restic-0.8.1.ebuild b/app-backup/restic/restic-0.8.1.ebuild
27 deleted file mode 100644
28 index 3cd921c0f6d..00000000000
29 --- a/app-backup/restic/restic-0.8.1.ebuild
30 +++ /dev/null
31 @@ -1,68 +0,0 @@
32 -# Copyright 1999-2017 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -
37 -inherit golang-vcs-snapshot bash-completion-r1
38 -
39 -DESCRIPTION="A backup program that is fast, efficient and secure"
40 -HOMEPAGE="https://restic.github.io/"
41 -SRC_URI="https://github.com/restic/restic/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 -EGO_PN="github.com/restic/restic"
43 -
44 -LICENSE="BSD-2"
45 -SLOT="0"
46 -KEYWORDS="~amd64 ~arm ~x86"
47 -IUSE="test"
48 -
49 -DOCS=(
50 - README.rst CONTRIBUTING.md doc/010_introduction.rst doc/020_installation.rst
51 - doc/030_preparing_a_new_repo.rst doc/040_backup.rst doc/045_working_with_repos.rst
52 - doc/050_restore.rst doc/060_forget.rst doc/070_encryption.rst doc/080_examples.rst
53 - doc/090_participating.rst doc/100_references.rst doc/cache.rst doc/faq.rst
54 - doc/index.rst doc/manual_rest.rst
55 -)
56 -
57 -DEPEND="
58 - dev-lang/go
59 - test? ( sys-fs/fuse:0 )"
60 -
61 -RDEPEND="sys-fs/fuse:0"
62 -
63 -S="${WORKDIR}/${P}/src/${EGO_PN}"
64 -
65 -src_compile() {
66 - local mygoargs=(
67 - -v
68 - -work
69 - -x
70 - -tags release
71 - -ldflags "-s -w -X main.version=${PV}"
72 - -asmflags "-trimpath=${S}"
73 - -gcflags "-trimpath=${S}"
74 - -o restic ${EGO_PN}/cmd/restic
75 - )
76 -
77 - GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \
78 - go build "${mygoargs[@]}" || die
79 -}
80 -
81 -src_test() {
82 - GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \
83 - go test -timeout 30m -v -work -x ${EGO_PN}/cmd/... ${EGO_PN}/internal/... || die
84 -}
85 -
86 -src_install() {
87 - dobin restic
88 - einstalldocs
89 -
90 - newbashcomp doc/bash-completion.sh "${PN}"
91 -
92 - insinto /usr/share/zsh/site-functions
93 - newins doc/zsh-completion.zsh _restic
94 -
95 - local i
96 - for i in doc/man/*; do
97 - doman "$i"
98 - done
99 -}