GNU logs - #56729, boring messages


Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#56729] [RFC PATCH 00/10] Add sagemath.
Resent-From: vicvbcun <guix@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sat, 23 Jul 2022 20:48:01 +0000
Resent-Message-ID: <handler.56729.B.165860925510476 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 56729
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 56729 <at> debbugs.gnu.org
Cc: vicvbcun <guix@HIDDEN>
X-Debbugs-Original-To: guix-patches@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.165860925510476
          (code B ref -1); Sat, 23 Jul 2022 20:48:01 +0000
Received: (at submit) by debbugs.gnu.org; 23 Jul 2022 20:47:35 +0000
Received: from localhost ([127.0.0.1]:46399 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oFM2B-0002ir-9K
	for submit <at> debbugs.gnu.org; Sat, 23 Jul 2022 16:47:35 -0400
Received: from lists.gnu.org ([209.51.188.17]:34034)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cyc@HIDDEN>) id 1oFLJ5-0001OG-Hr
 for submit <at> debbugs.gnu.org; Sat, 23 Jul 2022 16:00:59 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:35198)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <cyc@HIDDEN>)
 id 1oFLJ1-0002jR-Le
 for guix-patches@HIDDEN; Sat, 23 Jul 2022 16:00:59 -0400
Received: from mo4-p05-ob.smtp.rzone.de ([85.215.255.132]:44879)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <cyc@HIDDEN>)
 id 1oFLIz-00060m-Eo
 for guix-patches@HIDDEN; Sat, 23 Jul 2022 16:00:55 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1658606449;
 s=strato-dkim-0002; d=ikherbers.com;
 h=Message-Id:Date:Subject:Cc:To:From:Cc:Date:From:Subject:Sender;
 bh=3to+QX1F9s2OtMLvV3CkG8cl158QUHfPhG3iXMa/xBo=;
 b=DD7AgVDQQV4gh5Suts+abARLShsqebcErvz6JL7RP1OuXx7ZVznt6dLO1hulLi+qNu
 kgOPgkq++DAip8C4v9ogCruk2vGL/4x7+V6GewUL453Zwy6wPbkCv4Din959XU6es6ka
 z/DnwMtrmYSEvLOZanoESRPqdHkIlNkoMWKjCTffIYhsWSlHPTh8J4jhkXDvv2xH0m7S
 eTGYERw0BNgXqILfPWOYaH8DPQw9BEIRwh+kYal/iA39oPjZvfMhqaJgfG+sFG1qBKLK
 wyM9mxewxjOhP2b8ZCos8Ndw4TIrERXc6eLd3y1BbYTQVHbuECoRk7Z5R9uzhaR9l3bI
 1SVw==
Authentication-Results: strato.com;
    dkim=none
X-RZG-AUTH: ":IUwNfkitaf3qOWm2b/jA5tveVwUUcwH3PkiYp6DPxTDDEo4xO9KsAGjusLvh3llVxq3loQ=="
X-RZG-CLASS-ID: mo05
Received: from lambda.localdomain by smtp.strato.de (RZmta 47.47.0 DYNA|AUTH)
 with ESMTPSA id Vdcb24y6NK0nD3f
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits))
 (Client did not present a certificate);
 Sat, 23 Jul 2022 22:00:49 +0200 (CEST)
From: vicvbcun <guix@HIDDEN>
Date: Sat, 23 Jul 2022 21:59:07 +0200
Message-Id: <cover.1658595756.git.guix@HIDDEN>
X-Mailer: git-send-email 2.37.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: none client-ip=85.215.255.132;
 envelope-from=cyc@HIDDEN; helo=mo4-p05-ob.smtp.rzone.de
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
 NO_DNS_FOR_FROM=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.7 (-)
X-Mailman-Approved-At: Sat, 23 Jul 2022 16:47:34 -0400
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.7 (--)

Hello Guix!

This series adds SageMath. Everything compiles just fine and even the
Jupyter notebook interface works, but there is still much work to do. So
far, I have only added the minimal set of inputs required for the build
to succeed. Tests and documentations are still missing.

vicvbcun (10):
  gnu: edge-addition-planarity-suite: Update to 3.0.2.0.
  gnu: gap: Update to 4.11.1.
  gnu: Remove ecl-16.
  gnu: cliquer: Update to 1.22.
  gnu: lcalc: Update to 2.0.5.
  gnu: ntl: Update to 11.5.1.
  gnu: eclib: Update to 20220621.
  gnu: Add python-memory-allocator.
  gnu: Add python-pplpy.
  gnu: Add sagemath.

 gnu/local.mk                                  |   4 -
 gnu/packages/algebra.scm                      |  19 +-
 gnu/packages/graph.scm                        |   4 +-
 .../patches/lcalc-default-parameters-1.patch  |  26 --
 .../patches/lcalc-default-parameters-2.patch  |  58 ----
 gnu/packages/patches/lcalc-lcommon-h.patch    |  13 -
 .../patches/lcalc-using-namespace-std.patch   |  43 ---
 gnu/packages/sagemath.scm                     | 267 ++++++++++++------
 8 files changed, 194 insertions(+), 240 deletions(-)
 delete mode 100644 gnu/packages/patches/lcalc-default-parameters-1.patch
 delete mode 100644 gnu/packages/patches/lcalc-default-parameters-2.patch
 delete mode 100644 gnu/packages/patches/lcalc-lcommon-h.patch
 delete mode 100644 gnu/packages/patches/lcalc-using-namespace-std.patch


base-commit: f6904c0b19c2fcca41bbf1400c738bd833fec9a8
-- 
2.37.0





Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: vicvbcun <guix@HIDDEN>
Subject: bug#56729: Acknowledgement ([RFC PATCH 00/10] Add sagemath.)
Message-ID: <handler.56729.B.165860925510476.ack <at> debbugs.gnu.org>
References: <cover.1658595756.git.guix@HIDDEN>
X-Gnu-PR-Message: ack 56729
X-Gnu-PR-Package: guix-patches
X-Gnu-PR-Keywords: patch
Reply-To: 56729 <at> debbugs.gnu.org
Date: Sat, 23 Jul 2022 20:48:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 guix-patches@HIDDEN

If you wish to submit further information on this problem, please
send it to 56729 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
56729: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D56729
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#56729] [RFC PATCH 01/10] gnu: edge-addition-planarity-suite: Update to 3.0.2.0.
Resent-From: vicvbcun <guix@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sat, 23 Jul 2022 20:53:02 +0000
Resent-Message-ID: <handler.56729.B56729.165860955611244 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 56729
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 56729 <at> debbugs.gnu.org
Cc: vicvbcun <guix@HIDDEN>
Received: via spool by 56729-submit <at> debbugs.gnu.org id=B56729.165860955611244
          (code B ref 56729); Sat, 23 Jul 2022 20:53:02 +0000
Received: (at 56729) by debbugs.gnu.org; 23 Jul 2022 20:52:36 +0000
Received: from localhost ([127.0.0.1]:46413 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oFM72-0002uv-6Q
	for submit <at> debbugs.gnu.org; Sat, 23 Jul 2022 16:52:36 -0400
Received: from mo4-p05-ob.smtp.rzone.de ([85.215.255.132]:34659)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cyc@HIDDEN>) id 1oFM6z-0002uG-3O
 for 56729 <at> debbugs.gnu.org; Sat, 23 Jul 2022 16:52:33 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1658609551;
 s=strato-dkim-0002; d=ikherbers.com;
 h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date:
 From:Subject:Sender;
 bh=0rEMz5MtfNAW+iiLnPVcP/WXatqjRwSx5z1fIIc1Sxg=;
 b=AxA4Z51oNHsrtvGzYSgHhcgsFeqzXUc8MnzCAQszAAl90R+anDlNV5DdCIWYXLiIuP
 TGaXD0sj3wmfVKF5I3c1+LOgMZDwXMW6APbq2yAlGgKAHIjikF6zwfCzY05Vk7uMq2qj
 c489Tc7CzH4r5ubdi+xnYur2MsUPvMQLpxYQQeI/ObW9jAKwuMhOSRHAkZoVbOZop3MK
 oufy8pywNXHryGI4eC70Tzoh7r8XozM0O/HQOlploSZU8AvqQ23GeYNS5Edy8rci6aUt
 yvq5nJrUATykB30WO+5KKTw3+Rgm1x6JxY9gSPEODYiJ053d4rppu3QgdXaXb0jrv/hW
 iWzQ==
Authentication-Results: strato.com;
    dkim=none
X-RZG-AUTH: ":IUwNfkitaf3qOWm2b/jA5tveVwUUcwH3PkiYp6DPxTDDEo4xO9KsAGjusLvh3llVxq3loQ=="
X-RZG-CLASS-ID: mo05
Received: from lambda.localdomain by smtp.strato.de (RZmta 47.47.0 DYNA|AUTH)
 with ESMTPSA id Vdcb24y6NKqVD6d
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits))
 (Client did not present a certificate);
 Sat, 23 Jul 2022 22:52:31 +0200 (CEST)
From: vicvbcun <guix@HIDDEN>
Date: Sat, 23 Jul 2022 22:51:55 +0200
Message-Id: <396b0cfe9a4b49129c9de2ef950bee0fee00bc19.1658595756.git.guix@HIDDEN>
X-Mailer: git-send-email 2.37.0
In-Reply-To: <cover.1658595756.git.guix@HIDDEN>
References: <cover.1658595756.git.guix@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.6 (/)
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: -0.4 (/)

* gnu/packages/graph.scm (edge-addition-planarity-suite): Update to 3.0.2.0.
---
 gnu/packages/graph.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm
index 9aadab45e6..109ba68675 100644
--- a/gnu/packages/graph.scm
+++ b/gnu/packages/graph.scm
@@ -537,7 +537,7 @@ (define-public python-leidenalg
 (define-public edge-addition-planarity-suite
   (package
     (name "edge-addition-planarity-suite")
-    (version "3.0.0.5")
+    (version "3.0.2.0")
     (source
      (origin
        (method git-fetch)
@@ -548,7 +548,7 @@ (define-public edge-addition-planarity-suite
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "01cm7ay1njkfsdnmnvh5zwc7wg7x189hq1vbfhh9p3ihrbnmqzh8"))))
+         "1c7bnxgiz28mqsq3a3msznmjq629w0qqjynm2rqnnjn2qpc22h3i"))))
     (build-system gnu-build-system)
     (native-inputs
      (list autoconf automake libtool))
-- 
2.37.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#56729] [RFC PATCH 02/10] gnu: gap: Update to 4.11.1.
Resent-From: vicvbcun <guix@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sat, 23 Jul 2022 20:53:02 +0000
Resent-Message-ID: <handler.56729.B56729.165860955711251 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 56729
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 56729 <at> debbugs.gnu.org
Cc: vicvbcun <guix@HIDDEN>
Received: via spool by 56729-submit <at> debbugs.gnu.org id=B56729.165860955711251
          (code B ref 56729); Sat, 23 Jul 2022 20:53:02 +0000
Received: (at 56729) by debbugs.gnu.org; 23 Jul 2022 20:52:37 +0000
Received: from localhost ([127.0.0.1]:46415 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oFM72-0002vJ-Kz
	for submit <at> debbugs.gnu.org; Sat, 23 Jul 2022 16:52:36 -0400
Received: from mo4-p05-ob.smtp.rzone.de ([85.215.255.136]:44731)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cyc@HIDDEN>) id 1oFM6z-0002uH-5l
 for 56729 <at> debbugs.gnu.org; Sat, 23 Jul 2022 16:52:34 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1658609551;
 s=strato-dkim-0002; d=ikherbers.com;
 h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date:
 From:Subject:Sender;
 bh=W8dpVv3Pw+7lZue3fyRtgZW1roVU7iQivbskpRvqB7E=;
 b=C7ZJUTC2C9tXAyCLkuXGQOTrtK+bKmmfM1LhQPez1FqE5xQ7jK5ZsrRrOL0w8qoKmS
 aY2c/bMVQDtY+PGmIarHWpUxM6PpTbFLqkc+8qZGVzX3NTqh9sgktVXBHE5fmxU8W2Io
 ufjuANoM4DhVxj+Y8dt3ce5l+0LYalH0ncdYgP0UQz1AdWgrO6lE5I6cPpL7sezIi5Hl
 ZZSypq3s9x7m5fEvY2/S9epFkFkk2lgnr0gcSs2ER+98Vmp96qCWBQNDbdYnhpxwwm77
 BJHM8ytodS0LaNyPTl7V1Uargpjm2/cAO1lNLxReIJxydnUzJ+HY/c7NpAsfN4n4DkoC
 8OKA==
