GNU bug report logs - #60738
[PATCH] gnu: pantalaimon: Install documentation and use gexps.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Morgan.J.Smith@HIDDEN; Keywords: patch; dated Wed, 11 Jan 2023 19:05:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 11 Jan 2023 19:04:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 11 14:04:10 2023
Received: from localhost ([127.0.0.1]:43861 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pFgOQ-0008Uu-As
	for submit <at> debbugs.gnu.org; Wed, 11 Jan 2023 14:04:10 -0500
Received: from lists.gnu.org ([209.51.188.17]:35934)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <Morgan.J.Smith@HIDDEN>) id 1pFgOO-0008Um-6w
 for submit <at> debbugs.gnu.org; Wed, 11 Jan 2023 14:04:09 -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 <Morgan.J.Smith@HIDDEN>)
 id 1pFgOJ-0002oV-IZ
 for guix-patches@HIDDEN; Wed, 11 Jan 2023 14:04:07 -0500
Received: from mail-dm6nam11olkn2020.outbound.protection.outlook.com
 ([40.92.19.20] helo=NAM11-DM6-obe.outbound.protection.outlook.com)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Morgan.J.Smith@HIDDEN>)
 id 1pFgOH-0008FL-KH
 for guix-patches@HIDDEN; Wed, 11 Jan 2023 14:04:03 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=Fc9tBBENnad6UhCzcbJz3/j3TXWxcFyDSJkEFucldlTOwRtCqGqRod/qgITnA8sak0yMbW6ihJn53mi1zH2O5ToorF91ksuBoHHnmbg8DQnaKh/RKONiRLH95Fjilzq8bv11ZrvOyt3pYtKfXGRenN+m8yXdjEQqf8w0VuQdVg6GUVoD7xvL+31kszdDvLIQ+kF7oKfXSaf3SAJpTrOJ98n+mN/O8DzciGfRn8ULOxc27hUHSn2sG50O84nO8vBt4lEL33gF64ldJs5/By4cvG0EleZGGC9k0mgAxpTt69V+9/9P26ovXhSK3LhGdMzTUtwFEQc6LW+2k37Gbae5oA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=ehYXmG7FhGclPRy5BVb1iAt9Jc2NGIhmVOgwWDvmCeY=;
 b=ISPW0JEXZvKFIHDnyJOPE3a0NZqLSXDY1uPv9p3NicYhKoVCoTvoFy1MMi5fDQ1EqlKQuirOP01ew1zVanm6pIigV5K0UUwP9cpMLYrEmeu4gC6jpT0J7DwqX7sh7kCAC4SodfQxpZ4hI4be24N/15oj3HNJm7MalTZvfCvCWoQhDIkz6KcmH7i0EOhsKxBw0m9W8wrrEWMsX7CJ2EbYvfdQYU0ofhkCkSs6ztw1eZGAfuOihod4KvBML3BE4lxVG2fF/PFDJui4vM2nMiJQ6GsVnZQIC41WRIogDsZ4eZjAcZ4wCD8eiO4r2KYO4lGj7wlEZjZd6vIwHVH5EIBKvA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
 dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com;
 s=selector1;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=ehYXmG7FhGclPRy5BVb1iAt9Jc2NGIhmVOgwWDvmCeY=;
 b=Wq5vfXckv5VOEOhvOo2qWml4htQk/ZVMrlGE1OVl6aAx0/LTH3FD96Yn/+LZ2pjG/i6fq7ywcRHe4MOBvXNRSZhnVzjatL3nQmG8+bgnscfJIVeDHKnTh6Z+ZShYnm3zRDd5xtyFAieUqfiaxPBpUs0UVTHbMbhTfzeAcZl7jeAEqnq2Ic5i8rodojShnHRJ2nWVF1vRqIEfQ6DpKp1lIMlwZDOkdJuvujgKiyTw3sljol/ljSMoR0R7tjSd/MhdzjZ8fohhtngSe+9eDvn5mPykfSbGF3iFR79y4uxIz3GnWtwRJDT44tB/pyUUhMoPqhXz9mKJCOUS8KisUxhUCQ==
