From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 YH5XM9INdWS/AQAASxT56A (envelope-from ) for ; Mon, 29 May 2023 22:40:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yAB9MtINdWSeZAAAG6o9tA (envelope-from ) for ; Mon, 29 May 2023 22:40:50 +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 90D33F97B for ; Mon, 29 May 2023 22:40:50 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q3jf9-000549-MK; Mon, 29 May 2023 16:40:19 -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 1q3jex-0004z9-9f for guix-patches@gnu.org; Mon, 29 May 2023 16:40:08 -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 1q3jex-0001eF-1n for guix-patches@gnu.org; Mon, 29 May 2023 16:40:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q3jew-0007p7-UA for guix-patches@gnu.org; Mon, 29 May 2023 16:40:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56729] [RFC PATCH v3 15/32] gnu: Add sagemath-data-elliptic-curves. Resent-From: vicvbcun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 29 May 2023 20:40:06 +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.168539279229905 (code B ref 56729); Mon, 29 May 2023 20:40:06 +0000 Received: (at 56729) by debbugs.gnu.org; 29 May 2023 20:39:52 +0000 Received: from localhost ([127.0.0.1]:59264 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3jei-0007mB-AK for submit@debbugs.gnu.org; Mon, 29 May 2023 16:39:52 -0400 Received: from mo4-p05-ob.smtp.rzone.de ([85.215.255.131]:33871) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3jeV-0007jZ-Dm for 56729@debbugs.gnu.org; Mon, 29 May 2023 16:39:42 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1685392778; cv=none; d=strato.com; s=strato-dkim-0002; b=lHbctEOURjGZqA77zoedebcaI4AIaTnTFSv4Vc+FZBXKR5Eh1h5SN/UF1vxHZC+RO+ JQZwWDhxDNxdVbC67QwOxk7dV7TWt+OsCWj7WvNI+cQf5lvjHCp84/EOOL5fl8BaitV5 6/9Z9CC0kj57UUIPMdtXyqYTxWuyGLYzCGJfyu6XkILx1nS1WSZR0z6JAgojYyo87Dm6 Cjo9Y2i6rbIBLmKKj51pqsvK6kaw5iKLg1WVkJl6yyQYGKs9MQACirz+ZRNCUtvU/yp9 i8WbK2AuXuLmSG+LI1wbTVzQkL8Ar9mAKusE+o5vcsAYpROfTLAKuRAaCSjISv6zgv+U OH6A== 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=WXsEKjCxeBnyyCg2ZOPrOZuQTQc+m+cbXI+L39+1hLg=; b=dbO+nnDAf0wPfcvb2xoEPotXoy2kChI6tqGqXjhxHNdxfdteAmHgp3yu7eKMCjgHdH UaCdeUBNOZuto26nSKUWfyBqYGltOlZfGlxqz59tWoAGfmYGdhRGkX6MI9EicCOsp0wb IL9sjUjZxmVGCYeE3aiPjS2cOVjTMbG3+ylxk3UbltvdKIeEQHnH3kjr3G6vUDvDD672 6Rg4bqF/9I9jka2+cku30qQFnUptDGxHnMdm8cBQw5BEEq2QpkxkHeTu7FOnqt62ItXt LqtVUcbAA3jaBLPBfDTPcKcqhKBWKFXs91JDjbenWD5IYjfDcP1JtpEwY04jSB1hKP0C 2bog== 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=WXsEKjCxeBnyyCg2ZOPrOZuQTQc+m+cbXI+L39+1hLg=; b=iizu6ABNKjDieecshaNeAipECT1XgT7gFswHrj6VZpYccqs0qvtagNSigqO5UCone+ zB/vZ2izTuqJVpoHZR+s6NfyJ6VZNhgYrFW5BIjr6z+vI2QBmfPu4xd/MG/TzbzNraQc /5uTeL4o18OZqETm/vRrOsbvfTLkSPbOilnNqA7GaE8CQPuRj5/7UDUa/tL9O/Rbplw0 hXJGy/UviVr87Ts7LOJ1Oqp+8QsQ1do23ZdTvfKxCD6YoON/3VZDo4Nx0IXbY8dF8gmy TM39MpcV3tXkm1zS5lFZC8WdZ9wxtZ9N1YvrAqjmRAQDq6wPi5IbjV2/tbzPy6O0AV16 jihQ== 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=WXsEKjCxeBnyyCg2ZOPrOZuQTQc+m+cbXI+L39+1hLg=; b=Xm9ZDdpLKGWoJRuoFuK/E7UzROA3CfnP1dCoHXniis3DbmAYJh2cTbmRQcbp+7HmcJ yy19Rq15smRA8PDc3oBA== 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 z055e6z4TKdcn7P (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:24 +0200 Message-Id: <5dbc9f2c5ca98bfbb105329f81e67a979700d77e.1685391447.git.guix@ikherbers.com> 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=2; s=key1; d=yhetil.org; t=1685392850; a=rsa-sha256; cv=fail; b=V6mrAJnOO32+V8jEKNq7Vn1GP8JIR4qZ/oIZBk6H9WP/j+fn0ibYLH5YaumUFm5/cHgwTf 3dVpR4e/psExW/7cPuLShP0OPUvIEV/uDkkCtTmjO+yUiC29sjEYzH/0ZcYEb6wbNfuQPW U/l1Xzb+c+9Baae2mO7NzsNhJlDCGWtm9fH+2gArTaQYa0vtdPT73QHkxGEvOcH2HimiP3 3ubPjTNj1wc2u8MRGaD8t9ZdWRJhGLICdRf0T4WO1sEa9qGO8/5njyBliAWDcDSFEQrddP XVDSrOdad0GMrKtrzxss3T0dWmY/et6SDB3+xn5E83Rdsxk0jRs+iOxHDHDi4Q== 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=iizu6ABN; dkim=fail ("headers eddsa verify failed") header.d=ikherbers.com header.s=strato-dkim-0003 header.b=Xm9ZDdpL; 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=1685392850; 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=WXsEKjCxeBnyyCg2ZOPrOZuQTQc+m+cbXI+L39+1hLg=; b=YcHyo0wXIPDiZnzKYXldrMoXlcjPeTHi7zr3ab2Jmbl4Z0r2WIWIiUJZiUvVR9pM/n0tEI BI7vioNEBa5n9B4d21ysqIHULTl1Zy1xPsYtrHeSMxpC1utR+PaD5RRlAnd1sd4egyBoaO z79ZAZC0F7t5NS3XXELC7+w4wUUj7IfNaAV8QRUe/zFkPICS+01MWByTx5yRv4UvWqd0Zf GGtWcEOTJZ9pBjm8okx+ZeTrF+XRoysef8e0kN3don0I8gomBa8LI7n9dCSx33H7eAnY7H QXTcYvhNAcDOMW1kNGLSO8mY6YWHcketXSUG5GEtE4x71gpP1eb5Z6/+aWftSA== X-Migadu-Spam-Score: 1.39 X-Spam-Score: 1.39 X-Migadu-Queue-Id: 90D33F97B X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ikherbers.com header.s=strato-dkim-0002 header.b=iizu6ABN; dkim=fail ("headers eddsa verify failed") header.d=ikherbers.com header.s=strato-dkim-0003 header.b=Xm9ZDdpL; 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-TUID: oxOF7hiEvNq3 * gnu/packages/sagemath.scm (sagemath-data-elliptic-curves): New variable. --- gnu/packages/sagemath.scm | 44 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/sagemath.scm b/gnu/packages/sagemath.scm index 1a1d81b6a7..f10dc89cd1 100644 --- a/gnu/packages/sagemath.scm +++ b/gnu/packages/sagemath.scm @@ -406,3 +406,47 @@ (define-public sagemath-data-conway-polynomials (synopsis "Tables of Conway polynomials over finite fields") (description synopsis) (license #f)))) + +(define-public sagemath-data-elliptic-curves + (let + ((install-py-origin + (origin + (method url-fetch) + (uri + "https://raw.githubusercontent.com/sagemath/sage/9.8/build/pkgs/elliptic_curves/spkg-install.py") + (sha256 (base32 + "116g684i6mvs11fvb6fzfsr4fn903axn31vigdyb8bgpf8l4hvc5"))))) + (package + (name "sagemath-data-elliptic-curves") + (version "0.8.1") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://sagemath/spkg/upstream/elliptic_curves/elliptic_curves-" + version ".tar.bz2")) + (sha256 + (base32 + "0l7xh4abw5sb4d37r0ylr3vwb88fpx2zrvfm5ql0c7yrv5q59fjz")))) + (build-system trivial-build-system) + (arguments + (list #:modules '((guix build utils)) + #:builder #~(begin + (use-modules (guix build utils)) + + (setenv "PATH" + (string-join (list #+(file-append bzip2 "/bin") + #+(file-append tar "/bin") + #+(file-append python "/bin")) + ":")) + ;; the output directory + (setenv "SAGE_SHARE" (string-append #$output "/share")) + (setenv "PYTHONPATH" (getcwd)) + + (invoke "tar" "-xvf" #$source) + (symlink (string-append "elliptic_curves-" #$version) "src") + (invoke "python3" (assoc-ref %build-inputs "install-py"))))) + (inputs `(("install-py" ,install-py-origin))) + (home-page "https://johncremona.github.io/ecdata/") + (synopsis "Databases of elliptic curves") + (description synopsis) + (license #f)))) -- 2.40.1