Authentication-Results: strato.com;
    dkim=none
X-RZG-AUTH: ":IUwNfkitaf3qOWm2b/jA5tveVwUUcwH3PkiYp6DPxTDDEo4xO9KsAGjusLvh3llVxq3loQ=="
X-RZG-CLASS-ID: mo05
Received: from lambda.localdomain by smtp.strato.de (RZmta 47.47.0 DYNA|AUTH)
 with ESMTPSA id Vdcb24y6NKqVD6c
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits))
 (Client did not present a certificate);
 Sat, 23 Jul 2022 22:52:31 +0200 (CEST)
From: vicvbcun <guix@HIDDEN>
Date: Sat, 23 Jul 2022 22:51:56 +0200
Message-Id: <28cd72717547c8d8b6a3bf6d993cb07c897a1ba6.1658595756.git.guix@HIDDEN>
X-Mailer: git-send-email 2.37.0
In-Reply-To: <cover.1658595756.git.guix@HIDDEN>
References: <cover.1658595756.git.guix@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.6 (/)
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: -0.4 (/)

* gnu/packages/algebra.scm (gap): Update to 4.11.1.
[install]: install missing config.h header
---
 gnu/packages/algebra.scm | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index 95fbdb5e36..b236313129 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -1209,17 +1209,17 @@ (define-public xtensor-benchmark
 (define-public gap
   (package
     (name "gap")
-    (version "4.11.0")
+    (version "4.11.1")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "https://files.gap-system.org/gap-"
                            (version-major+minor version)
-                           "/tar.bz2/gap-"
+                           "/tar.gz/gap-"
                            version
-                           ".tar.bz2"))
+                           ".tar.gz"))
        (sha256
-        (base32 "00l6hvy4iggnlrib4vp805sxdm3j7n3hzpv5zs9hbiiavh80l1xz"))
+        (base32 "01535s81h254zcs84zi95xqmhvvn6fn9qss8761myxc2gpdcadb6"))
        (modules '((guix build utils) (ice-9 ftw) (srfi srfi-1)))
        (snippet
         '(begin
@@ -1316,6 +1316,7 @@ (define-public gap
                ;; Install the headers and library, which are needed by Sage.
                (invoke "make" "install-headers")
                (invoke "make" "install-libgap")
+               (install-file "gen/config.h" (string-append out "/include/gap"))
                ;; Remove information on the build directory from sysinfo.gap.
                (substitute* "sysinfo.gap"
                  (("GAP_BIN_DIR=\".*\"") "GAP_BIN_DIR=\"\"")
-- 
2.37.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#56729] [RFC PATCH 03/10] gnu: Remove ecl-16.
Resent-From: vicvbcun <guix@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sat, 23 Jul 2022 20:53:02 +0000
Resent-Message-ID: <handler.56729.B56729.165860955711258 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 56729
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 56729 <at> debbugs.gnu.org
Cc: vicvbcun <guix@HIDDEN>
Received: via spool by 56729-submit <at> debbugs.gnu.org id=B56729.165860955711258
          (code B ref 56729); Sat, 23 Jul 2022 20:53:02 +0000
Received: (at 56729) by debbugs.gnu.org; 23 Jul 2022 20:52:37 +0000
Received: from localhost ([127.0.0.1]:46417 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oFM72-0002vQ-Vp
	for submit <at> debbugs.gnu.org; Sat, 23 Jul 2022 16:52:37 -0400
Received: from mo4-p05-ob.smtp.rzone.de ([85.215.255.132]:35697)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cyc@HIDDEN>) id 1oFM6z-0002uJ-6n
 for 56729 <at> debbugs.gnu.org; Sat, 23 Jul 2022 16:52:34 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1658609551;
 s=strato-dkim-0002; d=ikherbers.com;
 h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date:
 From:Subject:Sender;
 bh=i/Ggj688RIwfec5k0AA76hInwLOGZhv+iH4SEalRU9w=;
 b=BiuYwozceIzu0PPX2x91r3meKVHNVg5geoDV/5couDYEh+FNG1dr3+6vK7a51D2Jed
 6/4Jft8yMyErWISawJhdDBKGnfRwc9dzUXp9bq/OsK1fEbgaxxhf0agamcS9Sxm03WVr
 VaOOp4DvP1cR6TJjpynabUju3WtvRFPYTqJzKXuDZWtdMRlXCGoB0zd0snRabhYQOBsr
 BaSkSwn0iEmj2cewetF4ybUX9hfoKEYtpaWRi2wusasJvj2vy6pndtZ/5TZqazuqpRWV
 pyy7TkahRAV8Sjm3JwSTkh+YtX7D1wwA4tFr9wzzMY9LenKmMJFF8EvKPkFQ+VyfWvAq
 kW8A==
Authentication-Results: strato.com;
    dkim=none
X-RZG-AUTH: ":IUwNfkitaf3qOWm2b/jA5tveVwUUcwH3PkiYp6DPxTDDEo4xO9KsAGjusLvh3llVxq3loQ=="
X-RZG-CLASS-ID: mo05
Received: from lambda.localdomain by smtp.strato.de (RZmta 47.47.0 DYNA|AUTH)
 with ESMTPSA id Vdcb24y6NKqVD6e
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits))
 (Client did not present a certificate);
 Sat, 23 Jul 2022 22:52:31 +0200 (CEST)
From: vicvbcun <guix@HIDDEN>
Date: Sat, 23 Jul 2022 22:51:57 +0200
Message-Id: <3cf16c89d261aae63fbf9b4965e1b676d76e9609.1658595756.git.guix@HIDDEN>
X-Mailer: git-send-email 2.37.0
In-Reply-To: <cover.1658595756.git.guix@HIDDEN>
References: <cover.1658595756.git.guix@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.6 (/)
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: -0.4 (/)

* gnu/packages/sagemath.scm (ecl-16): Delete variable.
---
 gnu/packages/sagemath.scm | 21 ---------------------
 1 file changed, 21 deletions(-)

diff --git a/gnu/packages/sagemath.scm b/gnu/packages/sagemath.scm
index 7f76f8912b..75720f31a5 100644
--- a/gnu/packages/sagemath.scm
+++ b/gnu/packages/sagemath.scm
@@ -174,27 +174,6 @@ (define-public libhomfly
     (license license:public-domain)
     (home-page "https://github.com/miguelmarco/libhomfly")))
 
-;; Sage 9.1 doesn't build with ECL 20.  This won't be necessary once 9.2 is
-;; released.  See https://trac.sagemath.org/ticket/22191
-(define-public ecl-16
-  (package
-    (inherit ecl)
-    (version "16.1.3")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (string-append
-             "https://common-lisp.net/project/ecl/static/files/release/ecl"
-             "-" version ".tgz"))
-       (sha256
-        (base32 "0m0j24w5d5a9dwwqyrg0d35c0nys16ijb4r0nyk87yp82v38b9bn"))
-       (patches (search-patches
-                  "ecl-16-libffi.patch"
-                  "ecl-16-ignore-stderr-write-error.patch"
-                  "ecl-16-format-directive-limit.patch"))))
-    ;; Current ECL uses LGPL 2.1+
-    (license license:lgpl2.0+)))
-
 (define-public pynac
   (package
     (name "pynac")
-- 
2.37.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#56729] [RFC PATCH 07/10] gnu: eclib: Update to 20220621.
Resent-From: vicvbcun <guix@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sat, 23 Jul 2022 20:53:03 +0000
Resent-Message-ID: <handler.56729.B56729.165860955711266 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 56729
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 56729 <at> debbugs.gnu.org
Cc: vicvbcun <guix@HIDDEN>
Received: via spool by 56729-submit <at> debbugs.gnu.org id=B56729.165860955711266
          (code B ref 56729); Sat, 23 Jul 2022 20:53:03 +0000
Received: (at 56729) by debbugs.gnu.org; 23 Jul 2022 20:52:37 +0000
Received: from localhost ([127.0.0.1]:46419 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oFM73-0002vX-9Q
	for submit <at> debbugs.gnu.org; Sat, 23 Jul 2022 16:52:37 -0400
Received: from mo4-p05-ob.smtp.rzone.de ([85.215.255.133]:43179)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cyc@HIDDEN>) id 1oFM6z-0002uN-72
 for 56729 <at> debbugs.gnu.org; Sat, 23 Jul 2022 16:52:34 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1658609551;
 s=strato-dkim-0002; d=ikherbers.com;
 h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date:
 From:Subject:Sender;
 bh=MnjXP7I87dVcIkvVI56uhVuI3mUsSx+osmPoKDgd5Bg=;
 b=gIAI43KvgyUs+l6QllgHKeF0/cNZUcnnGs7FZHa1Je6Bv+7cY0C+QB9662WCp+BOVj
 5Xl06yYfXqrFTu7WmeI1beH2G2SvCXiw55NgoQL/OWrj+hGH023yVW11kPIiMWkRat9t
 QiYatKnbGzVuQBQNttdncczUej0SfJlHIEReTuUTBfrsgu01Fjdhr0J7OOfYlqqLqEzx
 gGBpHwxw7gI2M6YfYLpPGC+EsbGItgB320KCwTFNtoFFYkaybM4CfIoMOW89xeIoNL/N
 AkRpz6PifL6Hs/SpbfE2tHu9YWjnzMy7mTBcAdvabjXVqKOY1NXB9VkCttzmEQ2cME7s
 VoLA==
Authentication-Results: strato.com;
    dkim=none
X-RZG-AUTH: ":IUwNfkitaf3qOWm2b/jA5tveVwUUcwH3PkiYp6DPxTDDEo4xO9KsAGjusLvh3llVxq3loQ=="
X-RZG-CLASS-ID: mo05
Received: from lambda.localdomain by smtp.strato.de (RZmta 47.47.0 DYNA|AUTH)
 with ESMTPSA id Vdcb24y6NKqVD6h
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits))
 (Client did not present a certificate);
 Sat, 23 Jul 2022 22:52:31 +0200 (CEST)
From: vicvbcun <guix@HIDDEN>
Date: Sat, 23 Jul 2022 22:52:01 +0200
Message-Id: <2d2e9b3ebd21513d55114b86f45ad8300c112cb1.1658595756.git.guix@HIDDEN>
X-Mailer: git-send-email 2.37.0
In-Reply-To: <cover.1658595756.git.guix@HIDDEN>
References: <cover.1658595756.git.guix@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.6 (/)
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: -0.4 (/)

* gnu/packages/algebra.scm (eclib): Update to 20220621.
---
 gnu/packages/algebra.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index 85e8e77d83..13aaec1af5 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -1593,16 +1593,16 @@ (define-public m4rie
 (define-public eclib
   (package
     (name "eclib")
-    (version "20190909")
+    (version "20220621")
     (source (origin
               (method git-fetch)
               (uri (git-reference
                     (url "https://github.com/JohnCremona/eclib/")
-                    (commit (string-append "v" version))))
+                    (commit version)))
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1gw27lqc3f525n8qdcmr2nyn16y9g10z9f6dnmckyyxcdzvhq35n"))))
+                "07wbkzmn6w0hrv2vim7f0il7k59ccc66x5vnn623xkmhfw32b3nz"))))
     (build-system gnu-build-system)
     (native-inputs
      (list autoconf automake libtool))
-- 
2.37.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#56729] [RFC PATCH 06/10] gnu: ntl: Update to 11.5.1.
Resent-From: vicvbcun <guix@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sat, 23 Jul 2022 20:53:03 +0000
Resent-Message-ID: <handler.56729.B56729.165860955811277 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 56729
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 56729 <at> debbugs.gnu.org
Cc: vicvbcun <guix@HIDDEN>
Received: via spool by 56729-submit <at> debbugs.gnu.org id=B56729.165860955811277
          (code B ref 56729); Sat, 23 Jul 2022 20:53:03 +0000
