From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 0Nd9FucNdWTuuAAASxT56A (envelope-from ) for ; Mon, 29 May 2023 22:41:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MKttFucNdWTVPwAA9RJhRA (envelope-from ) for ; Mon, 29 May 2023 22:41:11 +0200 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 20849FBBA for ; Mon, 29 May 2023 22:41:11 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q3jfF-000592-0N; Mon, 29 May 2023 16:40:25 -0400 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 1q3jez-0004zs-QG for guix-patches@gnu.org; Mon, 29 May 2023 16:40:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q3jez-0001fF-6s for guix-patches@gnu.org; Mon, 29 May 2023 16:40:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q3jey-0007pi-UV for guix-patches@gnu.org; Mon, 29 May 2023 16:40:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56729] [RFC PATCH v3 19/32] gnu: pari-gp: Install galdata. Resent-From: vicvbcun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 29 May 2023 20:40:08 +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: Andreas Enge Received: via spool by 56729-submit@debbugs.gnu.org id=B56729.168539279429945 (code B ref 56729); Mon, 29 May 2023 20:40:08 +0000 Received: (at 56729) by debbugs.gnu.org; 29 May 2023 20:39:54 +0000 Received: from localhost ([127.0.0.1]:59274 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3jek-0007mo-2y for submit@debbugs.gnu.org; Mon, 29 May 2023 16:39:54 -0400 Received: from mo4-p05-ob.smtp.rzone.de ([85.215.255.136]:39943) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3jeV-0007je-LJ for 56729@debbugs.gnu.org; Mon, 29 May 2023 16:39:43 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1685392778; cv=none; d=strato.com; s=strato-dkim-0002; b=Buv72fh8O/jHu+dfkmUlF2ZMVvJdt04V9F1BL9n5LMtIoi+/o7Xhfd9fLqr8fvHX51 SLotX6S8ktaQgo4/LyeZM8LsqRw3e61HBL+iJ1PkP/1BfpkXSaV/gVpOEB7f5hKvK1Bm /cjvPuaYPBcCBCaO4io9QQK1ZKWzTtT1uv0OJTWSN/V6CqPgkkAzOt0Q1PgQXDw3mAhr dLcrplRX90ziFYR6k4sqWq6hOIczZqUTRtNY9goYGMXNpFRDd5gDYOyTL6zkiDTJV8Um ZnmGYEOwXmLlFycXNbh7DUUGgmz5C8vOsOqk4TXfXocSY+WFhqqsHyPMUm+GcFogNqab 7LGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1685392778; s=strato-dkim-0002; d=strato.com; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=NnsqtpkzztQTZVzRoLvLeSREVXvEFfDcW5WQLk3BOV4=; b=Jm1VPDaltG6Qk+FaoT/oxVuJN+0X3fmBZXkTM7ulJXIa3HYcGhoG8bJi/Zek8X1yZk MhZvJbrGfoR3fod25I3Ac4A/FDSXZc/KfK1BHubgw06A9q4gOH2eXKzHNP2Nbn6lnyij tjw7wP1E6HJKp5uFTZGKAIawIx55t82AVbF/AJu8NlY7g/QBBHiQllR6mKyVuhOvsYmv WuefR6kJB1w+v+f6OyUN+pP6lK3WOwxn90J8sY4CObWsle8hwMdQfyFsI0wm5XGrMpD3 LPRwv4lZVmAtTXqMJ70prNbmCTINTMrkUqmK6kMIP2GB/j4tHfkT+dqFi1vuyTMpHQEF Px+Q== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1685392778; 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=NnsqtpkzztQTZVzRoLvLeSREVXvEFfDcW5WQLk3BOV4=; b=hRT5JglW2a2Wl5GU7+EDebHPzq7qA/bCS8hcz4zTy/1AuhmfUjGqpBv75RyFBBVzh1 jkUHVs8E9n5CJW4+C8JmWTK5nCBhp3LAastFywIlrozAQeXX3499100be0qLLXPJODG6 L6izSMKPukTpgY+NPfMewqhTixLshig8JtI2HJxYxyyW9LvpcLarWMJYGycecN8W0UWI 4/44nuCDVzsdAYT02Sl82q/T5XsOfaXoxtgASJcbJ0O3wLL/NMuIYa7MoMAcQGJQ+R+7 KZQuqguBE8sHIUGnJmqnZEtkwqwhKnl7I5xBqL0qJ8X2L3xYHxrHJ1wuMM6AB2kNbCfP 41UQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1685392778; s=strato-dkim-0003; d=ikherbers.com; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=NnsqtpkzztQTZVzRoLvLeSREVXvEFfDcW5WQLk3BOV4=; b=85UR7zlKGAePXxE97vEss68ralR4DB9MMALNZoaVNtADaB6a0B/QQnCMd+pIbabW5b Oti5BGPYE7WmrGGWJTBA== X-RZG-AUTH: ":IUwNfkitaf3qOWm2b/jA5tveVwUUcwH3PkiYp6DPxTDDEo4xO9elHkvI0r6JTEEwPZQIGpITRHJw3QBV19xfC5caujhgQnTJiaYr" X-RZG-CLASS-ID: mo05 Received: from lambda.localdomain by smtp.strato.de (RZmta 49.4.0 AUTH) with ESMTPSA id z055e6z4TKdcn7V (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Mon, 29 May 2023 22:39:38 +0200 (CEST) From: vicvbcun Date: Mon, 29 May 2023 22:38:28 +0200 Message-Id: X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="us-ascii" 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=2; s=key1; d=yhetil.org; t=1685392871; a=rsa-sha256; cv=fail; b=cUrWCq6S24rXgRKAlW1nN4RLebLW/MB5jFPw1Jo0dzU5lZDTVmaIKwXeHasNpJV3Grwcfq 9d5m4ipZ1u1FzqmmS4ZBT8SFNASl5aD1Ndm0PHkiGEVXsmZoep5AlL5nQA1V6JP52pX+9n M2zcNHyC5bmblCgfCxB5iC3mlJRmrbsRGN26FzuTwqezVOjK5/Gv+vClmoOhQXpWqprkaz IMNmlpRKdBAWZ1Bp1JtV8pUXn2EweTLXZSiDEwFJRF0wSpX4xK0ORbpipZIbK5NXDn3RMP 1PYK7TS3rJc53nh6qG3Sn4nIcaxa8AKw1g7nWyNc+/8qsYo2jX8RyMQk9SmpBw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ikherbers.com header.s=strato-dkim-0002 header.b=hRT5JglW; dkim=fail ("headers eddsa verify failed") header.d=ikherbers.com header.s=strato-dkim-0003 header.b=85UR7zlK; dmarc=none; 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"; arc=reject ("signature check failed: fail, {[1] = sig:strato.com:reject}") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685392871; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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=NnsqtpkzztQTZVzRoLvLeSREVXvEFfDcW5WQLk3BOV4=; b=AE6ZzIllF/368cP6ntO8K+y6ZjvIl5LtONGpkrESq7uGNC50vPKkf+ap54Pw2nUOgLD661 k2NP424zUfU+GP2EhFGZIheETy+Y6RHw7R9ZBsXY8YIfmGCSFQAwv6gFteZyE2C6QfZJQm CbaBTe3PfrNBlk7OgnrtzZ137WXbVM/5nQ4+FqIWnO2XUQo5Ty4HwYe+jXlHDe+vxOhRnH m4Wt3iFmKt6xItDeOg7/OuOjtpVfhXRpgfRW4L4IAp4DEHU3VoGHmC8FwYd6/XMI6Xea74 YHfGPDKAvPJrH4msbzKVgLhK0++1Mays/iMuF8WlgwOMj4yj75B4C8hfb5uV0Q== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ikherbers.com header.s=strato-dkim-0002 header.b=hRT5JglW; dkim=fail ("headers eddsa verify failed") header.d=ikherbers.com header.s=strato-dkim-0003 header.b=85UR7zlK; dmarc=none; 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"; arc=reject ("signature check failed: fail, {[1] = sig:strato.com:reject}") X-Migadu-Spam-Score: 2.86 X-Spam-Score: 2.86 X-Migadu-Queue-Id: 20849FBBA X-TUID: lyYFz62XDi58 * gnu/packages/algebra.scm (pari-galdata): New variable. (pari-gp)[arguments]<#:phases>: Add phase "install-galdata". --- Notes: PARI/GP supports only a single load path. Multiple packages should work in a profile, as they get symlinked in a single folder. gnu/packages/algebra.scm | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index 0b238d6f4b..c2d1c3ce1e 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm @@ -257,6 +257,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") @@ -282,7 +292,11 @@ (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.40.1