From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8CC2415807A for ; Mon, 7 Oct 2024 06:46:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9ECB5E29AE; Mon, 7 Oct 2024 06:46:17 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6A9CCE29AE for ; Mon, 7 Oct 2024 06:46:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2A9BF343050 for ; Mon, 7 Oct 2024 06:46:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6D349227B for ; Mon, 7 Oct 2024 06:46:13 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1728283569.f38bbb52a2b76160cfb5d806b1fa2583c28991d5.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/restic/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-backup/restic/Manifest app-backup/restic/restic-0.17.1.ebuild X-VCS-Directories: app-backup/restic/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: f38bbb52a2b76160cfb5d806b1fa2583c28991d5 X-VCS-Branch: master Date: Mon, 7 Oct 2024 06:46:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 30d586d9-4ddb-4856-8e19-20ad1366f91a X-Archives-Hash: 79cc979a2c2bb56a65f33e377fa7376e commit: f38bbb52a2b76160cfb5d806b1fa2583c28991d5 Author: David Roman ifae es> AuthorDate: Fri Sep 6 09:17:04 2024 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Mon Oct 7 06:46:09 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f38bbb52 app-backup/restic: add 0.17.1 Signed-off-by: David Roman ifae.es> Closes: https://github.com/gentoo/gentoo/pull/38480 Signed-off-by: Joonas Niilola gentoo.org> app-backup/restic/Manifest | 2 ++ app-backup/restic/restic-0.17.1.ebuild | 47 ++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/app-backup/restic/Manifest b/app-backup/restic/Manifest index 81c4278b38e6..c63e503a90a2 100644 --- a/app-backup/restic/Manifest +++ b/app-backup/restic/Manifest @@ -2,3 +2,5 @@ DIST restic-0.16.5-deps.tar.xz 172231640 BLAKE2B 76dafbaf761a62c3830fbb44f2f64ed DIST restic-0.16.5.tar.gz 23990221 BLAKE2B ffdbcbcd5cbd2c22009c7d9c58cbc943c542cdc8d11e2a41cd87df58e0319ec396d6d880396aaaca103012efdfbb68f4fa5d42bd7f3df9208f9b9d80b6dadf0d SHA512 57a1829e28c4317172c06e095d91d760466c589cc9d2f2a5f20491ffe60f7a7c60e4666377fa5ae275b3238c10c27ab9265ea4f9f98c34b288fbd1e70a0814c6 DIST restic-0.17.0-deps.tar.xz 173393552 BLAKE2B fe5b89cabd820c43d417d768ade1f0f603e30a6c53b82fa1b82b3a8c95e5bc5eae4440c5bc77881022eceab2479b8aa4342d8fd07266897d679fe6422ff7152e SHA512 47d3d8a458ea1cf7a81092238534e4788c059a2450adb5db7b29b02ff4a0254bec4ced59534fdf481b03a5374fa12a5693fcf6cbba1eebeeee08361ced01a0e0 DIST restic-0.17.0.tar.gz 24093378 BLAKE2B 9930c1b7e27b532cfefecfd5bc8f90112e75452c5fe660015b5c31493018914f4f81fc3895fa83045a099cfd600d1bc615e689ec0cda28ecb93f4b95c6a3b075 SHA512 f9b91844f8eec7b462af05bf210c489c440ef7e8d2a5109aed4c1ead5988d722c74ca84ba770270e65c683e1c973ed0d36a3a218f2170da936d84028a264938b +DIST restic-0.17.1-deps.tar.xz 173603816 BLAKE2B 45745446febd9bfcd9bbb69e1687be3ec8d3487a33bf01011fa05e8155df7e20c04416754ed28fc12e9dcb6550960e672848605cf1c0b474cb8fe301ba49ab4a SHA512 932fa4ccf71fb04da0a68440e7f79ff628ea3fab3c970c11e87b8868cf7603691c73bb6083d34caa7f7e3be12a2b18b4e6c996ccd0294d15bdc76968f30fa1d6 +DIST restic-0.17.1.tar.gz 24104588 BLAKE2B cdfb89f21afe31c0f7bd881e8fbdfdeef020d3cb00910533954ff29218e2ee2ff7966e60c7e44fafb756cf0f1f7707e236b522e01816385d5db1a36f42e104ff SHA512 668b41cff65a81c7458b58c622a35bbbc4f73561e78af399440050744d18d751cab3030163a4c192091f1e21755c6988b94fbb6dd2dc47c626582fea8711f574 diff --git a/app-backup/restic/restic-0.17.1.ebuild b/app-backup/restic/restic-0.17.1.ebuild new file mode 100644 index 000000000000..1f7370b91e27 --- /dev/null +++ b/app-backup/restic/restic-0.17.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module shell-completion + +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://gentoo.kropotkin.rocks/go-pkgs/${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() { + addwrite /dev/fuse + # a number of the ./cmd/... tests fail + # ego test -timeout 30m ./cmd/... ./internal/... + RESTIC_TEST_FUSE=0 ego test -timeout 30m ./internal/... +} + +src_install() { + dobin restic + + newbashcomp doc/bash-completion.sh "${PN}" + newzshcomp doc/zsh-completion.zsh _restic + newfishcomp doc/fish-completion.fish "${PN}" + + doman doc/man/* + dodoc doc/*.rst +}