From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id ABPzEqdV3GX6hAAAe85BDQ:P1 (envelope-from ) for ; Mon, 26 Feb 2024 10:11:03 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id ABPzEqdV3GX6hAAAe85BDQ (envelope-from ) for ; Mon, 26 Feb 2024 10:11:03 +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=ArKN4ICn; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=troyfigiel.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708938663; 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=Y58ZCwJxSM77UDRhFgr5pvgdfxyWmduzQlmBIj6VZbk=; b=LHbfrddsePoKGhbcY5O1y+UvzKmzbZraHtPxs97b0xbxetNYtytzETBfiJLy3cTh88XTzu u0j7IREt6ATQgi8iIRmCZKBLapobS+wMkY4+8xNi4vY0meQ+uY6DbkFtQcWG3NoTtWQhUU 3AYAhK37m4lr25Ixo1U/b3qRqK1yyNC2//YcGgpFCeR+vePc2dJmT4+0Jr+UcSB1QXm9Xz 94lR1FtjPkD99lPHs9Atc3HoLMIKTpbwzFQJcfKVlUBdPr3e2bus73t0CgWF+4AxTbfxgJ GtQlunG4OgQVnZBzsBWdsW3sWDIsj7kmctlUK2WTdxJ/aMc9lH7R56Wj2JWDdw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b=ArKN4ICn; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=troyfigiel.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708938663; a=rsa-sha256; cv=none; b=FyguNArGjGAcWSjXySpWNIhzEr/GZUdiTALCLEOokZylTYgStQETQ/USK1xCz3rX3peJll CXugwDDy2EZ+1r1vtsiXnY8LH0FS7gXTqBWHizUkyE6P0TVVJrqaRc5MCSrAKeos9Ou7tw wpTOrgJHII+XziS1pM2IAbWLrUjGsEsXXI5GqJNyr6aWkNcWhVFrUvE90aizAx2pkz+UgF KfoUQggjk8l8cwRVbC4RvkvgKC0XKK2APjCoPQQSSMGwi1DjG+fzLqtvWB9b/8tRqvzpxc l6JZmn4I4oIrmSCSTeiBP1ewcikPtkMDX07jPAglYc4dVfMp0cBuedXrdXCWoQ== 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 12AF73AB65 for ; Mon, 26 Feb 2024 10:11:03 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1reX0W-0002Cv-Rl; Mon, 26 Feb 2024 04:10:45 -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 1reX0R-0002AJ-Nl for guix-patches@gnu.org; Mon, 26 Feb 2024 04:10:40 -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 1reX0R-0004Yj-Fh for guix-patches@gnu.org; Mon, 26 Feb 2024 04:10:39 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1reX0o-0006Ee-Cq for guix-patches@gnu.org; Mon, 26 Feb 2024 04:11:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69403] [PATCH 2/2] gnu: go-github-com-signintech-gopdf: Remove examples. References: <87y1b78xuw.fsf@troyfigiel.com> In-Reply-To: <87y1b78xuw.fsf@troyfigiel.com> Resent-From: Troy Figiel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 26 Feb 2024 09:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69403 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69403@debbugs.gnu.org Received: via spool by 69403-submit@debbugs.gnu.org id=B69403.170893862823871 (code B ref 69403); Mon, 26 Feb 2024 09:11:02 +0000 Received: (at 69403) by debbugs.gnu.org; 26 Feb 2024 09:10:28 +0000 Received: from localhost ([127.0.0.1]:47523 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1reX0E-0006Co-OC for submit@debbugs.gnu.org; Mon, 26 Feb 2024 04:10:28 -0500 Received: from mout-p-201.mailbox.org ([80.241.56.171]:35234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1reWpE-0005cT-Rt for 69403@debbugs.gnu.org; Mon, 26 Feb 2024 03:59:06 -0500 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::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-201.mailbox.org (Postfix) with ESMTPS id 4Tjvfb30FBz9sTM for <69403@debbugs.gnu.org>; Mon, 26 Feb 2024 09:58:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1708937911; 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=Y58ZCwJxSM77UDRhFgr5pvgdfxyWmduzQlmBIj6VZbk=; b=ArKN4ICnX2+lUcUhkYsYSYuSl7wCH6Bqn8GGT1Sxie8dXpleB15RPXNQ/mvVtSCsth336g El4TtUc5VuTbaPlCAEohsyGTxxE69xfnBjA+nePoQenUO7aorxt/ERlpA//zjMikSb3iIC wtjxTYNWvVFZCGqURnQ+KuT/HHuRp65BxTvA/D5AVL5Ho9MP3HMjgjFmSg+NpPfcqbeW4W kWhANAJYRp9tmQPDgYo5MnnKiFYM0vMLpl97HuNBACkdSM+h26OoD0OqtbhmOURANFeScR 0+jby4y63sVUEouhTK4zL5eIvMPiUbGel9x7Ty5ADN/B/UApmNwscRCbnqeOEg== From: Troy Figiel Date: Mon, 26 Feb 2024 08:51:00 +0100 Message-ID: <87v86b8uvd.fsf@troyfigiel.com> MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 4Tjvfb30FBz9sTM 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -5.37 X-Spam-Score: -5.37 X-Migadu-Queue-Id: 12AF73AB65 X-Migadu-Scanner: mx11.migadu.com X-TUID: 4MxfegJFfYR1 * gnu/packages/golang.scm (go-github-com-signintech-gopdf): 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 ac500b58af..609a14ec61 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -2250,7 +2250,14 @@ (define-public go-github-com-signintech-gopdf "1h6cslvid5v8fiymydj4irrzi8f91knsx8rgbzp2b8favclhwxxg")))) (build-system go-build-system) (arguments - '(#:import-path "github.com/signintech/gopdf")) + (list + #:import-path "github.com/signintech/gopdf" + #: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-pkg-errors go-github-com-phpdave11-gofpdi)) (home-page "https://github.com/signintech/gopdf") -- 2.42.0