From patchwork Tue Feb 13 19:47:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Troy Figiel X-Patchwork-Id: 60294 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 89D0927BBE9; Tue, 13 Feb 2024 22:51:50 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,TVD_SPACE_RATIO,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 88FAC27BBE2 for ; Tue, 13 Feb 2024 22:51:49 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ra1cw-0002Hd-VV; Tue, 13 Feb 2024 17:51:47 -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 1ra1cv-0002HR-5N for guix-patches@gnu.org; Tue, 13 Feb 2024 17:51: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 1ra1cu-0006ZL-Gz for guix-patches@gnu.org; Tue, 13 Feb 2024 17:51:44 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ra1dC-0003Vy-4M for guix-patches@gnu.org; Tue, 13 Feb 2024 17:52:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69113] [PATCH] gnu: go-github-com-schollz-progressbar-v3: Remove examples. Resent-From: Troy Figiel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 13 Feb 2024 22:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69113 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69113@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170786471713495 (code B ref -1); Tue, 13 Feb 2024 22:52:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Feb 2024 22:51:57 +0000 Received: from localhost ([127.0.0.1]:48559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ra1d7-0003Va-5t for submit@debbugs.gnu.org; Tue, 13 Feb 2024 17:51:57 -0500 Received: from lists.gnu.org ([209.51.188.17]:46446) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ra1d4-0003VP-VQ for submit@debbugs.gnu.org; Tue, 13 Feb 2024 17:51:55 -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 1ra1cl-0002H5-3w for guix-patches@gnu.org; Tue, 13 Feb 2024 17:51:35 -0500 Received: from mout-p-202.mailbox.org ([2001:67c:2050:0:465::202]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1ra1cj-0006YM-Fl for guix-patches@gnu.org; Tue, 13 Feb 2024 17:51:34 -0500 Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:b231:465::102]) (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 4TZGlg3cMxz9sHh for ; Tue, 13 Feb 2024 23:51:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1707864687; 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=mT5ADrHf3deqvp/53wZPt/LDUqONu0XI/4cIVVlIBjM=; b=L8mnRWAVYlv+n0W68QtCONANDDS59SaX/FuICtxlevCPPHP8h7pDumiYmE+pu+RE0YUvos 9OpXDu44wXdMFj9PKMU3OAlyyZwOW5XPJyIei3kxq4j4MUSPbjJv30dn6xNwk2+8K1Vcpq qU2SB49qrQBaFrIo38equcOf5o4NUbdanIy9oqTYB9jxjayH3hkMIK5b2+4ONR/KdjKMRW X8tCNWhEyROvK+QUGHhr6iFxpjQU66OdbMPrskUtHuFuuJBEF0ifjpeKZLDlcjXLxSstHG hExtj9IP1BY4sjgySQZcD4gS0ynEhUqc1i09cIBW92TiQRaoTXe2rsDmSkS1gQ== From: Troy Figiel Date: Tue, 13 Feb 2024 20:47:14 +0100 Message-ID: <87plx0asgg.fsf@troyfigiel.com> MIME-Version: 1.0 X-Rspamd-Queue-Id: 4TZGlg3cMxz9sHh Received-SPF: pass client-ip=2001:67c:2050:0:465::202; envelope-from=troy@troyfigiel.com; helo=mout-p-202.mailbox.org X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_03_06=1.592, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, TVD_SPACE_RATIO=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-schollz-progressbar-v3): Remove examples. [arguments]<#:phases>: Add remove-examples phase. --- gnu/packages/golang.scm | 4 ++++ 1 file changed, 4 insertions(+) base-commit: ac470c516e19f194228edf9e348bdbc7fc10f97a diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 25e9715c79..c317e40979 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -10227,6 +10227,10 @@ (define-public go-github-com-schollz-progressbar-v3 (list #:import-path "github.com/schollz/progressbar/v3" #: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")))) (replace 'check (lambda* (#:key tests? import-path #:allow-other-keys) (when tests?