From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id AP3LJ/2IymVrnAAAqHPOHw:P1 (envelope-from ) for ; Mon, 12 Feb 2024 22:09:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id AP3LJ/2IymVrnAAAqHPOHw (envelope-from ) for ; Mon, 12 Feb 2024 22:09:17 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b=ByTShfq4; dmarc=fail reason="SPF not aligned (relaxed)" header.from=troyfigiel.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707772157; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=71s0R663enqCTRIQ1Bk0T7LAfq1num9ZwgX4ZyqLn/s=; b=jDI9/wpR9NB5eLuP8b0X19PFxefFJIbUxeGJVOBGjzCdLZlWrfI/yMrSaQEC7GOTSfmJ2p XpXxBDSkdfjLdZZij7BUuiMrtKGhv5SSDM5CMOr/tTqU+1nPPQMPis6gQqBNN3rbv6BTU3 GmP5zpWSjp56QzWVXEoIxPYSFcPpqP1cwCHn+Jc7X943E1vPLmajN4Uowmt/dnz3rZK3qZ t0r5j08TSfHTYsliOsLKV3DXWkv1BKnu9x1TrNeDjex1U/U1z2VeCKpDr3HaAlbpB/IWbM /AGXwhZBaRtEiSCYawCNqaKRxPvvv0l2AVGQCgZ7OWPwRSys0dP7x7Gw4PwuWg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b=ByTShfq4; dmarc=fail reason="SPF not aligned (relaxed)" header.from=troyfigiel.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707772157; a=rsa-sha256; cv=none; b=nr8bH4LxKwq9lXaKlrTc+QgnwWegtirCoTKrdO0c6lX7q3VH6185V6F7RORFFje21+kPGQ odsfUncR1UJJd/ZZo6PQP7DuTEKwJnejqqAgkmwNtsc5d1o5IyVGtkP7Bs3kyUB3YJIk+U ZrZnCsopaItGQ5hHzp98daxLGrjRnOjP8vILT7PUhlLwaqfHn88zkg0Ke2ED8HAtL4mva3 Ouo3fJ95fHiuuL+rgBo0tvMnspLvLLZi06aAgoaK35xJ9vwXgXPZzT0C2+4XSdBOwxnoBo Z7gprl7toLfSQLne6sqQB+K1P0w60FbisZgMG6/Mil307v/f3Pk3K9HPr7LfBw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5A2C92408C for ; Mon, 12 Feb 2024 22:09:16 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZdXl-0002u3-Ul; Mon, 12 Feb 2024 16:08:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rZdXh-0002ts-Us for guix-patches@gnu.org; Mon, 12 Feb 2024 16:08:45 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rZdXh-0006Q5-3v for guix-patches@gnu.org; Mon, 12 Feb 2024 16:08:45 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rZdXx-0006mR-Nu for guix-patches@gnu.org; Mon, 12 Feb 2024 16:09:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69045] [PATCH v2] gnu: go-github-com-avast-retry-go: Remove examples. References: <87plx39s11.fsf@troyfigiel.com> In-Reply-To: <87plx39s11.fsf@troyfigiel.com> Resent-From: Troy Figiel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 12 Feb 2024 21:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69045 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69045@debbugs.gnu.org Received: via spool by 69045-submit@debbugs.gnu.org id=B69045.170777212826002 (code B ref 69045); Mon, 12 Feb 2024 21:09:01 +0000 Received: (at 69045) by debbugs.gnu.org; 12 Feb 2024 21:08:48 +0000 Received: from localhost ([127.0.0.1]:59388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZdXj-0006lJ-QV for submit@debbugs.gnu.org; Mon, 12 Feb 2024 16:08:48 -0500 Received: from mout-p-202.mailbox.org ([80.241.56.172]:48114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZdXf-0006kU-Ng for 69045@debbugs.gnu.org; Mon, 12 Feb 2024 16:08:46 -0500 Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (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 mout-p-202.mailbox.org (Postfix) with ESMTPS id 4TYcW43Qmbz9t0N for <69045@debbugs.gnu.org>; Mon, 12 Feb 2024 22:08:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1707772096; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=71s0R663enqCTRIQ1Bk0T7LAfq1num9ZwgX4ZyqLn/s=; b=ByTShfq4yOafwkqbC7zQyViqbrDYlJZF8yPZZCfXOifKhtRBCPHAuVzz7IgCHBawQtQWZv lmw4Q5kg6UFJk4QOtU3trx4aqwp6JKKRcqgSu2Iw3nKutpr985ZgRYGLxvh41+b4Tliim5 ITDpPhsf+6eiYaSNOLOdYOXlyE7lcDeY4LCxt34ih9e5SO6FvVKlF+3FStSTDGX+6VZE6X Yioaj3zcrV+rhxVmearCXVXnF1vXVakh3wahG53rr83ztsXBagWYuPcNv2ITS+dnXJDJBR 6vNEN6RVLlOv74Lcm/MJQkucaTv7zrt1xibOJGV7luz0fKm70YASBhzJ7hByuA== From: Troy Figiel Date: Sun, 11 Feb 2024 12:03:56 +0100 Message-ID: <8734txcrwk.fsf@troyfigiel.com> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 3.42 X-Spam-Score: 3.42 X-Migadu-Queue-Id: 5A2C92408C X-Migadu-Scanner: mx12.migadu.com X-TUID: 6mEsUa9BhWFR * gnu/packages/golang.scm (go-github-com-avast-retry-go): Remove examples. [arguments]<#:phases>: Add remove-examples phase. --- gnu/packages/golang.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 163691a1e6..7a89afb27a 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1261,7 +1261,14 @@ (define-public go-github-com-avast-retry-go (sha256 (base32 "0hb4b1668516a4gv8avmflr565b6c1h93phdb068hcjxxj8767ba")))) (build-system go-build-system) - (arguments `(#:import-path "github.com/avast/retry-go")) + (arguments + (list + #:import-path "github.com/avast/retry-go" + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'remove-examples + (lambda* (#:key import-path #:allow-other-keys) + (delete-file-recursively + (string-append "src/" import-path "/examples"))))))) (propagated-inputs (list go-github-com-stretchr-testify)) (home-page "https://github.com/avast/retry-go") (synopsis "Simple golang library for retry mechanism") base-commit: 16d2be641424815a1779119bb64bc6ba1be1161b -- 2.42.0