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 B9A4615939F for ; Tue, 9 Jul 2024 03:08:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0D0D0E2A4A; Tue, 9 Jul 2024 03:08:54 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E5B66E2A48 for ; Tue, 9 Jul 2024 03:08:53 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E514E343010 for ; Tue, 9 Jul 2024 03:08:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4976F1DF8 for ; Tue, 9 Jul 2024 03:08:51 +0000 (UTC) From: "Eli Schwartz" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Eli Schwartz" Message-ID: <1720494515.42cc28dbaf9e359bd15755208a9969b8722fa450.eschwartz@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.16.5.ebuild X-VCS-Directories: app-backup/restic/ X-VCS-Committer: eschwartz X-VCS-Committer-Name: Eli Schwartz X-VCS-Revision: 42cc28dbaf9e359bd15755208a9969b8722fa450 X-VCS-Branch: master Date: Tue, 9 Jul 2024 03:08:51 +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: 1ce92dbe-2826-4bab-bd67-d68716755fa5 X-Archives-Hash: f772c4274862f397aec641df61906468 commit: 42cc28dbaf9e359bd15755208a9969b8722fa450 Author: David Roman gmail com> AuthorDate: Mon Jul 8 21:26:22 2024 +0000 Commit: Eli Schwartz gentoo org> CommitDate: Tue Jul 9 03:08:35 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42cc28db app-backup/restic: add 0.16.5 Closes: https://bugs.gentoo.org/935346 Signed-off-by: David Roman gmail.com> Closes: https://github.com/gentoo/gentoo/pull/37492 Signed-off-by: Eli Schwartz gentoo.org> app-backup/restic/Manifest | 2 ++ app-backup/restic/restic-0.16.5.ebuild | 47 ++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/app-backup/restic/Manifest b/app-backup/restic/Manifest index 840755ba6421..d6fefda365d3 100644 --- a/app-backup/restic/Manifest +++ b/app-backup/restic/Manifest @@ -2,3 +2,5 @@ DIST restic-0.15.2-deps.tar.xz 159164476 BLAKE2B 652c5f880dc88ab9b4fcfb0168cf5bc DIST restic-0.15.2.tar.gz 23924222 BLAKE2B d07f505a9d3a425c2fbad275f43a3a23e0b84b673e0ac77f52c45c2965266b483ae136fe99f0bc82903680ff0c5843edd1ed72e4864e5977c2ed2c85a703520c SHA512 8135f8a77c6f1264d962156f58fca4023da6581099cfd4a69379d8f1f137443c217c0207aeb7d41b603b341e78e9b3050c6bdad81323e0efd7b81805f33263bd DIST restic-0.16.4-deps.tar.xz 171826444 BLAKE2B 2b4adb002209bbdcd2884f0126b775762517e6f008e6d862f63a8b373cc52c71d6f197ba753d90277f6136b38e6243e776ef8d75ce7437d563ccfc7e20509003 SHA512 b0c82b861265c4a2d42fa8fd921ec8d07a3018ccd6a2363dcaaf2e7cb1d40eb0ebe7e77dd6a44a30bc28c4d958facf504d27d231d2ea73b14c1f9a1ef12b33d5 DIST restic-0.16.4.tar.gz 23990246 BLAKE2B f8dff867ee5e0f9c16b3b22b7db7bfede6d38565558c99632e7239e9c6a19602cd7ea5c7761ac5d0103d6e07c68c0d20c64184317022799f19b9ac814c4b6ff4 SHA512 9f28f90466a30a3c1f32cd1951dddaa22d30ece8b1c18da1a907cc1dd0f98065c25529e855b56fc3d62801b052371d9fe117cd26f17e15276f6a9a309416e914 +DIST restic-0.16.5-deps.tar.xz 172231640 BLAKE2B 76dafbaf761a62c3830fbb44f2f64ed45d752081f034a49772366edaf9a6b6b60a964cf16e08b9cfb35a7791ddfd39e7447d4e41287e74c65322e31ef431e1da SHA512 af338dcb2805ec8c83afffb8d5a0179617a26547354cddbdff583d7c8837285e2faedd033d3786ade55d444b0e9319dbe780b8f73bb3492d67447a5eabc3a3d1 +DIST restic-0.16.5.tar.gz 23990221 BLAKE2B ffdbcbcd5cbd2c22009c7d9c58cbc943c542cdc8d11e2a41cd87df58e0319ec396d6d880396aaaca103012efdfbb68f4fa5d42bd7f3df9208f9b9d80b6dadf0d SHA512 57a1829e28c4317172c06e095d91d760466c589cc9d2f2a5f20491ffe60f7a7c60e4666377fa5ae275b3238c10c27ab9265ea4f9f98c34b288fbd1e70a0814c6 diff --git a/app-backup/restic/restic-0.16.5.ebuild b/app-backup/restic/restic-0.16.5.ebuild new file mode 100644 index 000000000000..1f7370b91e27 --- /dev/null +++ b/app-backup/restic/restic-0.16.5.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 +}