From 40107d0b7a8ad8fbb3c6ecfd32ed4bbf9586506c Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Fri, 21 Oct 2022 15:10:29 -0500 Subject: app-backup/restic: add 0.14.0 Closes: https://github.com/gentoo/gentoo/pull/27050 Signed-off-by: William Hubbs --- app-backup/restic/Manifest | 2 ++ app-backup/restic/restic-0.14.0.ebuild | 45 ++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 app-backup/restic/restic-0.14.0.ebuild (limited to 'app-backup/restic') diff --git a/app-backup/restic/Manifest b/app-backup/restic/Manifest index 46910c4dcc95..fda2dbb5def0 100644 --- a/app-backup/restic/Manifest +++ b/app-backup/restic/Manifest @@ -892,6 +892,8 @@ DIST restic-0.12.1.tar.gz 23829887 BLAKE2B a9e94d0f4f8de9e6250dd40595e560393b1e0 DIST restic-0.13.0.tar.gz 23855262 BLAKE2B fc4d0d91b21cb136311780ab6a3effb96f24a326c3f6e89d39148704c3f4991cb3a64c8193dd9cd83097ad95eda762de172a6a4b19bbeb093e5fd5f45ba1a49f SHA512 7f495cfaf40ef0d987e805c68dc328215477b6f662518292c73450fad012c82a07465efd5802bca11c852082c26f682390a781ac3030c79351c6057399657d54 DIST restic-0.13.1-deps.tar.xz 179648640 BLAKE2B 5ba9663a95ccc3a1c41b88e44704e74ac346cfaea8a86032ab44af9215e347b2a3a25938fffad49ec64ae7afee579c8327cd9f70590fb7ccb23a15e1f77ad3e8 SHA512 936881fd1b9af3959deaa80525a737749d890bf5f7abafc01e6a909c47f86143b36ad4f765da53238c74b780c2ba866ea2b56fd5a64aaebae2a45b4ed970593f DIST restic-0.13.1.tar.gz 23855387 BLAKE2B e10fb1920ab62ba2116b8a7b9676c537c93fe2e8743a9ce6748b412d11fcf611deb368c0db1b0855b71fbac260930c86dc510ee149c09692eb93bf6e1830d0d6 SHA512 14feb6d0b3d258783d55ad537d8ccbdc9574a966e14f65465c132eceb92c821f4033428eba83acb1e1a9cfb169cc5fdc86b6ae90b94fe2855bd1f69262e30770 +DIST restic-0.14.0-deps.tar.xz 226627460 BLAKE2B e97fe4b68b4216fa01449aff7a8df8d3ef91d64d97f07930740fdfbd0ead5099e2a732a36613db85104611a993926e10043ae35eddd19248303e17352ab9681f SHA512 6b89be07baaf080c287b51163e41d1e659df8e844d75a801df49e0062db872b4ab7d03ec617047e34aa8b0d2912fe384053c0de2c9ab282f1c80c88a07fda81a +DIST restic-0.14.0.tar.gz 23902279 BLAKE2B 21586b48e55de53b19c4f4d368167c69e3050cff41ae85a6fcdb3171ac71a38987b8b578de2e9e37bac9a531d364432610b9ecb316b3c93133fa07ccac5664f3 SHA512 d896c93b72790ba5b3c3cd71b68bb45682a12661067cd0d7370b6dfe6d4482988462c4243b5c0b412e5444784568f0375c5a01d43d4d0557d5e6bf01ca512157 DIST rsc.io%2Fbinaryregexp%2F@v%2Fv0.2.0.mod 36 BLAKE2B 61110bed2b9e99e0250cf6e8b842257202c89b3462edf9368b73cab29f9dbd4dcc66c3e290a1d6329b7d62321eecc52082a8c4c0797eac743a29a8a00910a93f SHA512 db50ff677b0bdccbc1a1ad3df7c5cc76f2fcccf3ab99d08d1c2868440eb9b893fe89452f4286f7d42f2f16abf0f4acda67fe86e174dcfa730a743aafcc166774 DIST rsc.io%2Fquote%2Fv3%2F@v%2Fv3.1.0.mod 55 BLAKE2B f1f0ba35f0ffd200ed37c06b2025c1fd436e3fd857bd525b9295c0cbcade7e1f037e3f566124a7ef428384d50525426f0d40468c967e39bac6057174710e2566 SHA512 e6357ddd7d09692c60e59e6cb80469ade8284052cdd3ea520ec4dbcb42c1cabe045c599e43cce94bec022bd82e87a554ecac42f8c917cf2ff44daff9c1a147d5 DIST rsc.io%2Fsampler%2F@v%2Fv1.3.0.mod 88 BLAKE2B c2ac3c9619e396db470c9951dfc11cdacccd56ae09b3b353015ee7e5fbb023df288dbf48d81b44c309241d1ea89a2e0ee42ee1d17e536fcfa531aaee0e651ab7 SHA512 2137507eb25fbae419605e0cd6bca4cfa584110eebc276cd759a4dcb6f97e52928e5b2d9b276e76bcabcec3bbfc2c42f97fa29f54695d27fb00f9423e1638863 diff --git a/app-backup/restic/restic-0.14.0.ebuild b/app-backup/restic/restic-0.14.0.ebuild new file mode 100644 index 000000000000..3f14c9077b21 --- /dev/null +++ b/app-backup/restic/restic-0.14.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 go-module + +DESCRIPTION="A backup program that is fast, efficient and secure" +HOMEPAGE="https://restic.github.io/" +SRC_URI="https://github.com/restic/restic/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" + +LICENSE="Apache-2.0 BSD BSD-2 LGPL-3-with-linking-exception MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND="sys-fs/fuse:0" +DEPEND="${RDEPEND}" + +src_compile() { + local mygoargs=( + -tags release + -ldflags "-X main.version=${PV}" + -asmflags "-trimpath=${S}" + -gcflags "-trimpath=${S}" + ) + + ego build "${mygoargs[@]}" -o restic ./cmd/restic +} + +src_test() { + ego test -timeout 30m ./cmd/... ./internal/... +} + +src_install() { + dobin restic + + newbashcomp doc/bash-completion.sh "${PN}" + + insinto /usr/share/zsh/site-functions + newins doc/zsh-completion.zsh _restic + + doman doc/man/* + dodoc doc/*.rst +} -- cgit v1.2.3-65-gdbad