Received: (at 56729) by debbugs.gnu.org; 23 Jul 2022 20:52:38 +0000
Received: from localhost ([127.0.0.1]:46421 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oFM73-0002ve-ID
	for submit <at> debbugs.gnu.org; Sat, 23 Jul 2022 16:52:37 -0400
Received: from mo4-p05-ob.smtp.rzone.de ([81.169.146.182]:43625)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cyc@HIDDEN>) id 1oFM6z-0002uM-6X
 for 56729 <at> debbugs.gnu.org; Sat, 23 Jul 2022 16:52:34 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1658609551;
 s=strato-dkim-0002; d=ikherbers.com;
 h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date:
 From:Subject:Sender;
 bh=k11iJBdCeMwOoP5ZTNjgnZ+yqf2dPcDpWovTG3761TA=;
 b=lEp+D02/mMGyQ7H4uK4yoLW9XxMt4WbXzlmhKESXkdNCFn/y53GKQEVdmP/3cMW4C0
 QcfzBv2WkO4iktarP+LUPh86wiRx3kwgdHQDMAC0ZsBXnP1G/XT5/n78HHKGzANbifXp
 znsolpm3Mg3ycqOLe9rm4LE2U14ZaTxkRF51s4oAKYKpRiH9FqpAlo0xXfsNymc0wNrn
 KoXqv+BCxbRgkVMJTVVqrOBS1q/rdmB7EZD0bbdtiyzTynXVhpjcfNoWRgGPvC88oBnY
 QU0Po0PQ/gDBAcbcET8ZwiydVEifa7+xLpAnoZCYKF3jGKLN0c37fHZ17XGjCwFEbKCV
 lcLg==
Authentication-Results: strato.com;
    dkim=none
X-RZG-AUTH: ":IUwNfkitaf3qOWm2b/jA5tveVwUUcwH3PkiYp6DPxTDDEo4xO9KsAGjusLvh3llVxq3loQ=="
X-RZG-CLASS-ID: mo05
Received: from lambda.localdomain by smtp.strato.de (RZmta 47.47.0 DYNA|AUTH)
 with ESMTPSA id Vdcb24y6NKqVD6i
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits))
 (Client did not present a certificate);
 Sat, 23 Jul 2022 22:52:31 +0200 (CEST)
From: vicvbcun <guix@HIDDEN>
Date: Sat, 23 Jul 2022 22:52:00 +0200
Message-Id: <1ef310525b39ba9f58bfd7d62d1327a7e0458677.1658595756.git.guix@HIDDEN>
X-Mailer: git-send-email 2.37.0
In-Reply-To: <cover.1658595756.git.guix@HIDDEN>
References: <cover.1658595756.git.guix@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.1 (/)
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: -1.1 (-)

* gnu/packages/algebra.scm (ntl): Update to 11.5.1.
---
 gnu/packages/algebra.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index b236313129..85e8e77d83 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -540,14 +540,14 @@ (define-public python-flint
 (define-public ntl
   (package
    (name "ntl")
-   (version "11.4.4")
+   (version "11.5.1")
    (source (origin
             (method url-fetch)
             (uri (string-append "https://shoup.net/ntl/ntl-"
                                 version ".tar.gz"))
             (sha256
              (base32
-              "1nr1h27j2gdz6badzz9lk2pknxhdijqdxqhd3haryh0sw616wzwx"))
+              "12ka3hym4skg63mp8vgkin79svbpdk2m6i41yvmcdjq62g1hc391"))
             (modules '((guix build utils)))
             (snippet
              '(begin
-- 
2.37.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#56729] [RFC PATCH 09/10] gnu: Add python-pplpy.
Resent-From: vicvbcun <guix@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sat, 23 Jul 2022 20:53:03 +0000
Resent-Message-ID: <handler.56729.B56729.165860957111302 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 56729
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 56729 <at> debbugs.gnu.org
Cc: vicvbcun <guix@HIDDEN>
Received: via spool by 56729-submit <at> debbugs.gnu.org id=B56729.165860957111302
          (code B ref 56729); Sat, 23 Jul 2022 20:53:03 +0000
Received: (at 56729) by debbugs.gnu.org; 23 Jul 2022 20:52:51 +0000
Received: from localhost ([127.0.0.1]:46423 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oFM7H-0002wC-0X
	for submit <at> debbugs.gnu.org; Sat, 23 Jul 2022 16:52:51 -0400
Received: from mo4-p05-ob.smtp.rzone.de ([85.215.255.136]:46481)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cyc@HIDDEN>) id 1oFM6z-0002uP-9A
 for 56729 <at> debbugs.gnu.org; Sat, 23 Jul 2022 16:52:35 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1658609551;
 s=strato-dkim-0002; d=ikherbers.com;
 h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date:
 From:Subject:Sender;
 bh=F1Tnj3H7t3IMwLC1ki1ZRZcG6TXC989w7VIQKnVyaY8=;
 b=PYz1JsAD3BxD7QYcgRXEfARzwdMcCCUCbH0JVHM6Y9Hy0pop5t2+vAAH1eDR7AopB1
 Ij0BsFpWWUO1u0Z4ytnXnw2u7K4WAOq8NIsC3mJO1EIn20ylYPIhgmADttO4PldGPgL5
 K1vyYx9WHLAzkhjfZnAfLvm+mvIgiatNXd0XMcN7FHVvtZoSeF6aM8KMcnW12bzCZSXU
 CpGrbL9OtWwW5prNvlDOYhKRU2nLo+LXEZG+8W0zjlCpwppiyr0n1YXDX/3a+a8R/j6p
 A4qEXagv0IrtgPxvJmPdzuTJ1iYtkMMWeEKnHoDAo3d+vvD1fmkmZdp28gBZZ/NDr2bJ
 9S4A==
Authentication-Results: strato.com;
    dkim=none
X-RZG-AUTH: ":IUwNfkitaf3qOWm2b/jA5tveVwUUcwH3PkiYp6DPxTDDEo4xO9KsAGjusLvh3llVxq3loQ=="
X-RZG-CLASS-ID: mo05
Received: from lambda.localdomain by smtp.strato.de (RZmta 47.47.0 DYNA|AUTH)
 with ESMTPSA id Vdcb24y6NKqVD6k
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits))
 (Client did not present a certificate);
 Sat, 23 Jul 2022 22:52:31 +0200 (CEST)
From: vicvbcun <guix@HIDDEN>
Date: Sat, 23 Jul 2022 22:52:03 +0200
Message-Id: <4b6d43aae30a919993773f511c6097b0268a3c53.1658595756.git.guix@HIDDEN>
X-Mailer: git-send-email 2.37.0
In-Reply-To: <cover.1658595756.git.guix@HIDDEN>
References: <cover.1658595756.git.guix@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.6 (/)
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: -0.4 (/)

* gnu/packages/sagemath.scm (python-pplpy): New variable.
---
 gnu/packages/sagemath.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/sagemath.scm b/gnu/packages/sagemath.scm
index 2e9de70e4a..335d98d9f4 100644
--- a/gnu/packages/sagemath.scm
+++ b/gnu/packages/sagemath.scm
@@ -36,6 +36,7 @@ (define-module (gnu packages sagemath)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages image)
   #:use-module (gnu packages lisp)
+  #:use-module (gnu packages maths)
   #:use-module (gnu packages multiprecision)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages popt)
@@ -373,3 +374,29 @@ (define-public python-memory-allocator
     (synopsis "An extension class to allocate memory easily with cython")
     (description "An extension class to allocate memory easily with cython")
     (license license:gpl3)))
+
+(define-public python-pplpy
+  (package
+    (name "python-pplpy")
+    (version "0.8.7")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "pplpy" version))
+              (sha256
+               (base32
+                "1gfq5czkqxl395k06s77zij3xv7maiwagjvzmrpraxhsmvsd02sh"))))
+    (build-system python-build-system)
+    (inputs (list gmp
+                  mpc
+                  mpfr
+                  pari-gp
+                  ppl
+                  python-cysignals
+                  python-gmpy2))
+    (native-inputs (list python-cython))
+    (home-page "https://gitlab.com/videlec/pplpy")
+    (synopsis "Python PPL wrapper")
+    (description
+     "This Python module pplpy provides a wrapper to the C++ Parma Polyhedra
+Library (PPL).")
+    (license license:gpl3)))
-- 
2.37.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#56729] [RFC PATCH 08/10] gnu: Add python-memory-allocator.
Resent-From: vicvbcun <guix@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sat, 23 Jul 2022 20:53:04 +0000
Resent-Message-ID: <handler.56729.B56729.165860957111309 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 56729
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 56729 <at> debbugs.gnu.org
Cc: vicvbcun <guix@HIDDEN>
Received: via spool by 56729-submit <at> debbugs.gnu.org id=B56729.165860957111309
          (code B ref 56729); Sat, 23 Jul 2022 20:53:04 +0000
Received: (at 56729) by debbugs.gnu.org; 23 Jul 2022 20:52:51 +0000
Received: from localhost ([127.0.0.1]:46425 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oFM7H-0002wF-FR
	for submit <at> debbugs.gnu.org; Sat, 23 Jul 2022 16:52:51 -0400
Received: from mo4-p05-ob.smtp.rzone.de ([85.215.255.133]:39157)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cyc@HIDDEN>) id 1oFM6z-0002uL-9A
 for 56729 <at> debbugs.gnu.org; Sat, 23 Jul 2022 16:52:35 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1658609551;
 s=strato-dkim-0002; d=ikherbers.com;
 h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date:
 From:Subject:Sender;
 bh=cT95VxOP2oV00EJllBZ09LT1+aAsyaT2E2ZAcbWU3/k=;
 b=DHi386xgQj4py0318iBidshMZbI7q7JdqTtvo20eAl/bxdNsXg6YhQiifIjsLYvdZK
 pM41Skrqh6C39GhHk1Ui4tP6B+5Do3fhJ4ctNcbXlhM5tyH5CIVZI5FPSaMtZr9aocNP
 l6oD6KJM85r7qzoVJDB2ZK0YvDvekORJGpPw6wa4OaYt2Lt/b64NvU6svKO9jncHWlFS
 jAHGvFjm1JH1UKVg0+J56Zcz9CetmlRv5NsMiMb57qznpW15NTnx5zwl05PpNgAjc1UI
 b+S1r5FpNmpjqMOkDV/ot2pLYF5vwdDn/hHRNIRmUwsudLPgljFk6I/PUTxeNVbJ+uZ5
 ulmg==
Authentication-Results: strato.com;
    dkim=none
X-RZG-AUTH: ":IUwNfkitaf3qOWm2b/jA5tveVwUUcwH3PkiYp6DPxTDDEo4xO9KsAGjusLvh3llVxq3loQ=="
X-RZG-CLASS-ID: mo05
Received: from lambda.localdomain by smtp.strato.de (RZmta 47.47.0 DYNA|AUTH)
 with ESMTPSA id Vdcb24y6NKqVD6g
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits))
 (Client did not present a certificate);
 Sat, 23 Jul 2022 22:52:31 +0200 (CEST)
From: vicvbcun <guix@HIDDEN>
Date: Sat, 23 Jul 2022 22:52:02 +0200
Message-Id: <9e76f5f7308040e7e28ab6643eabe5be55674876.1658595756.git.guix@HIDDEN>
X-Mailer: git-send-email 2.37.0
In-Reply-To: <cover.1658595756.git.guix@HIDDEN>
References: <cover.1658595756.git.guix@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.6 (/)
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: -0.4 (/)

* gnu/packages/sagemath.scm (python-memory-allocator): New variable.
---
 gnu/packages/sagemath.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/sagemath.scm b/gnu/packages/sagemath.scm
index 1237ff8e04..2e9de70e4a 100644
--- a/gnu/packages/sagemath.scm
+++ b/gnu/packages/sagemath.scm
@@ -356,3 +356,20 @@ (define-public ratpoints
 a given height bound on a hyperelliptic curve in a very efficient way,
 by using an optimized quadratic sieve algorithm.")
     (license license:gpl2+)))
+
+(define-public python-memory-allocator
+  (package
+    (name "python-memory-allocator")
+    (version "0.1.3")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "memory_allocator" version))
+              (sha256
+               (base32
+                "0qiijpv8zr7c5rjy64i4q3rb8qhn6v4yms5mza4p86y0w4m5r00k"))))
+    (build-system python-build-system)
+    (propagated-inputs (list python-cython))
+    (home-page "https://github.com/sagemath/memory_allocator")
+    (synopsis "An extension class to allocate memory easily with cython")
+    (description "An extension class to allocate memory easily with cython")
+    (license license:gpl3)))
-- 
2.37.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#56729] [RFC PATCH 05/10] gnu: lcalc: Update to 2.0.5.
Resent-From: vicvbcun <guix@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sat, 23 Jul 2022 20:53:04 +0000
Resent-Message-ID: <handler.56729.B56729.165860957211317 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 56729
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 56729 <at> debbugs.gnu.org
Cc: vicvbcun <guix@HIDDEN>
Received: via spool by 56729-submit <at> debbugs.gnu.org id=B56729.165860957211317
          (code B ref 56729); Sat, 23 Jul 2022 20:53:04 +0000
