From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 qM3aLPgNdWRSxQAASxT56A (envelope-from ) for ; Mon, 29 May 2023 22:41:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id UKQGLfgNdWQGuQAAauVa8A (envelope-from ) for ; Mon, 29 May 2023 22:41:28 +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 78106FBBE for ; Mon, 29 May 2023 22:41:28 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q3jf9-000540-DN; 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 1q3jev-0004ym-Lw for guix-patches@gnu.org; Mon, 29 May 2023 16:40:06 -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 1q3jev-0001db-E3 for guix-patches@gnu.org; Mon, 29 May 2023 16:40:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q3jev-0007ok-9b for guix-patches@gnu.org; Mon, 29 May 2023 16:40:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56729] [RFC PATCH v3 04/32] gnu: python-gmpy2: Move to (gnu packages multiprecision). Resent-From: vicvbcun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 29 May 2023 20:40:05 +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.168539279129883 (code B ref 56729); Mon, 29 May 2023 20:40:05 +0000 Received: (at 56729) by debbugs.gnu.org; 29 May 2023 20:39:51 +0000 Received: from localhost ([127.0.0.1]:59258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3jeh-0007lp-2a for submit@debbugs.gnu.org; Mon, 29 May 2023 16:39:51 -0400 Received: from mo4-p05-ob.smtp.rzone.de ([85.215.255.134]:38243) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3jeV-0007jO-3l for 56729@debbugs.gnu.org; Mon, 29 May 2023 16:39:41 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1685392777; cv=none; d=strato.com; s=strato-dkim-0002; b=e8hwMmIWkiua3+ma/LAaJAJ6ZH8A0SawBEwJHbYKVp3R59iz5LJOF6efPVbJzA0xAa V2GBI2j2t2wNYWlJP4fuck20nZWVXShk+qtRdjD+2sOrLP3JdayESFzL7Wy10B61SkSy PqqO+qA9bmq/TDYbeQ2xqBb/6lb0GDIQN3voCX9Oz1mS5up1XaUpBlwFOLJwik+QMHsY rpZRjGGzM8L2r++0ToHCnzkvpiR1u8uN5cPhBvgqFMswdfbuETPUZd10RbzaaYNJ2Et1 IuH7+OoEIhRtJjki+Gpme9tmSO2wA95gsIaHSA03RvFWmSYnPMdvp5jtvYYIRW6461Ku gofw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1685392777; 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=hNM7tonaHXReAA0DqwIceZmd7xLdyn8SfacAKE17RQs=; b=Ya8G5W15J0TagSSRKMHo2qE26tdtzuLUu3lOMZnxlww/XY7wDaWcPOHicz0vNZHAy/ hgwLOUEnaXdmeplkxs0Djkl2L9QdyQb1FOAw72kdWEA6hYTnKQ/Dl69ZHhFCHYwjchnO xYzWxZB+3V2HFiVGFLybJsYB78ibs3yM1mG7eKHqEN7U9M5efd6Qsyz0ix2G2frhTf+Z 1/xypZiHz2ithoYV0QNgCMYxCXjCqIg9z+PsPgETyM7TirPgx6gtizMnlG6TqOMtqCm1 YIIPDv1/Bcxx4OeHeTatLZmtZNyguoymXryRjWBI8Uj7DE3yR+mVP/pr+BwL4pRKWWir yOBg== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1685392777; 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=hNM7tonaHXReAA0DqwIceZmd7xLdyn8SfacAKE17RQs=; b=Nx7NkuQKigywMiyMT54Y7XQNo/cDcFY8gyXMOibyaTXo1dsEl1cxKmmTqXPw9gj7nN gCXmKKXTQHqvEFkMVFIVMLrC6ikQA27X3kEjQgTVsFgY4IcmICeZqmPMDi+3DCwBhU1q tgigM5W87Xezj8Gs6O/S/zVwpFeUdlGXfBhDT4tDTuTAMn3VDhTMsNK9EmqWYAN5uMAA oIPPhuyzqzXMdGteeAykPpekQvTl7weciEwe3DwZ5lhJrP+h1FYMuHWbuPFINDHDlNr0 bMCqVjW9V/jQH/WvziP96kh51kYmGJvwWRQ8NHfIn4v+aO9PY8VLEeAgJP9dtiWgKSlW EGiA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1685392777; 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=hNM7tonaHXReAA0DqwIceZmd7xLdyn8SfacAKE17RQs=; b=NyYA0tgfvRKX7+bGlDypLCtkePpsDnvYdnca8iFFUdB8E3kVEO0Pj3YsipFokw/Lsl LJ1ipyfpuWi8uR0IwQBQ== X-RZG-AUTH: ":IUwNfkitaf3qOWm2b/jA5tveVwUUcwH3PkiYp6DPxTDDEo4xO9KsAGjusLvi119VyBPc" X-RZG-CLASS-ID: mo05 Received: from lambda.localdomain by smtp.strato.de (RZmta 49.4.0 DYNA|AUTH) with ESMTPSA id z055e6z4TKdbn7F (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Mon, 29 May 2023 22:39:37 +0200 (CEST) From: vicvbcun Date: Mon, 29 May 2023 22:38:13 +0200 Message-Id: <287d605d4a50255e65ae21bcaac3ad1a8b9b73c9.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-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=2; s=key1; d=yhetil.org; t=1685392888; a=rsa-sha256; cv=fail; b=s+PnSUMr4Oc0OsGSJgGwCgFTIuNolIYOcd1tse/L8XoWrFqi/caLZr1j9ugAUowsjUQ2ub TlYwZLJoWPLPLDbUvUPnzAZIwHbUFVIJ2eKwnZ2D4xkDr0xNd2HtvqVxeeWC5Q++GL9JtU zyPGyT9GS/cZjHC5xPpYDwzuwBXPIy9LPRNB1RlJCGVodVlx3p8j2EF6+Q/g5b3jtrRiOz TDhay5ThpD7GUnX6ExAY2z92RhJXpvGYZIM3ip9sjq4rBP2Ms5IJe7VPfVMXHLX/xQTSSJ BpBLjRM0c9qEfszHmIvJ9gFmGV2AYXwaIhSaUApfv1wH7YZ5vKhfIR747pgwUQ== 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=Nx7NkuQK; dkim=fail ("headers eddsa verify failed") header.d=ikherbers.com header.s=strato-dkim-0003 header.b=NyYA0tgf; 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=1685392888; 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=hNM7tonaHXReAA0DqwIceZmd7xLdyn8SfacAKE17RQs=; b=t8iprWOZMGxpDV71IhF9EKTrrwDj/PJ2c/Vf6l11RNR2e231kZAXgsg9xvW41ey7uTo5Kl 0gkLCCMvrug8KGSP4jzUpEBzmiHA3dkLT9+rtZr5wUwF2U7Ivc54EZUa31ploeHiWZeP3a LE6sLYSO9+3mdio5VwoU34DwXg/9dcOwNZDCyoSMZekpOTbf2pDomhK984Tglp0yxBNcMf BMJ0Pe2fx/+n4/UStXvRaoW8bx5HR/1+r7gvwIZoj9sdDM93OASMimdnyxY+FiGq0mngrn TCtzi16edZQWMDl1wOqWrDPZI0GE/VX07HTgwy/pBoQJ5UJauwhL+xmrLTcMSA== 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=Nx7NkuQK; dkim=fail ("headers eddsa verify failed") header.d=ikherbers.com header.s=strato-dkim-0003 header.b=NyYA0tgf; 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: 78106FBBE X-TUID: yMc8hkSF+/m1 * gnu/packages/sagemath.scm (python-gmpy2): Move from here ... * gnu/packages/multiprecision.scm (python-gmpy2): ... to here. --- Notes: Prevent cycle (gnu packages sagemath) -> (gnu packages multiprecision) -> (gnu packages sagemath) gnu/packages/multiprecision.scm | 28 +++++++++++++++++++++++++++- gnu/packages/sagemath.scm | 25 ------------------------- 2 files changed, 27 insertions(+), 26 deletions(-) diff --git a/gnu/packages/multiprecision.scm b/gnu/packages/multiprecision.scm index 6ba08be3a3..a955a8cae2 100644 --- a/gnu/packages/multiprecision.scm +++ b/gnu/packages/multiprecision.scm @@ -30,6 +30,7 @@ (define-module (gnu packages multiprecision) #:use-module (gnu packages) #:use-module (gnu packages autotools) #:use-module (gnu packages bison) + #:use-module (gnu packages compression) #:use-module (gnu packages flex) #:use-module (gnu packages m4) #:use-module (gnu packages gcc) @@ -39,7 +40,8 @@ (define-module (gnu packages multiprecision) #:use-module (guix git-download) #:use-module (guix packages) #:use-module (guix utils) - #:use-module (guix build-system gnu)) + #:use-module (guix build-system gnu) + #:use-module (guix build-system python)) (define-public gmp (package @@ -116,6 +118,30 @@ (define-public gmp-6.0 (patches (search-patches "gmp-arm-asm-nothumb.patch" "gmp-faulty-test.patch")))))) +(define-public python-gmpy2 + (package + (name "python-gmpy2") + (version "2.1.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "gmpy2" version)) + (sha256 + (base32 + "1lc29g3s4z5f1qbsc2x9i9sf6wrpni9pwiwmb1wwx3hjr85i8xfs")))) + (build-system python-build-system) + (native-inputs + (list unzip)) + (inputs + (list gmp mpfr mpc)) + (home-page "https://github.com/aleaxit/gmpy") + (synopsis + "GMP/MPIR, MPFR, and MPC interface to Python 2.6+ and 3.x") + (description + "This package provides a Python interface to the GNU multiprecision +libraries GMO, MPFR and MPC.") + (license lgpl3+))) + (define-public mpfr (package (name "mpfr") diff --git a/gnu/packages/sagemath.scm b/gnu/packages/sagemath.scm index 3138006e77..04bb17dc9d 100644 --- a/gnu/packages/sagemath.scm +++ b/gnu/packages/sagemath.scm @@ -33,7 +33,6 @@ (define-module (gnu packages sagemath) #:use-module (gnu packages autotools) #:use-module (gnu packages bdw-gc) #:use-module (gnu packages boost) - #:use-module (gnu packages compression) #:use-module (gnu packages image) #:use-module (gnu packages lisp) #:use-module (gnu packages multiprecision) @@ -70,30 +69,6 @@ (define-public python-cypari2 but it can be used independently.") (license license:gpl2+))) -(define-public python-gmpy2 - (package - (name "python-gmpy2") - (version "2.1.2") - (source - (origin - (method url-fetch) - (uri (pypi-uri "gmpy2" version)) - (sha256 - (base32 - "1lc29g3s4z5f1qbsc2x9i9sf6wrpni9pwiwmb1wwx3hjr85i8xfs")))) - (build-system python-build-system) - (native-inputs - (list unzip)) - (inputs - (list gmp mpfr mpc)) - (home-page "https://github.com/aleaxit/gmpy") - (synopsis - "GMP/MPIR, MPFR, and MPC interface to Python 2.6+ and 3.x") - (description - "This package provides a Python interface to the GNU multiprecision -libraries GMO, MPFR and MPC.") - (license license:lgpl3+))) - (define-public cliquer (package (name "cliquer") -- 2.40.1