Received: from DM5PR03MB3163.namprd03.prod.outlook.com (2603:10b6:4:40::24) by
 CO3PR03MB6757.namprd03.prod.outlook.com (2603:10b6:303:177::6) with
 Microsoft
 SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.20.5986.18; Wed, 11 Jan 2023 19:03:58 +0000
Received: from DM5PR03MB3163.namprd03.prod.outlook.com
 ([fe80::9d7c:7c0a:3e89:57dc]) by DM5PR03MB3163.namprd03.prod.outlook.com
 ([fe80::9d7c:7c0a:3e89:57dc%4]) with mapi id 15.20.5986.018; Wed, 11 Jan 2023
 19:03:58 +0000
From: Morgan.J.Smith@HIDDEN
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: pantalaimon: Install documentation and use gexps.
Date: Wed, 11 Jan 2023 14:03:09 -0500
Message-ID: <DM5PR03MB3163E2A8BF1E9B576E792B0AC5FC9@HIDDEN>
X-Mailer: git-send-email 2.38.1
Content-Transfer-Encoding: 8bit
Content-Type: text/plain
X-TMN: [Fx0iJYvSMCcW1QPjB4OXdLGYQgvuhuIG]
X-ClientProxiedBy: YT1PR01CA0058.CANPRD01.PROD.OUTLOOK.COM
 (2603:10b6:b01:2e::27) To DM5PR03MB3163.namprd03.prod.outlook.com
 (2603:10b6:4:40::24)
X-Microsoft-Original-Message-ID: <20230111190308.8271-1-Morgan.J.Smith@HIDDEN>
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: DM5PR03MB3163:EE_|CO3PR03MB6757:EE_
X-MS-Office365-Filtering-Correlation-Id: bff62bdd-0984-4502-e411-08daf40697b1
X-MS-Exchange-SLBlob-MailProps: feAVlmA1hHVYuUCAgHyBgSi0mvoqk0Vl0goNb7yvzYIO8ejyNXi/JF4F0TAIiut2r7lPD134tzMapDnOBqddK2HpcCe2agwEgQejF4Ex2GYco20OIiULH+dQ77FFfWlkRcRSuICEsysmUF6X1XEeLjUhLJFbCCkVlCSv4sxneryrpWhOCMHW84+lfXTzDkOA/suY+cxnqGrqnHvX31eWQPoPPaIQoSQWuDH1kBpI9Yo72Y9zqzqQddlbd6DPIbLwWEGsLK3DyHQL8Q3pzWOlfLqodlmb/YknqH5NrhCMWa/F527ym7QBfYxFJLxuRLBW6xc7nUWDPNaAQFYJYmvmEHa01/eK74KQWYheQ9pvJf+o/Y1gXWiIFQzrAVnHkY2q+f9iUY9LrKfXf0eNB8OalygskfqlPiR5zeUoaqNpRmVgtpyXlo2tFlekMcaCzDeR/dhDSvSFrFUUP4pmpyt62TWIb+NhZUJq5bvd51I5Y16kBnDK0Zq03yko9G4fMdF4RuQ1DUmmI0S8aZVhi6DpUe8L+dEwFSD2AUqHG1OVPVjDXoKtnVm+P/uWxvJb5FiBF0ir4q1Q4xlWVAzqxwGQcEhOHOdWbfPELjkZxg/NufrKF3jzETlKIMSQri9QmIO4dn29l03L0clF9rOZkhgaeXFLnpoU/6JyDphurRUc7qkO+6CtIfGTHKwpfyKlAvtm+b9574upDaK1WanKMVvBbg==
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: 0WbwqngtUfhV+RZJ2Lj56UAP0CHgA/Nw1J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=?us-ascii?Q?wSUT+Be70OUgbnQZLdql+EpxTMVn0HhGRhFqRQXZRZZ1VCQRD172nWtd18Ot?=
 =?us-ascii?Q?WQbn3Tkhu5lo57frfIiB4npHQzw31I/4IIAeYsmL7BSnYm170I8l8ExlWcp0?=
 =?us-ascii?Q?9i8bW5ZfywkI/4y5ztMSMSiBkjvm0CmpTOIohVwQ5x392n+3Wm+8R/jSYrO8?=
 =?us-ascii?Q?2N4=3D?=
