From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id AP6IBYlMaGe2NAEA62LTzQ:P1 (envelope-from ) for ; Sun, 22 Dec 2024 17:29:45 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id AP6IBYlMaGe2NAEA62LTzQ (envelope-from ) for ; Sun, 22 Dec 2024 18:29:45 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=qMEr80Tr; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=OEnsVpeX; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict), DKIM not aligned (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734888584; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ORKMYZA57/yos6heONF1hXp2apKuHYQo9nCguQpNsN8=; b=EidzBnVN8Hre+k0/ihOj/LPK2xMy6eS5+Vdhs6557EbTvpQSqSvcf1r0xzDrl1vm+uiWLn 64htUJU48CjrvuUIEh44fT0dB2pZU0A05i/7NyWZdggek9q9v4gon/hmg0BI86DndG1WdO kQJrd7Xhi98+RSD9TfgmmiD7J42ij/+WLDVxhzsKHqft6EPSo9FuDeP8AMCfs4GYwqEB7f NcNsG5BHL4lK2qLkyIHG424KVl1/qGWD8OdmFN7JwH6VoWQe23Ugpy0b1DU1Ibn2/xXUqv 3zy8wrwNkG834sXtGCHFq84elpDCh6PteiSQltk7qE2PZiRppJvtFZ0jBb+KEw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=qMEr80Tr; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=OEnsVpeX; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict), DKIM not aligned (strict)" header.from=posteo.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734888584; a=rsa-sha256; cv=none; b=fKxgOt0GtEjd0y0QHy3VBmEOWjuOBnCv8Dqigb/A4sLLnIDdDofA1ZQUovot4pzO51ZS2X acI6ALAcMn2ZM0FkxBDCsovelBWbknTPSo/a4pf0/9IM8OZ9Jx9EzprRBWna+ftNAMwuAD rbUERXv5wzpn5XCDNxE7kNWAxZqBXykdgGNuEsotM13VRJznihM1XP2Zt+R4+KAKwu+l59 rPOE5K7FUecjBIK0ELaRnBbswS0IM3VlNMMMK0DBYzE/yGyk17Xd7JrU/vwMEyzWtTLW3R RhKz2Mvw5A3xlMpSmnyqKgqfdJeRtlWmJldw71E4/7Z9q3aNyt2L4Nc9AjV4IA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CBD9FA12F1 for ; Sun, 22 Dec 2024 18:29:44 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPPko-0006u5-1G; Sun, 22 Dec 2024 12:28:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tPPkO-0006m0-Sw for guix-patches@gnu.org; Sun, 22 Dec 2024 12:28:09 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tPPkO-0001xt-KN for guix-patches@gnu.org; Sun, 22 Dec 2024 12:28:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=ORKMYZA57/yos6heONF1hXp2apKuHYQo9nCguQpNsN8=; b=qMEr80TrOqA8cZjAJFLh4IgYuWIzo8VVSFp11jl0w4sgtSu45Cn3R9StOVwd4XpJl5x3NuoLLM7KUA9ZN1/5F9JyU1TN1B0YA6XMYJSU4pbiGQe5LVRnfF+vUz0zCEchN4Uv0tmEQAtjqTHW0QM4SM69K04McamHJA4wXXU5k6PL0Jg5Aq71jlpdrx8UHuqiD/QFGL5CQYWCF9oKLUSQAcAd5BIyK8xvtti3EojSmXxhu9vPYeupW3ldNwOlR7qpqBm4LhXnNFX7KghzeRdog3Meh24Ri2qAg859+NKLZmlXmBT7LUpJ4IES1CKdvr72VU9lOOmcKMdp9LJTSS61Zw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tPPkO-0007sf-Eb for guix-patches@gnu.org; Sun, 22 Dec 2024 12:28:08 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75032] [PATCH 12/13] gnu: pari-gp: Install galdata. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 22 Dec 2024 17:28:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75032 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75032@debbugs.gnu.org Cc: vicvbcun Received: via spool by 75032-submit@debbugs.gnu.org id=B75032.173488848030192 (code B ref 75032); Sun, 22 Dec 2024 17:28:08 +0000 Received: (at 75032) by debbugs.gnu.org; 22 Dec 2024 17:28:00 +0000 Received: from localhost ([127.0.0.1]:51753 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPPkG-0007qs-Cv for submit@debbugs.gnu.org; Sun, 22 Dec 2024 12:28:00 -0500 Received: from mout01.posteo.de ([185.67.36.65]:46085) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPPkB-0007q6-E4 for 75032@debbugs.gnu.org; Sun, 22 Dec 2024 12:27:56 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id C5856240027 for <75032@debbugs.gnu.org>; Sun, 22 Dec 2024 18:27:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1734888468; bh=osR58oHOjCLms8mFD8p13wgK7U7+qGOpKgE644XA/Z0=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=OEnsVpeXBhikBNw0x1HwF3tA6NaoRC8e2a4HhSRozXDmjlOthkzbs0nhgRepV2iMG nsSmZtDMQ+PizuG0carUvFVHKeE2sh0D2vtlKHLjl6aC8dz8tbC6Ef4M8p2kJr51ue 1it/Y5Uq+9/uq7rgD9PTMoukM/3I5oVa6gkfP4mK56uNlSJcX/ddMvDmCOHtaSbsrj CJq4hvbzt0DLPGWUvjmBITsvZjnNaWmxkwn7dhL1WVbp7C1xzpekF7a7JA1WUX4t8m zasl6ZNI216rKugpdDNbesF38WW/wnN53cfp1MIdk275uIxLT9Y6fFPC8TRQyfFUKK czWdg1JJTjBfg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YGSll6jXTz9rxF; Sun, 22 Dec 2024 18:27:47 +0100 (CET) From: Vinicius Monego Date: Sun, 22 Dec 2024 17:26:56 +0000 Message-Id: <72ca572d7c15f31fef544aa83399c3dcdd50bc67.1734887844.git.monego@posteo.net> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.38 X-Spam-Score: -2.38 X-Migadu-Queue-Id: CBD9FA12F1 X-Migadu-Scanner: mx10.migadu.com X-TUID: DOhmyIyLgwn9 From: vicvbcun * gnu/packages/algebra.scm (pari-galdata): New variable. (pari-gp)[arguments]<#:phases>: Add phase "install-galdata". Change-Id: Iaec77b0ab60d8ff59c8a36e7e0a7878b58742751 Co-authored by: Vinicius Monego Change-Id: Id74aa6ce315df48a2d917baf1a436ba54b1b5185 --- gnu/packages/algebra.scm | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index 32834f1c15..5da77b6318 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm @@ -229,6 +229,16 @@ (define-public python-fpylll (description "fpylll is a Python wrapper for fplll.") (license license:gpl2+))) +(define pari-galdata + ;; version from 2008-04-12 + (origin + (method url-fetch) + ;; no versioning, old files seem to be moved to `old/...' on update + (uri "https://pari.math.u-bordeaux.fr/pub/pari/packages/galdata.tgz") + (sha256 + (base32 + "1pch6bk76f1i6cwwgm7hhxi5h71m52lqayp4mnyj0jmjk406bhdp")))) + (define-public pari-gp (package (name "pari-gp") @@ -253,7 +263,13 @@ (define-public pari-gp (lambda _ (invoke "./Configure" "--mt=pthread" - (string-append "--prefix=" #$output))))))) + (string-append "--prefix=" #$output)))) + (add-after 'install 'install-galdata + (lambda _ + (invoke "tar" "-xvf" #$pari-galdata) + (copy-recursively "data/" (string-append + #$output + "/share/pari"))))))) (synopsis "PARI/GP, a computer algebra system for number theory") (description "PARI/GP is a widely used computer algebra system designed for fast -- 2.39.5