From patchwork Sat Feb 17 11:08:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Troy Figiel X-Patchwork-Id: 60486 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 B821427BBEA; Sun, 18 Feb 2024 18:22:34 +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,URIBL_BLOCKED autolearn=ham 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 203BB27BBE2 for ; Sun, 18 Feb 2024 18:22:34 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rblnP-0006md-Vq; Sun, 18 Feb 2024 13:21:48 -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 1rblnO-0006l3-42 for guix-patches@gnu.org; Sun, 18 Feb 2024 13:21:46 -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 1rblnN-0002Jy-SD for guix-patches@gnu.org; Sun, 18 Feb 2024 13:21:45 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rblni-0002wT-F6 for guix-patches@gnu.org; Sun, 18 Feb 2024 13:22:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69193] [PATCH] gnu: go-github-com-mesilliac-pulse-simple: Remove examples. Resent-From: Troy Figiel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 18 Feb 2024 18:22:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69193 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69193@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170828049610864 (code B ref -1); Sun, 18 Feb 2024 18:22:06 +0000 Received: (at submit) by debbugs.gnu.org; 18 Feb 2024 18:21:36 +0000 Received: from localhost ([127.0.0.1]:36943 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rblnD-0002oc-1L for submit@debbugs.gnu.org; Sun, 18 Feb 2024 13:21:35 -0500 Received: from lists.gnu.org ([209.51.188.17]:53956) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rblR3-0001mW-CC for submit@debbugs.gnu.org; Sun, 18 Feb 2024 12:58:41 -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 1rbIcf-0005y4-Tw for guix-patches@gnu.org; Sat, 17 Feb 2024 06:12:45 -0500 Received: from mout-p-103.mailbox.org ([2001:67c:2050:0:465::103]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1rbIcd-0001u3-R1 for guix-patches@gnu.org; Sat, 17 Feb 2024 06:12:45 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (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-103.mailbox.org (Postfix) with ESMTPS id 4TcR3V5Rk8z9snS for ; Sat, 17 Feb 2024 12:12:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1708168358; 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=u20Cf+hT+oAR6zHRHY+65AfUnpjpkYYumVKjXNLuPyg=; b=I4Mm/UyWtaD64SYm8DAB3DpbfN1JqMpRR6HHoD8mtsE2mrcSxABxmz1SgBNY7mlqfvQyjb nVB9qf6hd4x4oNrU8iNHtdPXkaEJe5PTcmVxtiCinEny1FMHE7DLDPaLqjzZTv3yh2qYt6 od084qDTtDJGXARTJJ8TvxW6YtvnBKPwLBZ6rboDx9JKnC4HQybpzChK5G4189O+rz1VKM mA/ghwvdllSnwsAz4LM8NlN2xc43MK1OmLEQaxQrsApGoL7mYlSXLaGgt1GQQJcxqyaLbH puRAy8LpO8F8iIEDX1CYXsOAehfvL3Q8mlixpIutzgOP8N8bn2O8CtPWTT0Fug== From: Troy Figiel Date: Sat, 17 Feb 2024 12:08:09 +0100 Message-ID: <87bk8fbaze.fsf@troyfigiel.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2001:67c:2050:0:465::103; envelope-from=troy@troyfigiel.com; helo=mout-p-103.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, 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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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-mesilliac-pulse-simple): Remove examples. [arguments] <#:phases>: Add remove-examples phase. --- gnu/packages/golang.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) base-commit: 91d80460296e2d5a01704d0f34fb966a45a165ae diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 527b63d160..7b51ecc41a 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9042,7 +9042,13 @@ (define-public go-github-com-mesilliac-pulse-simple (propagated-inputs (list pkg-config pulseaudio)) (arguments - '(#:import-path "github.com/mesilliac/pulse-simple")) + (list + #:import-path "github.com/mesilliac/pulse-simple" + #: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"))))))) (home-page "https://github.com/mesilliac/pulse-simple") (synopsis "Cgo bindings to PulseAudio's Simple API") (description