From patchwork Mon Aug 8 15:46:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: vicvbcun X-Patchwork-Id: 41404 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E6DD027BBEB; Mon, 8 Aug 2022 16:52:27 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 643D127BBE9 for ; Mon, 8 Aug 2022 16:52:27 +0100 (BST) Received: from localhost ([::1]:54436 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oL53K-0004tn-IE for patchwork@mira.cbaines.net; Mon, 08 Aug 2022 11:52:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41262) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oL4zI-0000hX-A7 for guix-patches@gnu.org; Mon, 08 Aug 2022 11:48:16 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52026) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oL4zI-0006q2-19 for guix-patches@gnu.org; Mon, 08 Aug 2022 11:48:16 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oL4zH-0006C2-Tp for guix-patches@gnu.org; Mon, 08 Aug 2022 11:48:15 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56729] [RFC PATCH v2 28/29] gnu: Add sagemath-with-dependencies. Resent-From: vicvbcun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 Aug 2022 15:48:15 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56729@debbugs.gnu.org Cc: Ludovic =?utf-8?q?Court=C3=A8s?= , Andreas Enge Received: via spool by 56729-submit@debbugs.gnu.org id=B56729.165997368623610 (code B ref 56729); Mon, 08 Aug 2022 15:48:15 +0000 Received: (at 56729) by debbugs.gnu.org; 8 Aug 2022 15:48:06 +0000 Received: from localhost ([127.0.0.1]:41751 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oL4z7-00068X-7O for submit@debbugs.gnu.org; Mon, 08 Aug 2022 11:48:05 -0400 Received: from mo4-p05-ob.smtp.rzone.de ([85.215.255.134]:45241) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oL4yc-000638-PD for 56729@debbugs.gnu.org; Mon, 08 Aug 2022 11:47:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1659973642; 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=IjUco5qQq/VgwwnQvMsGN/P+6/Sqk7r75h+0l0VqXu0=; b=fPxpvh1JOam9VZ2G6UGI+4k5r0VLHZCnSv6i9ELZB98PRyMgg/7BQwVf3IbSiiHAhy DlNUqxrZ8/4xBZ5+3bn4C/CaEoBkifSKTwpiCbpVQPnnURfmgHHURwWWuprgeDqZO9Jf yIPf5GkIeWbbOI62AsXBpq6Wts1n/AZhyz/AQxV0pTn0RPjjb7Yocsj/ccl9V/VMlt2s OR3j1x92FBexU2VlBqGwKze5kmTzr2atXthmKuaojpDUjQe9NuQbuvY8ZCqDE9DzEz+6 nIbZBdbNmAbKOynF1z9PVpJKshyJ4NI/E5Ol+98gn6xIEQfOgpwtVCsSEnRd0HGhncra e3eA== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":IUwNfkitaf3qOWm2b/jA5tveVwUUcwH3PkiYp6DPxTDDEo4xO9ymAEzKSWlvmNAhIG6s" X-RZG-CLASS-ID: mo05 Received: from lambda.localdomain by smtp.strato.de (RZmta 47.47.0 DYNA|AUTH) with ESMTPSA id 0cac6cy78FlMoRh (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Mon, 8 Aug 2022 17:47:22 +0200 (CEST) From: vicvbcun Date: Mon, 8 Aug 2022 17:46:03 +0200 Message-Id: <39297a78b98e2e63b7a52a738566390da90e2174.1659973115.git.guix@ikherbers.com> X-Mailer: git-send-email 2.37.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/sagemath.scm (sagemath-with-dependencies): New variable. --- gnu/packages/sagemath.scm | 62 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/gnu/packages/sagemath.scm b/gnu/packages/sagemath.scm index cf48182047..af0aad04dc 100644 --- a/gnu/packages/sagemath.scm +++ b/gnu/packages/sagemath.scm @@ -38,7 +38,9 @@ (define-module (gnu packages sagemath) #:use-module (gnu packages base) #:use-module (gnu packages bdw-gc) #:use-module (gnu packages boost) + #:use-module (gnu packages commencement) #:use-module (gnu packages compression) + #:use-module (gnu packages freedesktop) #:use-module (gnu packages gd) #:use-module (gnu packages graph) #:use-module (gnu packages image) @@ -49,6 +51,7 @@ (define-module (gnu packages sagemath) #:use-module (gnu packages popt) #:use-module (gnu packages python) #:use-module (gnu packages python-build) + #:use-module (gnu packages python-science) #:use-module (gnu packages python-xyz)) @@ -906,3 +909,62 @@ (define-public sagemath-just-build power through a common, Python-based language or directly via interfaces or wrappers.") (license license:gpl3))) + +;;; this propagates all dependencies not needed to build sagemath +(define-public sagemath-with-dependencies + (package + (name "sagemath-with-dependencies") + (version "9.6") + (source #f) + (build-system trivial-build-system) + (arguments + (list #:modules '((guix build utils)) + #:builder #~(begin + (use-modules (guix build utils)) + + (mkdir-p #$output)))) + (propagated-inputs (list cddlib + ecl + eclib + flint + flintqs + gap + gap + gcc-toolchain + gfan + gfortran-toolchain + giac + gmp-ecm + gsl + lcalc + maxima + mpfr + nauty + ntl + openblas + palp + pari-galdata + pari-gp + pkg-config + python-fpylll + python-ipython + python-ipywidgets + python-lrcalc + python-networkx + python-pkgconfig + python-primecountpy + python-scipy + python-sympy + sagemath-data-combinatorial-designs + sagemath-data-conway-polynomials + sagemath-data-elliptic-curves + sagemath-data-graphs + sagemath-data-polytopes-db + sagemath-just-build + singular + tachyon + xdg-utils)) + (home-page "") + (synopsis "") + (description "") + (license #f)))