Received: (at 56729) by debbugs.gnu.org; 23 Jul 2022 20:52:52 +0000
Received: from localhost ([127.0.0.1]:46427 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oFM7H-0002wM-QC
	for submit <at> debbugs.gnu.org; Sat, 23 Jul 2022 16:52:52 -0400
Received: from mo4-p05-ob.smtp.rzone.de ([85.215.255.133]:38985)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cyc@HIDDEN>) id 1oFM6z-0002uK-73
 for 56729 <at> debbugs.gnu.org; Sat, 23 Jul 2022 16:52:36 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1658609551;
 s=strato-dkim-0002; d=ikherbers.com;
 h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date:
 From:Subject:Sender;
 bh=qKd14y+zRhToEHGIuZB42qscvXRbf9TKY3f7ZYGQXPE=;
 b=Bq5PsIqW32bttPkBXoHdo5z0Ae8112RtNWJuslBW/A9NHnp/Nx0yvOWn2NRdWczSyp
 yxErhr0UHvSxtKHgKZ/TxsBPyePeJRb3+mvmJPvDgihMuBsOmLKzCly0cIriUDDzMGMb
 lUgLQez9qHmTYcQxSMdPtIq5RAajS+Rk2GYds7iAYxOekzT6Sz+NxFnVShxGCdp189G4
 NjDYHa1bbka0f3JkwGzpV8jqogWgl0QIeqUP48iVZ7DGv44QY8XXAxkSyEZofGWa+E7r
 1g5HVJnHsA9dqpxLOflIr/GrbNb8oFYklKumepc6XPNe/GnLsNZNKPhtCev4yr3n21oS
 o7eQ==
Authentication-Results: strato.com;
    dkim=none
X-RZG-AUTH: ":IUwNfkitaf3qOWm2b/jA5tveVwUUcwH3PkiYp6DPxTDDEo4xO9KsAGjusLvh3llVxq3loQ=="
X-RZG-CLASS-ID: mo05
Received: from lambda.localdomain by smtp.strato.de (RZmta 47.47.0 DYNA|AUTH)
 with ESMTPSA id Vdcb24y6NKqVD6f
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits))
 (Client did not present a certificate);
 Sat, 23 Jul 2022 22:52:31 +0200 (CEST)
From: vicvbcun <guix@HIDDEN>
Date: Sat, 23 Jul 2022 22:51:59 +0200
Message-Id: <8fad623072b4075781f6936fd1a324950886023c.1658595756.git.guix@HIDDEN>
X-Mailer: git-send-email 2.37.0
In-Reply-To: <cover.1658595756.git.guix@HIDDEN>
References: <cover.1658595756.git.guix@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.6 (/)
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: -0.4 (/)

* gnu/packages/sagemath.scm (lcalc): Update to 2.0.5.
* gnu/packages/patches/lcalc-default-parameters-1.patch,
gnu/packages/patches/lcalc-default-parameters-2.patch,
gnu/packages/patches/lcalc-lcommon-h.patch,
gnu/packages/patches/lcalc-using-namespace-std.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Remove here.
---
 gnu/local.mk                                  |  4 --
 .../patches/lcalc-default-parameters-1.patch  | 26 -------
 .../patches/lcalc-default-parameters-2.patch  | 58 ---------------
 gnu/packages/patches/lcalc-lcommon-h.patch    | 13 ----
 .../patches/lcalc-using-namespace-std.patch   | 43 -----------
 gnu/packages/sagemath.scm                     | 71 ++++++-------------
 6 files changed, 20 insertions(+), 195 deletions(-)
 delete mode 100644 gnu/packages/patches/lcalc-default-parameters-1.patch
 delete mode 100644 gnu/packages/patches/lcalc-default-parameters-2.patch
 delete mode 100644 gnu/packages/patches/lcalc-lcommon-h.patch
 delete mode 100644 gnu/packages/patches/lcalc-using-namespace-std.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index 07e3497d10..84c88ea905 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1371,10 +1371,6 @@ dist_patch_DATA =						\
   %D%/packages/patches/kodi-set-libcurl-ssl-parameters.patch		\
   %D%/packages/patches/kodi-skip-test-449.patch		\
   %D%/packages/patches/laby-make-install.patch			\
-  %D%/packages/patches/lcalc-default-parameters-1.patch		\
-  %D%/packages/patches/lcalc-default-parameters-2.patch		\
-  %D%/packages/patches/lcalc-lcommon-h.patch    		\
-  %D%/packages/patches/lcalc-using-namespace-std.patch 		\
   %D%/packages/patches/ldns-drill-examples.patch		\
   %D%/packages/patches/leela-zero-gtest.patch			\
   %D%/packages/patches/less-hurd-path-max.patch			\