X-OriginatorOrg: outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: bff62bdd-0984-4502-e411-08daf40697b1
X-MS-Exchange-CrossTenant-AuthSource: DM5PR03MB3163.namprd03.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jan 2023 19:03:58.1001 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO3PR03MB6757
Received-SPF: pass client-ip=40.92.19.20;
 envelope-from=Morgan.J.Smith@HIDDEN;
 helo=NAM11-DM6-obe.outbound.protection.outlook.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
Cc: Morgan Smith <Morgan.J.Smith@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

From: Morgan Smith <Morgan.J.Smith@HIDDEN>

* gnu/packages/matrix.scm (pantalaimon)[arguments]: Turn into gexps.  Add
install-doc phase
---
 gnu/packages/matrix.scm | 37 +++++++++++++++++++++++--------------
 1 file changed, 23 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/matrix.scm b/gnu/packages/matrix.scm
index d5e0060c04..2ed7a9a782 100644
--- a/gnu/packages/matrix.scm
+++ b/gnu/packages/matrix.scm
@@ -36,6 +36,7 @@ (define-module (gnu packages matrix)
   #:use-module (gnu packages xml)
   #:use-module (guix build-system python)
   #:use-module (guix download)
+  #:use-module (guix gexp)
   #:use-module (guix git-download)
   #:use-module (guix packages))
 
@@ -248,20 +249,28 @@ (define-public pantalaimon
          "16ask8v00654q307c55q5gnm8hrj40gibpab5zl52v4i0bgl9j68"))))
     (build-system python-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'downgrade-appdirs-requirement
-           (lambda _
-             (substitute* "setup.py"
-               ;; FIXME: Remove this once appdirs is updated.
-               ;; Upgrading python-appdirs requires rebuilting 3000+ packages,
-               ;; when 1.4.4 is a simple maintenance fix from 1.4.3.
-               (("appdirs >= 1.4.4") "appdirs >= 1.4.3"))))
-         (replace 'check
-           (lambda* (#:key tests? inputs outputs #:allow-other-keys)
-             (when tests?
-               (add-installed-pythonpath inputs outputs)
-               (invoke "pytest" "-vv" "tests")))))))
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'downgrade-appdirs-requirement
+            (lambda _
+              (substitute* "setup.py"
+                ;; FIXME: Remove this once appdirs is updated.
+                ;; Upgrading python-appdirs requires rebuilting 3000+ packages,
+                ;; when 1.4.4 is a simple maintenance fix from 1.4.3.
+                (("appdirs >= 1.4.4") "appdirs >= 1.4.3"))))
+          (add-after 'install 'install-doc
+            (lambda _
+              (with-directory-excursion "docs/man"
+                (let ((man (string-append #$output "/share/man")))
+                  (install-file "panctl.1" (string-append man "/man1"))
+                  (install-file "pantalaimon.5" (string-append man "/man5"))
+                  (install-file "pantalaimon.8" (string-append man "/man8"))))))
+          (replace 'check
+            (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+              (when tests?
+                (add-installed-pythonpath inputs outputs)
+                (invoke "pytest" "-vv" "tests")))))))
     (native-inputs
      (list python-aioresponses
            python-faker
-- 
2.38.1





Acknowledgement sent to Morgan.J.Smith@HIDDEN:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#60738; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 11 Jan 2023 19:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.