diff --git a/gnu/packages/patches/lcalc-default-parameters-1.patch b/gnu/packages/patches/lcalc-default-parameters-1.patch
deleted file mode 100644
index 19b0776320..0000000000
--- a/gnu/packages/patches/lcalc-default-parameters-1.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Patch taken from the Sage packaging system.
-
-diff -Naur lcalc-1.23-vanilla/include/Ldirichlet_series.h lcalc-1.23-fixed-gcc.4.9/include/Ldirichlet_series.h
---- lcalc-1.23-vanilla/include/Ldirichlet_series.h	2012-08-08 23:21:55.000000000 +0200
-+++ lcalc-1.23-fixed-gcc.4.9/include/Ldirichlet_series.h	2014-04-21 14:37:59.027464849 +0200
-@@ -43,7 +43,7 @@
-  //XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- template <class ttype>
- Complex L_function <ttype>::
--dirichlet_series(Complex s, long long N=-1)
-+dirichlet_series(Complex s, long long N)
- {
-     Complex z=0.;
-     long long m,n;
-diff -Naur lcalc-1.23-vanilla/include/L.h lcalc-1.23-fixed-gcc.4.9/include/L.h
---- lcalc-1.23-vanilla/include/L.h	2012-08-08 23:21:55.000000000 +0200
-+++ lcalc-1.23-fixed-gcc.4.9/include/L.h	2014-04-21 14:32:04.003467348 +0200
-@@ -491,7 +491,7 @@
- 
-     //#include "Ldirichlet_series.h" //for computing Dirichlet series
-     Complex partial_dirichlet_series(Complex s, long long N1, long long N2);
--    Complex dirichlet_series(Complex s, long long N);
-+    Complex dirichlet_series(Complex s, long long N=-1LL);
- 
-     //#include "Ltaylor_series.h" //for computing taylor series for Dirichlet series
-     //void compute_taylor_series(int N, int K, Complex s_0, Complex *series);
diff --git a/gnu/packages/patches/lcalc-default-parameters-2.patch b/gnu/packages/patches/lcalc-default-parameters-2.patch
deleted file mode 100644
index 1d881ee0c4..0000000000
--- a/gnu/packages/patches/lcalc-default-parameters-2.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-Patch taken from the Sage packaging system.
-
---- lcalc-1.23/include/Lgamma.h	2012-08-08 23:21:55.000000000 +0200
-+++ lcalc-1.23/include/Lgamma.h	2014-05-18 21:15:27.786889718 +0200
-@@ -77,7 +77,7 @@
- //n=0 should just give log_GAMMA(z)... thus making log_GAMMA
- //code obsolete. But leave log_GAMMA intact anyways.
- template <class ttype>
--precise(ttype) log_GAMMA (ttype z,int n=0)
-+precise(ttype) log_GAMMA (ttype z,int n)
- {
-     int M;
-     precise(ttype) log_G,r,r2,y;
-@@ -230,7 +230,7 @@
- //value exp_w which holds exp(-w)
- //computes G(z,w), so there's an extra w^(-z) factor.
- template <class ttype>
--Complex inc_GAMMA (ttype z,ttype w, const char *method="temme", ttype exp_w = 0, bool recycle=false)
-+Complex inc_GAMMA (ttype z,ttype w, const char *method, ttype exp_w, bool recycle)
- {
- 
-     Complex G;
-@@ -334,7 +334,7 @@
- 
- 
- template <class ttype>
--ttype cfrac_GAMMA (ttype z,ttype w, ttype exp_w=0, bool recycle=false)  //computes G(z,w) via continued fraction
-+ttype cfrac_GAMMA (ttype z,ttype w, ttype exp_w, bool recycle)  //computes G(z,w) via continued fraction
- {
- 
-         ttype G;
-@@ -424,7 +424,7 @@
- }
- 
- template <class ttype>
--ttype asympt_GAMMA (ttype z,ttype w, ttype exp_w = 0, bool recycle=false)  //computes G(z,w) via asymptotic series
-+ttype asympt_GAMMA (ttype z,ttype w, ttype exp_w, bool recycle)  //computes G(z,w) via asymptotic series
- {
- 
-         if(my_verbose>3) cout << "called asympt_GAMMA("<<z<<","<<w<<")"<< endl;
-@@ -446,7 +446,7 @@
- 
- 
- template <class ttype>
--ttype comp_inc_GAMMA (ttype z,ttype w,ttype exp_w = 0, bool recycle=false)  //computes g(z,w)
-+ttype comp_inc_GAMMA (ttype z,ttype w,ttype exp_w, bool recycle)  //computes g(z,w)
- {
- 
-     ttype g;
-@@ -604,7 +604,7 @@
- }
- 
- template <class ttype>
--Complex gamma_sum(Complex s, int what_type, ttype *coeff, int N, Double g, Complex l, Double Q, Long Period, Complex delta=1, const char *method="temme")
-+Complex gamma_sum(Complex s, int what_type, ttype *coeff, int N, Double g, Complex l, Double Q, Long Period, Complex delta, const char *method)
- {
-     Complex SUM=0;
- 
diff --git a/gnu/packages/patches/lcalc-lcommon-h.patch b/gnu/packages/patches/lcalc-lcommon-h.patch
deleted file mode 100644
index 897956de64..0000000000
--- a/gnu/packages/patches/lcalc-lcommon-h.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Patch taken from the Sage packaging system.
-
---- src/include/Lcommon.h	2010-01-31 15:16:45.000000000 +0000
-+++ src/include/Lcommon.h	2011-03-08 21:19:11.849443238 +0000
-@@ -25,7 +25,7 @@
- #ifdef USE_MPFR
- inline double lcalc_to_double(const double& x) { return x; }
- #endif
--//inline double lcalc_to_double(const long double& x) { return x; }
-+inline double lcalc_to_double(const long double& x) { return x; }
- inline double lcalc_to_double(const int& x) { return x; }
- inline double lcalc_to_double(const long long& x) { return x; }
- inline double lcalc_to_double(const short& x) { return x; }
diff --git a/gnu/packages/patches/lcalc-using-namespace-std.patch b/gnu/packages/patches/lcalc-using-namespace-std.patch
deleted file mode 100644
index 6e0075fdc8..0000000000
--- a/gnu/packages/patches/lcalc-using-namespace-std.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-Patch taken from the Sage packaging system.
-
-diff --git a/include/Lcommon.h b/include/Lcommon.h
-index 1b3be43..bf40532 100644
---- a/include/Lcommon.h
-+++ b/include/Lcommon.h
-@@ -48,7 +48,7 @@ const bool outputSeries=true;	  // Whether to output the coefficients or just th
- 
- // Loop i from m to n
- // Useful in tidying up most for loops
--#define loop(i,m,n) for(typeof(m) i=(m); i!=(n); i++)
-+#define loop(i,m,n) for(auto i=(m); i!=(n); i++)
- 
- // A class for calculations involving polynomials of small degree
- // Not efficient enough for huge polynomials
-diff --git a/include/Lcommon_ld.h b/include/Lcommon_ld.h
-index 86ae4df..33c560c 100644
---- a/include/Lcommon_ld.h
-+++ b/include/Lcommon_ld.h
-@@ -53,7 +53,7 @@ const bool outputSeries=true;	  // Whether to output the coefficients or just th
- 
- // Loop i from m to n
- // Useful in tidying up most for loops
--#define loop(i,m,n) for(typeof(m) i=(m); i!=(n); i++)
-+#define loop(i,m,n) for(auto i=(m); i!=(n); i++)
- 
- // A class for calculations involving polynomials of small degree
- // Not efficient enough for huge polynomials
-diff --git a/include/Lglobals.h b/include/Lglobals.h
-index 60002e4..ca2606c 100644
---- a/include/Lglobals.h
-+++ b/include/Lglobals.h
-@@ -24,9 +24,9 @@
- #ifndef Lglobals_H
- #define Lglobals_H
- 
-+#include <valarray>
- using namespace std;
- 
--#include <valarray>
- #ifdef USE_MPFR
-     #include "Lgmpfrxx.h"
-     typedef mpfr_class Double;
diff --git a/gnu/packages/sagemath.scm b/gnu/packages/sagemath.scm
index b29620a946..1237ff8e04 100644
--- a/gnu/packages/sagemath.scm
+++ b/gnu/packages/sagemath.scm
@@ -38,6 +38,7 @@ (define-module (gnu packages sagemath)
   #:use-module (gnu packages lisp)
   #:use-module (gnu packages multiprecision)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages popt)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-xyz))
 
@@ -292,59 +293,27 @@ (define-public brial
 (define-public lcalc
   (package
     (name "lcalc")
-    (version "1.23")
-    ;; The original home page of the project has disappeared, as well as
-    ;; code hosted by the original author on Google Code. The latter has
-    ;; been copied to gitlab.com/sagemath and purportedly contains patches
-    ;; for a never released version 1.3, that supposedly follows 1.23.
-    ;; We use the tarball as well as the patches hosted inside the sage
-    ;; package system distributed with the sage tarball.
-    (source
-     (origin
-       (method url-fetch)
-       (uri (string-append "ftp://ftp.fu-berlin.de/unix/misc/sage/spkg/"
-                           "upstream/lcalc/lcalc-1.23.tar.bz2"))
-       (sha256
-        (base32
-         "1c6dsdshgxhqppjxvxhp8yhpxaqvnz3d1mlh26r571gkq8z2bm43"))
-       (patches (search-patches "lcalc-lcommon-h.patch"
-                                "lcalc-default-parameters-1.patch"
-                                "lcalc-default-parameters-2.patch"
-                                "lcalc-using-namespace-std.patch"))))
+    (version "2.0.5")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://gitlab.com/sagemath/lcalc")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1rwyx292y3jbsp88wagn9nhl9z7wsnl2yrs5imxkbxq87pnrj5a7"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:tests? #f ;no tests
-       #:phases
-       (modify-phases %standard-phases
-         (delete 'configure)
-         (add-before 'build 'prepare-build
-           (lambda* (#:key outputs #:allow-other-keys)
-             (chdir "src")
-             (let ((out (assoc-ref outputs "out")))
-               (substitute* "Makefile"
-                 (("^INSTALL_DIR= /usr/local")
-                  (string-append "INSTALL_DIR=" out))))
-             #t))
-         (add-before 'install 'make-output-dirs
-           (lambda* (#:key outputs #:allow-other-keys)
-             (let* ((out (assoc-ref outputs "out"))
-                    (bin (string-append out "/bin"))
-                    (lib (string-append out "/lib"))
-                    (include (string-append out "/include")))
-               (mkdir-p bin)
-               (mkdir-p lib)
-               (mkdir-p include))
-             #t)))))
-    ;; FIXME:
-    ;; We need to add pari-gp and probably pari related patches from the
-    ;; sage project, as well as uncomment the line setting PARI_DEFINE in
-    ;; the Makefile to get the full functionality of this package.
-    ;; For the time being, we hope that sage can be compiled without.
-    (synopsis "C++ library for L-functions")
-    (description "Lcalc computes L-functions, in particular the Riemann
-zeta function and its twists by quadratic characters.")
-    (license license:gpl2+)
-    (home-page "https://gitlab.com/sagemath/sage")))
+     (list #:configure-flags '(list "--with-pari")))
+    (inputs (list pari-gp))
+    (native-inputs (list autoconf automake libtool pkg-config gengetopt))
+    (home-page "https://gitlab.com/sagemath/lcalc")
+    (synopsis "C++ library for with L-functions")
+    (description
+     "Lcalc computes L-functions, in particular the Riemann zeta function and its
+twists by quadratic characters.")
+    (license license:gpl2+)))
 
 (define-public ratpoints
   (package
-- 
2.37.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#56729] [RFC PATCH 10/10] gnu: Add sagemath.
Resent-From: vicvbcun <guix@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sat, 23 Jul 2022 20:53:05 +0000
Resent-Message-ID: <handler.56729.B56729.165860957311324 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 56729
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 56729 <at> debbugs.gnu.org
Cc: vicvbcun <guix@HIDDEN>
Received: via spool by 56729-submit <at> debbugs.gnu.org id=B56729.165860957311324
          (code B ref 56729); Sat, 23 Jul 2022 20:53:05 +0000
Received: (at 56729) by debbugs.gnu.org; 23 Jul 2022 20:52:53 +0000
Received: from localhost ([127.0.0.1]:46429 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oFM7I-0002wU-Ir
	for submit <at> debbugs.gnu.org; Sat, 23 Jul 2022 16:52:53 -0400
Received: from mo4-p05-ob.smtp.rzone.de ([85.215.255.131]:40899)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cyc@HIDDEN>) id 1oFM6z-0002uQ-73
 for 56729 <at> debbugs.gnu.org; Sat, 23 Jul 2022 16:52:36 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1658609551;
 s=strato-dkim-0002; d=ikherbers.com;
 h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date:
 From:Subject:Sender;
 bh=DGiSLXh2nIkPRmghTmmNR80bHiXOqboSfXtIBpGKJa4=;
 b=qUKwlYwDrGsasf2W5bEyS9bpTi115lZ5YUbvjRRjDlAHlX33eoU4swVcuCgb+WhJ3l
 ZCxcZ2HLNJosto85DKf+P+6gdOyMFnKaBCuoW3MZE3joBvKfxkwskhRmmi54PHH5ZSEV
 8RKxA5hVwy/c+KJbBVZhjTIdazhL57LLJMOZTI051zedQE66LYBuNoHhhnd8Aj2vyG+0
 mAhC2e6nsGXaFnSRIrfBNLPZ0px1MzuY66MsCTyhu9lzCNOxGpppiZeCF/iV4XcTyBTB
 0U8Do5bw/TrDkAPaqq01GyM2FvbKGf6rGN0m7jv0UVkGYwjSZoRYEEzgPR+zQZ9VlROx
 EUVg==
Authentication-Results: strato.com;
    dkim=none
X-RZG-AUTH: ":IUwNfkitaf3qOWm2b/jA5tveVwUUcwH3PkiYp6DPxTDDEo4xO9KsAGjusLvh3llVxq3loQ=="
X-RZG-CLASS-ID: mo05
Received: from lambda.localdomain by smtp.strato.de (RZmta 47.47.0 DYNA|AUTH)
 with ESMTPSA id Vdcb24y6NKqVD6j
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits))
 (Client did not present a certificate);
 Sat, 23 Jul 2022 22:52:31 +0200 (CEST)
From: vicvbcun <guix@HIDDEN>
Date: Sat, 23 Jul 2022 22:52:04 +0200
Message-Id: <8b34d84b936a6f6d94479116e15bd5dfa2cd2cdb.1658595756.git.guix@HIDDEN>
X-Mailer: git-send-email 2.37.0
In-Reply-To: <cover.1658595756.git.guix@HIDDEN>
References: <cover.1658595756.git.guix@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.6 (/)
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: -0.4 (/)

* gnu/packages/sagemath.scm (sagemath): New variable.
---

Notes:
- I'm not sure about native inputs vs. inputs here.
- There is a broken symlink in share/jupyter/kernels/sagemath/doc is
  currently a broken symlink. We should probably remove it and add it
  into the documentation output.
- bin/ is currently full of random stuff, we probably only need a few
  things.

 gnu/packages/sagemath.scm | 106 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 106 insertions(+)

diff --git a/gnu/packages/sagemath.scm b/gnu/packages/sagemath.scm
index 335d98d9f4..f84440db93 100644
--- a/gnu/packages/sagemath.scm
+++ b/gnu/packages/sagemath.scm
@@ -4,6 +4,7 @@
 ;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice <me@HIDDEN>
 ;;; Copyright © 2020 Jakub Kądziołka <kuba@HIDDEN>
 ;;; Copyright © 2021 Efraim Flashner <efraim@HIDDEN>
+;;; Copyright © 2022 vicvbcun <guix@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -25,6 +26,7 @@ (define-module (gnu packages sagemath)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system python)
   #:use-module (guix download)
+  #:use-module (guix gexp)
   #:use-module (guix git-download)
   #:use-module (guix packages)
   #:use-module (guix utils)
@@ -34,6 +36,8 @@ (define-module (gnu packages sagemath)
   #:use-module (gnu packages bdw-gc)
   #:use-module (gnu packages boost)
   #:use-module (gnu packages compression)
+  #:use-module (gnu packages gd)
+  #:use-module (gnu packages graph)
   #:use-module (gnu packages image)
   #:use-module (gnu packages lisp)
   #:use-module (gnu packages maths)
@@ -41,6 +45,7 @@ (define-module (gnu packages sagemath)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages popt)
   #:use-module (gnu packages python)
+  #:use-module (gnu packages python-build)
   #:use-module (gnu packages python-xyz))
 
 
@@ -400,3 +405,104 @@ (define-public python-pplpy
      "This Python module pplpy provides a wrapper to the C++ Parma Polyhedra
 Library (PPL).")
     (license license:gpl3)))
+
+(define-public sagemath
+  (package
+    (name "sagemath")
+    (version "9.6")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/sagemath/sage")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0k91l3aid09hy94ps2r6acg22bxgsprxnh1b92hma3z1mn0ii3s1"))))
+    (build-system python-build-system)
+    (arguments
+     (list #:tests? #f                  ; may take a long time, I'm scared
+           #:use-setuptools? #f
+           #:phases #~(modify-phases %standard-phases
+                        (add-after 'unpack 'prepare-build
+                          (lambda _
+                            (setenv "SAGE_NUM_THREADS"
+                                    (number->string (parallel-job-count)))
+                            (setenv "SAGE_VENV" #$output)
+                            (chdir "src")))
+                        (add-after 'install 'fix-logo-symlinks
+                          ;; these symlinks point to /tmp/guix-build-... so we
+                          ;; need to recreate them
+                          (lambda _
+                            (for-each
+                             (lambda (file)
+                               (let
+                                   ((source (string-append "sage/ext_data/notebook-ipython/" file))
+                                    (target (string-append #$output "/share/jupyter/kernels/sagemath/" file)))
+                                 (delete-file target)
+                                 (copy-file source target)))
+                             '("logo.svg" "logo-64x64.png"))))
+                        (add-after 'install 'delete-nbextensions
+                          ;; broken symlink to threejs-sage which we
+                          ;; don't even package
+                          (lambda _
+                            (delete-file-recursively (string-append #$output "/share/jupyter/nbextensions"))))
+                        (add-after 'install 'install-bin
+                          ;; so far, we have only installed the
+                          ;; library part of sage
+                          (lambda _
+                            ;; this copies way to much
+                            (copy-recursively "bin" (string-append #$output "/bin")))))))
+    (inputs (list arb
+                  boost
+                  brial
+                  cliquer
+                  ecl
+                  eclib
+                  edge-addition-planarity-suite
+                  flint
+                  gap
+                  gd
+                  giac
+                  givaro
+                  glpk
+                  gmp
+                  gmp-ecm
+                  gsl
+                  iml
+                  lcalc
+                  libbraiding
+                  libhomfly
+                  linbox
+                  m4ri
+                  m4rie
+                  mpc
+                  mpfi
+                  ntl
+                  openblas
+                  pari-gp
+                  python-cypari2
+                  python-gmpy2
+                  python-jinja2
+                  python-jupyter-core
+                  python-memory-allocator
+                  python-numpy
+                  python-pkgconfig
+                  python-pplpy
+                  python-setuptools
+                  python-wheel
+                  rw
+                  singular
+                  symmetrica
+                  zlib
+                  zn-poly))
+    (native-inputs (list pkg-config python-cython))
+    (home-page "https://www.sagemath.org")
+    (synopsis "Python-based computer algebra system")
+    (description
+     "SageMath is a free open-source mathematics software system licensed under the
+GPL. It builds on top of many existing open-source packages: NumPy, SciPy,
+matplotlib, Sympy, Maxima, GAP, FLINT, R and many more. Access their combined
+power through a common, Python-based language or directly via interfaces or
+wrappers.")
+    (license license:gpl3)))
-- 
2.37.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#56729] [RFC PATCH 04/10] gnu: cliquer: Update to 1.22.
Resent-From: vicvbcun <guix@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sat, 23 Jul 2022 20:53:05 +0000
Resent-Message-ID: <handler.56729.B56729.165860957311331 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 56729
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 56729 <at> debbugs.gnu.org
Cc: vicvbcun <guix@HIDDEN>
Received: via spool by 56729-submit <at> debbugs.gnu.org id=B56729.165860957311331
          (code B ref 56729); Sat, 23 Jul 2022 20:53:05 +0000
Received: (at 56729) by debbugs.gnu.org; 23 Jul 2022 20:52:53 +0000
Received: from localhost ([127.0.0.1]:46431 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oFM7J-0002wb-2L
	for submit <at> debbugs.gnu.org; Sat, 23 Jul 2022 16:52:53 -0400
Received: from mo4-p05-ob.smtp.rzone.de ([85.215.255.134]:38573)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cyc@HIDDEN>) id 1oFM6z-0002uI-0W
 for 56729 <at> debbugs.gnu.org; Sat, 23 Jul 2022 16:52:37 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1658609551;
 s=strato-dkim-0002; d=ikherbers.com;
 h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date:
 From:Subject:Sender;
 bh=PF+UHGfSYkre9SLQLbCHTu1gGDILkm1Ag+SL+Gt8OEE=;
 b=ERdhh8H7+An9xUdi4kJ/CLjQLzxi3Zkv+bx9lb5z7u5xzu7qrFAwGd75gq8wbeQ9zj
 T6k6vs/z3Eh1cEMsU+rckKH80KA00tPHvFvSj8niTo6eGmq/5NI3a3keK64C1q0JsrEn
 pYvMjmYdQMQ0vKRn56/NASwGrfkSMnwBMv3fIapFEgM4gG5CQ6kP/MG9/l015Dbw6TRD
 /OHN/vbAA7HVwQiDxUr6S+pW7BXdAN0BWxiV51J/w1WMuayRj3af7nxGlZkmQvHqwOGY
 luBn94enk3BszgRI9ONaj1eUVTegNuABI6ZoHRvZs5L8IeNRgzEowThHyoDZV2X7sOqo
 PMzA==
Authentication-Results: strato.com;
    dkim=none
X-RZG-AUTH: ":IUwNfkitaf3qOWm2b/jA5tveVwUUcwH3PkiYp6DPxTDDEo4xO9KsAGjusLvh3llVxq3loQ=="
X-RZG-CLASS-ID: mo05
Received: from lambda.localdomain by smtp.strato.de (RZmta 47.47.0 DYNA|AUTH)
 with ESMTPSA id Vdcb24y6NKqVD6b
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits))
 (Client did not present a certificate);
 Sat, 23 Jul 2022 22:52:31 +0200 (CEST)
From: vicvbcun <guix@HIDDEN>
Date: Sat, 23 Jul 2022 22:51:58 +0200
Message-Id: <a92553c08f12f536582ab3a4ea5bf914c94ed38c.1658595756.git.guix@HIDDEN>
X-Mailer: git-send-email 2.37.0
In-Reply-To: <cover.1658595756.git.guix@HIDDEN>
References: <cover.1658595756.git.guix@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.6 (/)
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: -0.4 (/)

Switch to an autotoolized fork.

* gnu/packages/sagemath.scm (cliquer): Update to 1.22.
---
 gnu/packages/sagemath.scm | 25 ++++++++++++-------------
 1 file changed, 12 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/sagemath.scm b/gnu/packages/sagemath.scm
index 75720f31a5..b29620a946 100644
--- a/gnu/packages/sagemath.scm
+++ b/gnu/packages/sagemath.scm
@@ -101,19 +101,18 @@ (define-public python-gmpy2
 (define-public cliquer
   (package
     (name "cliquer")
-    (version "1.21")
-    ;; The original source package is available from the home page and
-    ;; has not seen any release since 2010; it comes with only a Makefile
-    ;; without an "install" target. Instead, there is an autotoolized
-    ;; tarball available from the Sage project.
-    (source
-     (origin
-       (method url-fetch)
-       (uri "http://users.ox.ac.uk/~coml0531/sage/cliquer-1.21.tar.gz")
-       (sha256
-        (base32
-         "1hdzrmrx0nvvj8kbwxrs8swqgkd284khzl623jizixcv28xb77aq"))))
+    (version "1.22")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/dimpase/autocliquer")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "00gcmrhi2fjn8b246w5a3b0pl7p6haxy5wjvd9kcqib1xanz59z4"))))
     (build-system gnu-build-system)
+    (native-inputs (list autoconf automake libtool))
     (synopsis "C routines for finding cliques in weighted graphs")
     (description "Cliquer is a set of reentrant C routines for finding
 cliques in a weighted or unweighted graph.  It uses an exact
@@ -122,7 +121,7 @@ (define-public cliquer
 search to maximal cliques, store cliques in memory and call a user-defined
 function for every found clique.")
     (license license:gpl2+)
-    (home-page "https://users.aalto.fi/~pat/cliquer.html")))
+    (home-page "https://github.com/dimpase/autocliquer")))
 
 (define-public libbraiding
   (package
-- 
2.37.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#56729] [RFC PATCH 00/10] Add sagemath.
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Mon, 01 Aug 2022 09:25:01 +0000
Resent-Message-ID: <handler.56729.B56729.16593458837437 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 56729
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: vicvbcun <guix@HIDDEN>
Cc: 56729 <at> debbugs.gnu.org, Andreas Enge <andreas.enge@HIDDEN>
Received: via spool by 56729-submit <at> debbugs.gnu.org id=B56729.16593458837437
          (code B ref 56729); Mon, 01 Aug 2022 09:25:01 +0000
Received: (at 56729) by debbugs.gnu.org; 1 Aug 2022 09:24:43 +0000
Received: from localhost ([127.0.0.1]:39269 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oIRfH-0001vt-7X
	for submit <at> debbugs.gnu.org; Mon, 01 Aug 2022 05:24:43 -0400
Received: from eggs.gnu.org ([209.51.188.92]:55684)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1oIRfF-0001vX-By
 for 56729 <at> debbugs.gnu.org; Mon, 01 Aug 2022 05:24:41 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:45812)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1oIRf8-00028D-MB; Mon, 01 Aug 2022 05:24:34 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=ARTSGx8em/bKCfyY34XO9YL56S8yquljlYffl8fSUQU=; b=DtI2IfGnAjel9ah1mWZ5
 uYcvrCIsCBf3kqfHLfWmOz6R9hYVYW/xBf0CMbtjLcY4q8RzvkPBBnsk+Xbf8hiYZKIzYqSUJfraz
 pOzdhhy1BEv81xSKv8QdN89VOmX9miav1oW70u2zquNgjq5NE2SOdN7OlENGClQy7wFOU9FcjSq77
 Zfr5XlPWtwnGdOeYX/246239F0wILXNBKgT29bIeNVkXidEogqd/Ko7ozx6QA47lO01ntpr1nbHvW
 E4xUTxPgU04oC35fwnENmnEuyitDIduaijU2tzBwUybSQYejlgkOCvEyP+rV/54JGp8U7XQp8Bdu5
 LMjVzoG2TveC7A==;
Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=34792 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1oIRf8-0002rp-8x; Mon, 01 Aug 2022 05:24:34 -0400
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
References: <cover.1658595756.git.guix@HIDDEN>
Date: Mon, 01 Aug 2022 11:24:31 +0200
In-Reply-To: <cover.1658595756.git.guix@HIDDEN> (vicvbcun's message of
 "Sat, 23 Jul 2022 21:59:07 +0200")
Message-ID: <87y1w81flc.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
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: -3.3 (---)

Hello!

vicvbcun <guix@HIDDEN> skribis:

> This series adds SageMath. Everything compiles just fine and even the
> Jupyter notebook interface works, but there is still much work to do. So
> far, I have only added the minimal set of inputs required for the build
> to succeed. Tests and documentations are still missing.

This looks great already!  To make sure things don=E2=80=99t stall, we could
apply the patch series piecemeal, starting with the dependencies that
you think are ready, and leaving more time to polish the =E2=80=98sagemath=
=E2=80=99
package.

WDYT?

Regarding SageMath, my understanding is that it bundles lots of things.
In Guix, we=E2=80=99d like to make sure we do not use the bundled packages,
unless we practically can=E2=80=99t avoid it.  To do that, the best option =
is to
remove =E2=80=9Cthird-party=E2=80=9D (or similar) directories right in the =
=E2=80=98snippet=E2=80=99 of
the =E2=80=98sagemath=E2=80=99 package.  Could you give that a try?

Then, as you note, we=E2=80=99d rather run tests to make sure the package w=
orks
as intended.

Cc=E2=80=99ing Andreas, who I think is quite familiar with Sage.

Ludo=E2=80=99.




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#56729] [RFC PATCH 00/10] Add sagemath.
Resent-From: guix@HIDDEN
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Wed, 03 Aug 2022 09:23:01 +0000
Resent-Message-ID: <handler.56729.B56729.16595185571539 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 56729
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Cc: 56729 <at> debbugs.gnu.org, Andreas Enge <andreas.enge@HIDDEN>
Received: via spool by 56729-submit <at> debbugs.gnu.org id=B56729.16595185571539
          (code B ref 56729); Wed, 03 Aug 2022 09:23:01 +0000
Received: (at 56729) by debbugs.gnu.org; 3 Aug 2022 09:22:37 +0000
Received: from localhost ([127.0.0.1]:46128 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oJAaK-0000Ol-St
	for submit <at> debbugs.gnu.org; Wed, 03 Aug 2022 05:22:37 -0400
Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.220]:37537)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <guix@HIDDEN>) id 1oJAaI-0000Oc-9d
 for 56729 <at> debbugs.gnu.org; Wed, 03 Aug 2022 05:22:35 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1659518534;
 s=strato-dkim-0002; d=ikherbers.com;
 h=In-Reply-To:References:Message-ID:Subject:Cc:To:From:Date:Cc:Date:
 From:Subject:Sender;
 bh=Hlsp9lAytBQZ2Q7s6fu5Opl/RoH4/z5vsR0B+LLfLnk=;
 b=L2YeKCYMHbSh4JYkcUuB6yGr9UXT105OT+hutwqooLWXmCwj+7bvvY8os+LL0oSQzE
 RLigserz+O+2pXPCfYyWzSa/1VdM95lT48laloc00yxDTFj0hAClPCORvCcnbvp2fXYs
 3f8zbgglzqUofBr7js6lL45+LEJovEh9/5VtqRW4nz7k1DktptYHAJCaIJDw8Sv+VMnx
 YD0mZeVsoujLUF6AyPjaGT3+hJhXHnypKqIUCF9tcxCc30j+4WsYAHFq4XrKw++4dkkE
 FvAVDUXKlkZasNq+LJOAq8Qshp0UGqqJs8a73DAzSmR6wOnBJEMHphQlhfVPo3Nil5Fy
 9efw==
Authentication-Results: strato.com;
    dkim=none
X-RZG-AUTH: ":IUwNfkitaf3qOWm2b/jA5tveVwUUcwH3PkiYp6DPxTDDEo4xO9SmHnazdiAbr2jcTsO0Ng=="
X-RZG-CLASS-ID: mo00
Received: from lambda.localdomain by smtp.strato.de (RZmta 47.47.0 DYNA|AUTH)
 with ESMTPSA id 0cac6cy739MDWDc
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits))
 (Client did not present a certificate);
 Wed, 3 Aug 2022 11:22:13 +0200 (CEST)
Date: Wed, 3 Aug 2022 11:21:43 +0200
From: guix@HIDDEN
Message-ID: <Yuo+J48rdyIRZzPZ@localhost>
Mail-Followup-To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>,
 56729 <at> debbugs.gnu.org, Andreas Enge <andreas.enge@HIDDEN>
References: <cover.1658595756.git.guix@HIDDEN> <87y1w81flc.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <87y1w81flc.fsf@HIDDEN>
X-Spam-Score: -0.7 (/)
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: -1.7 (-)

Hello,

On 2022-08-01T11:24:31+0200, Ludovic Courtès wrote:
> > This series adds SageMath. Everything compiles just fine and even the
> > Jupyter notebook interface works, but there is still much work to do. So
> > far, I have only added the minimal set of inputs required for the build
> > to succeed. Tests and documentations are still missing.
> 
> This looks great already!  To make sure things don’t stall, we could
> apply the patch series piecemeal, starting with the dependencies that
> you think are ready, and leaving more time to polish the ‘sagemath’
> package.
> 
> WDYT?
Sounds like a good idea. The updates all seem fine to me (except gap)
and other than perhaps a better description for python-memory-allocator
I don't think there is much left to do for the other ones.

As for gap, I took another stab at it and it now builds reproducibly for
me. I also removed all the trailing #t's and changed the phases to use a
gexp.
By the way, the gap definition contains a snippet that deletes many gap
packages over concerns due to missing explicit licenses. However in a
cursory look at the tarball, I can see many LICENSE/COPYING files so
that may have changed.

> Regarding SageMath, my understanding is that it bundles lots of things.
> In Guix, we’d like to make sure we do not use the bundled packages,
> unless we practically can’t avoid it.  To do that, the best option is to
> remove “third-party” (or similar) directories right in the ‘snippet’ of
> the ‘sagemath’ package.  Could you give that a try?
If I understand the Sage build system correctly, missing dependencies
are automatically retrieved and build only when using the provided
Makefile. As is, the package definition builds and installs only the
python library part using setup.py. Thus a missing dependency probably
leads to a runtime error, though I haven't checked this.

> Then, as you note, we’d rather run tests to make sure the package works
> as intended.
I will try to see if I can get tests to work, though probably as
separate "package" like nixpkgs does[0], to avoid rebuilding sagemath so
often :).

As for sagemath itself, I will have a look at what exactly we need in
bin/.

[0]:
https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/science/math/sage/sage-tests.nix




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#56729] [RFC PATCH v2] gnu: gap: Update to 4.11.1.
Resent-From: vicvbcun <guix@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Wed, 03 Aug 2022 09:28:01 +0000
Resent-Message-ID: <handler.56729.B56729.16595188431976 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 56729
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 56729 <at> debbugs.gnu.org
Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, vicvbcun <guix@HIDDEN>, Andreas Enge <andreas.enge@HIDDEN>
Received: via spool by 56729-submit <at> debbugs.gnu.org id=B56729.16595188431976
          (code B ref 56729); Wed, 03 Aug 2022 09:28:01 +0000
Received: (at 56729) by debbugs.gnu.org; 3 Aug 2022 09:27:23 +0000
Received: from localhost ([127.0.0.1]:46132 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oJAew-0000Vo-LA
	for submit <at> debbugs.gnu.org; Wed, 03 Aug 2022 05:27:23 -0400
Received: from mo4-p05-ob.smtp.rzone.de ([81.169.146.182]:40231)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cyc@HIDDEN>) id 1oJAes-0000Ve-PD
 for 56729 <at> debbugs.gnu.org; Wed, 03 Aug 2022 05:27:20 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1659518835;
 s=strato-dkim-0002; d=ikherbers.com;
 h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date:
 From:Subject:Sender;
 bh=BqtrXk7sDIZHpJir72KXTKIQR0DFeD1DmlUtXuOwaDo=;
 b=CTnl4x13Wuoj7iEQxMa4qzeMv3Ilb58kfFLpwLNw/7XINHYLX8QjHI2MGn7cla8Y/q
 KqDWF6L1Qzg2vOfio3D/wCOZCFjkHybjo1jDrHKGFHVbGf3s0mNePhiI7Ht2FK1SSpJW
 ZkSF8j3C33boUCLiisjuRMU0wMwHyO9X1N2/kGc2BKPWJ6ujlKvuBSoD/mh0esZnLJtu
 8qUAAGRWJJFfYjGJ/CMwwMOy8/vT0xoj/bvVWe895PNGA2iv0qN0NYovb9eTiDb6AjjV
 Qmcw9ONkMMskqNyQ4XjbImpNAWGCMRx6DoJmkV0Bypz32D9h3BepC6vzHmJ6vub6G+lp
 GqRw==
Authentication-Results: strato.com;
    dkim=none
X-RZG-AUTH: ":IUwNfkitaf3qOWm2b/jA5tveVwUUcwH3PkiYp6DPxTDDEo4xO9SmHnazdiAbr2jcTsO0Ng=="
X-RZG-CLASS-ID: mo05
Received: from lambda.localdomain by smtp.strato.de (RZmta 47.47.0 DYNA|AUTH)
 with ESMTPSA id 0cac6cy739RFWHP
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits))
 (Client did not present a certificate);
 Wed, 3 Aug 2022 11:27:15 +0200 (CEST)
From: vicvbcun <guix@HIDDEN>
Date: Wed,  3 Aug 2022 11:25:22 +0200
Message-Id: <f3547b7c9e719d788dde289a470b72a4ebb44527.1659518175.git.guix@HIDDEN>
X-Mailer: git-send-email 2.37.0
In-Reply-To: <28cd72717547c8d8b6a3bf6d993cb07c897a1ba6.1658595756.git.guix@HIDDEN>
References: <28cd72717547c8d8b6a3bf6d993cb07c897a1ba6.1658595756.git.guix@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.1 (/)
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: -1.1 (-)

Remove logs that are not reproducible.

* gnu/packages/algebra.scm (gap): Update to 4.11.1.
[source]<snippet>: Remove trailing #t.
[arguments]<#:phases>: Remove trailing #t, use gexps.
[install]: Install missing config.h header.
---
 gnu/packages/algebra.scm | 181 +++++++++++++++++++--------------------
 1 file changed, 90 insertions(+), 91 deletions(-)

diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index 95fbdb5e36..c3b1c7fc3b 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -1209,17 +1209,17 @@ (define-public xtensor-benchmark
 (define-public gap
   (package
     (name "gap")
-    (version "4.11.0")
+    (version "4.11.1")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "https://files.gap-system.org/gap-"
                            (version-major+minor version)
-                           "/tar.bz2/gap-"
+                           "/tar.gz/gap-"
                            version
-                           ".tar.bz2"))
+                           ".tar.gz"))
        (sha256
-        (base32 "00l6hvy4iggnlrib4vp805sxdm3j7n3hzpv5zs9hbiiavh80l1xz"))
+        (base32 "01535s81h254zcs84zi95xqmhvvn6fn9qss8761myxc2gpdcadb6"))
        (modules '((guix build utils) (ice-9 ftw) (srfi srfi-1)))
        (snippet
         '(begin
@@ -1235,97 +1235,96 @@ (define-public gap
            ;; given by their names up to version numbers.
            (with-directory-excursion "pkg"
              (for-each delete-file-recursively
-               (lset-difference
-                 (lambda (all keep) (string-prefix? keep all))
-                 (scandir ".")
-                 '("." ".."
-                   ;; Necessary packages.
-                   "GAPDoc-"
-                   "primgrp-"
-                   "SmallGrp-"   ; artistic2.0
-                   "transgrp"    ; artistic2.0 for data,
-                                 ; gpl2 or gpl3 for code
-                   ;; Recommended package.
-                   "io-"         ; gpl3+
-                   ;; Optional packages, searched for at start,
-                   ;; and their depedencies.
-                   "alnuth-"
-                   "autpgrp-"
-                   "crisp-"      ; bsd-2
-                   "ctbllib"     ; gpl3+, clarified in the next release;
-                                 ; see
-                                 ; http://www.math.rwth-aachen.de/~Thomas.Breuer/ctbllib/README.md
-                   "FactInt-"
-                   "fga"
-                   "irredsol-"   ; bsd-2
-                   "laguna-"
-                   "polenta-"
-                   "polycyclic-"
-                   "radiroot-"
-                   "resclasses-"
-                   "sophus-"
-                   "tomlib-"
-                   "utils-"))))
-           #t))))
+                       (lset-difference
+                        (lambda (all keep) (string-prefix? keep all))
+                        (scandir ".")
+                        '("." ".."
+                          ;; Necessary packages.
+                          "GAPDoc-"
+                          "primgrp-"
+                          "SmallGrp-"   ; artistic2.0
+                          "transgrp"    ; artistic2.0 for data,
+                                        ; gpl2 or gpl3 for code
+                          ;; Recommended package.
+                          "io-"   ; gpl3+
+                          ;; Optional packages, searched for at start,
+                          ;; and their depedencies.
+                          "alnuth-"
+                          "autpgrp-"
+                          "crisp-"     ; bsd-2
+                          "ctbllib"    ; gpl3+, clarified in the next release;
+                                        ; see
+                                        ; http://www.math.rwth-aachen.de/~Thomas.Breuer/ctbllib/README.md
+                          "FactInt-"
+                          "fga"
+                          "irredsol-"   ; bsd-2
+                          "laguna-"
+                          "polenta-"
+                          "polycyclic-"
+                          "radiroot-"
+                          "resclasses-"
+                          "sophus-"
+                          "tomlib-"
+                          "utils-"))))))))
     (build-system gnu-build-system)
     (inputs
      (list gmp readline zlib))
     (arguments
-     `(#:modules ((ice-9 ftw)
-                  (srfi srfi-26)
-                  (guix build gnu-build-system)
-                  (guix build utils))
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'build 'build-packages
-           ;; Compile all packages that have not been deleted by the
-           ;; code snippet above.
-           (lambda _
-             (setenv "CONFIG_SHELL" (which "bash"))
-             (with-directory-excursion "pkg"
-               (invoke "../bin/BuildPackages.sh")
-             #t)))
-         (add-after 'build-packages 'build-doc
-           ;; The documentation is bundled, but we create it from source.
-           (lambda _
-             (with-directory-excursion "doc"
-               (invoke "./make_doc"))
-             #t))
-         (replace 'install
-           (lambda* (#:key outputs #:allow-other-keys)
-             (let* ((out (assoc-ref outputs "out"))
-                    (bin (string-append out "/bin"))
-                    (prog (string-append bin "/gap"))
-                    (prog-real (string-append bin "/.gap-real"))
-                    (share (string-append out "/share/gap")))
-               ;; Install only the gap binary; the gac compiler is left
-               ;; for maybe later. "Wrap" it in a shell script that calls
-               ;; the binary with the correct parameter.
-               ;; The make target install-bin is supposed to do that, but
-               ;; is not currently working.
-               (mkdir-p bin)
-               (copy-file "gap" prog-real)
-               (call-with-output-file prog
-                 (lambda (port)
-                   (format port
-                           "#!~a~%exec ~a -l ~a \"$@\"~%"
-                           (which "bash")
-                           prog-real
-                           share)))
-               (chmod prog #o755)
-               ;; Install the headers and library, which are needed by Sage.
-               (invoke "make" "install-headers")
-               (invoke "make" "install-libgap")
-               ;; Remove information on the build directory from sysinfo.gap.
-               (substitute* "sysinfo.gap"
-                 (("GAP_BIN_DIR=\".*\"") "GAP_BIN_DIR=\"\"")
-                 (("GAP_LIB_DIR=\".*\"") "GAP_LIB_DIR=\"\"")
-                 (("GAP_CPPFLAGS=\".*\"") "GAP_CPPFLAGS=\"\""))
-               (invoke "make" "install-gaproot")
-               ;; Copy the directory of compiled packages; the make target
-               ;; install-pkg is currently empty.
-               (copy-recursively "pkg" (string-append share "/pkg")))
-             #t)))))
+     (list #:modules '((ice-9 ftw)
+                       (srfi srfi-26)
+                       (guix build gnu-build-system)
+                       (guix build utils))
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'build 'build-packages
+                 ;; Compile all packages that have not been deleted by the
+                 ;; code snippet above.
+                 (lambda _
+                   (setenv "CONFIG_SHELL" (which "bash"))
+                   (with-directory-excursion "pkg"
+                     (invoke "../bin/BuildPackages.sh"))))
+               (add-after 'build-packages 'build-doc
+                 ;; The documentation is bundled, but we create it from source.
+                 (lambda _
+                   (with-directory-excursion "doc"
+                     (invoke "./make_doc"))))
+               (replace 'install
+                 (lambda _
+                   (let* ((bin (string-append #$output "/bin"))
+                          (prog (string-append bin "/gap"))
+                          (prog-real (string-append bin "/.gap-real"))
+                          (share (string-append #$output "/share/gap")))
+                     ;; Install only the gap binary; the gac compiler is left
+                     ;; for maybe later. "Wrap" it in a shell script that calls
+                     ;; the binary with the correct parameter.
+                     ;; The make target install-bin is supposed to do that, but
+                     ;; is not currently working.
+                     (mkdir-p bin)
+                     (copy-file "gap" prog-real)
+                     (call-with-output-file prog
+                       (lambda (port)
+                         (format port
+                                 "#!~a~%exec ~a -l ~a \"$@\"~%"
+                                 (which "bash")
+                                 prog-real
+                                 share)))
+                     (chmod prog #o755)
+                     ;; Install the headers and library, which are needed by Sage.
+                     (invoke "make" "install-headers")
+                     (invoke "make" "install-libgap")
+                     (install-file "gen/config.h" (string-append #$output "/include/gap"))
+                     ;; Remove information on the build directory from sysinfo.gap.
+                     (substitute* "sysinfo.gap"
+                       (("GAP_BIN_DIR=\".*\"") "GAP_BIN_DIR=\"\"")
+                       (("GAP_LIB_DIR=\".*\"") "GAP_LIB_DIR=\"\"")
+                       (("GAP_CPPFLAGS=\".*\"") "GAP_CPPFLAGS=\"\""))
+                     (invoke "make" "install-gaproot")
+                     ;; Copy the directory of compiled packages; the make target
+                     ;; install-pkg is currently empty.
+                     (copy-recursively "pkg" (string-append share "/pkg"))
+                     ;; these log files are not reproducible
+                     (delete-file (string-append share "/pkg/io-4.7.0/config.log"))
+                     (delete-file-recursively (string-append share "/pkg/log"))))))))
     (home-page "https://www.gap-system.org/")
     (synopsis
      "System for computational group theory")

base-commit: f6904c0b19c2fcca41bbf1400c738bd833fec9a8
prerequisite-patch-id: 73510fd06d7520fe1f53a6d654ad79bfb197731a
-- 
2.37.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#56729] [RFC PATCH 00/10] Add sagemath.
Resent-From: vicvbcun <guix@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sat, 06 Aug 2022 01:29:01 +0000
Resent-Message-ID: <handler.56729.B56729.16597493358826 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 56729
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 56729 <at> debbugs.gnu.org
Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, Andreas Enge <andreas.enge@HIDDEN>
Received: via spool by 56729-submit <at> debbugs.gnu.org id=B56729.16597493358826
          (code B ref 56729); Sat, 06 Aug 2022 01:29:01 +0000
Received: (at 56729) by debbugs.gnu.org; 6 Aug 2022 01:28:55 +0000
Received: from localhost ([127.0.0.1]:60777 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oK8cY-0002II-V6
	for submit <at> debbugs.gnu.org; Fri, 05 Aug 2022 21:28:55 -0400
Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.22]:38597)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <guix@HIDDEN>) id 1oK8cT-0002I8-UB
 for 56729 <at> debbugs.gnu.org; Fri, 05 Aug 2022 21:28:52 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1659749320;
 s=strato-dkim-0002; d=ikherbers.com;
 h=In-Reply-To:References:Message-ID:Subject:Cc:To:From:Date:Cc:Date:
 From:Subject:Sender;
 bh=pBwKRcj3j7kyzIxbed0N4ea2OfFhsy2op8svIv5wmAk=;
 b=EwoL4TPGMM6PwVfzT45d45zuXWQ0kJ0mju89ksg28SdG08ITBiOnUJ/f/qAfaDFo2X
 5SaQiJxMA7BJTqLA7WdGxhfYgfkv41FtOL4IGBvQAOu0dH4VGwUSGgo17MCZ3Y1JxBJY
 krncBQbKneNSBN2ZmDDVKMdD1LUnLPI8D5oe/5EmvQAH36MhQ6PeBWrsLGPfWOwVn5qt
 4pi4exyVzkrEHNPBhyjXLMCLCInRdIIrL/nB1jYvDiM4WlAXEbEVp0pC/wnh+Rcjng7E
 tA2fAUPePcHDh6Oo4z7IccL8StglaqRgy7OT5pzxWURM4K+JxZtHndoZWKojv67vH+fu
 ni6A==
Authentication-Results: strato.com;
    dkim=none
X-RZG-AUTH: ":IUwNfkitaf3qOWm2b/jA5tveVwUUcwH3PkiYp6DPxTDDEo4xO9ymAEzKSWlvmNAhIG6s"
X-RZG-CLASS-ID: mo00
Received: from lambda.localdomain by smtp.strato.de (RZmta 47.47.0 DYNA|AUTH)
 with ESMTPSA id 0cac6cy761SdhR0
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits))
 (Client did not present a certificate);
 Sat, 6 Aug 2022 03:28:39 +0200 (CEST)
Date: Sat, 6 Aug 2022 03:28:39 +0200
From: vicvbcun <guix@HIDDEN>
Message-ID: <Yu3Dxy53b55SP7CR@localhost>
Mail-Followup-To: 56729 <at> debbugs.gnu.org,
 Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>,
 Andreas Enge <andreas.enge@HIDDEN>
References: <cover.1658595756.git.guix@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <cover.1658595756.git.guix@HIDDEN>
X-Spam-Score: 0.0 (/)
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: -1.0 (-)

On 2022-07-23T21:59:07+0200, vicvbcun wrote:
> Everything compiles just fine and even the Jupyter notebook interface
> works, [...]
Well, I spoke to soon. As it turns out, the `sage' command I invoked to
test things a bit wound up using the sage installed by pacman, so no
wonder it worked perfectly. Nonetheless, I got some things working in a
guix shell container (so hopefully this wont happen again) with the help
of wrap-program and a few more dependencies.

I will try to post something that actually works a bit soon.




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#56729] [RFC PATCH 00/10] Add sagemath.
Resent-From: Andreas Enge <andreas@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Mon, 08 Aug 2022 14:41:02 +0000
Resent-Message-ID: <handler.56729.B56729.16599696527856 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 56729
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Cc: vicvbcun <guix@HIDDEN>, 56729 <at> debbugs.gnu.org
Received: via spool by 56729-submit <at> debbugs.gnu.org id=B56729.16599696527856
          (code B ref 56729); Mon, 08 Aug 2022 14:41:02 +0000
Received: (at 56729) by debbugs.gnu.org; 8 Aug 2022 14:40:52 +0000
Received: from localhost ([127.0.0.1]:41457 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oL3w3-00022e-GZ
	for submit <at> debbugs.gnu.org; Mon, 08 Aug 2022 10:40:52 -0400
Received: from hera.aquilenet.fr ([185.233.100.1]:38540)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <andreas@HIDDEN>) id 1oL3w1-00022O-J2
 for 56729 <at> debbugs.gnu.org; Mon, 08 Aug 2022 10:40:50 -0400
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id 817D5DDA;
 Mon,  8 Aug 2022 16:40:43 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id N6MNhYecbwVx; Mon,  8 Aug 2022 16:40:39 +0200 (CEST)
Received: from jurong (unknown [IPv6:2001:861:c4:f2f0:bad0:add3:e270:17e5])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 3EF55E0;
 Mon,  8 Aug 2022 16:40:39 +0200 (CEST)
Date: Mon, 8 Aug 2022 16:40:37 +0200
From: Andreas Enge <andreas@HIDDEN>
Message-ID: <YvEgZWGgYSkaEx3J@jurong>
References: <cover.1658595756.git.guix@HIDDEN> <87y1w81flc.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <87y1w81flc.fsf@HIDDEN>
X-Spam-Score: -0.0 (/)
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: -1.0 (-)

Hello,

Am Mon, Aug 01, 2022 at 11:24:31AM +0200 schrieb Ludovic Courtès:
> > This series adds SageMath. Everything compiles just fine and even the
> > Jupyter notebook interface works, but there is still much work to do. So
> > far, I have only added the minimal set of inputs required for the build
> > to succeed. Tests and documentations are still missing.
> This looks great already!  To make sure things don’t stall, we could
> apply the patch series piecemeal, starting with the dependencies that
> you think are ready, and leaving more time to polish the ‘sagemath’
> package.

thanks for letting me know, I will start by having a look at the patches
doing version updates.

Concerning sagemath itself, below is my very old version of an attempt at
packaging the library. Some things look reassuringly similar, my handling
of the number of cores is less nice, but I do delete the bundled packages.

Maybe you could copy useful parts into your recipe?

As for tests, indeed we should drop them for the time being until we have
a working sage package.

Thanks for these efforts!

Andreas



(define-public sage
  (package
    (name "sage")
    (version "8.7")
    (source (origin
              (method url-fetch)
              (uri (string-append
                    "ftp://ftp.fu-berlin.de/unix/misc/sage/src/sage-"
                    version ".tar.gz"))
              (sha256
               (base32
                "04l7i29vvxbd276z7hq6lj00ij42iy05pj7x765f0wswjiz0jlax"))
              (modules '((guix build utils)))
              (snippet '(begin (delete-file-recursively "upstream")
                               (delete-file-recursively ".git")
                               #t))))
    (build-system python-build-system)
    (native-inputs
     `(("cython" ,python-cython)
       ("pkg-config" ,pkg-config)
       ("python-cysignals" ,python-cysignals)
       ("python-pkgconfig" ,python-pkgconfig)
       ("python-jinja2" ,python-jinja2)))
    (inputs
     `(("arb" ,arb)
       ("boost" ,boost)
       ("brial" ,brial)
       ("cliquer" ,cliquer)
       ("ecl" ,ecl)
       ("eclib" ,eclib)
       ("gmp-ecm" ,gmp-ecm)
       ("edge-addition-planarity-suite" ,edge-addition-planarity-suite)
       ("fflas-ffpack" ,fflas-ffpack-2.3.2)
       ("flint" ,flint)
       ("gap" ,gap)
       ("gd" ,gd)
       ("gf2x" ,gf2x)
       ("givaro" ,givaro-4.0.4)
       ("glpk" ,glpk)
       ("gmp" ,gmp)
       ("gsl" ,gsl)
       ("iml" ,iml)
       ("lcalc" ,lcalc)
       ("libbraiding" ,libbraiding)
       ("libgc" ,libgc)
       ("libhomfly" ,libhomfly)
       ("linbox" ,linbox-1.5.2)
       ("lrcalc" ,lrcalc)
       ("m4ri" ,m4ri)
       ("m4rie" ,m4rie)
       ("mpc" ,mpc)
       ("mpfr" ,mpfi)
       ("ntl" ,ntl)
       ("pari-gp" ,pari-gp)
       ("ppl" ,ppl)
       ("pynac" ,pynac)
       ("python-cypari2" ,python-cypari2)
       ("python-gmpy2" ,python-gmpy2)
       ("python-numpy" ,python-numpy)
       ("python-six" ,python-six)
       ("ratpoints" ,ratpoints)
       ("readline" ,readline)
       ("rw" ,rw)
       ("singular" ,singular)
       ("symmetrica" ,symmetrica)
       ("zlib" ,zlib)
       ("zn-poly" ,zn-poly)))
    (arguments
     `(#:tests? #f ; a test since this phase fails with an error in setup.py
       #:use-setuptools? #f ; otherwise setup.py complains about
                            ; --single-version-externally-managed
       #:phases
       (modify-phases %standard-phases
         (add-before 'build 'setup
           (lambda _
             (setenv "SAGE_ROOT" (getcwd))
             (setenv "SAGE_LOCAL" (getcwd))
             (setenv "SAGE_SHARE" (string-append (getcwd) "/share"))
             (setenv "PATH" (string-append (getcwd) "/build/bin:"
                            (getcwd) "/src/bin:"
                            (getenv "PATH")))
             (setenv "SAGE_NUM_THREADS" "32") ; arbitrary number, 32 cores
                                              ; on bayfront
             (mkdir-p "var/lib/sage/installed")
             (mkdir-p (string-append (getcwd)
                                     "/share/sage/ext/notebook-ipython"))
             (chdir "src")
             #t))
         (add-after 'install 'save-space
           ;; The Nix package deletes a directory with over 100MB, which
           ;; apparently is not needed. Let us do the same.
           (lambda* (#:key inputs outputs #:allow-other-keys)
             (let* ((out (assoc-ref outputs "out"))
                    (python (assoc-ref inputs "python"))
                    (python-version
                      ((@@ (guix build python-build-system)
                           get-python-version) python))
                    (site (string-append out "/lib/python"
                                         python-version
                                         "/site-packages"))
                    (directory (string-append site "/sage/cython_debug")))
               (delete-file-recursively directory))
             #t)))))
    (synopsis "SageMath computer algebra system")
    (description
     "SageMath is a mathematics software built on top of many existing
packages such as NumPy, SciPy, matplotlib, Sympy, Maxima, GAP, FLINT,
R and others. Their combined power may be accessed through a common,
Python-based language or directly via interfaces or wrappers.")
    ;; documentation under cc-by-sa3.0, bundled packages under various
    ;; other licenses, see COPYING.txt in the distribution
    (license license:gpl3)
    (home-page "https://www.sagemath.org/")))






Last modified: Mon, 8 Aug 2022 14:45:01 UTC

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