guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#43562] [PATCH] gnu: python-mpmath: Update to 1.1.0.


From: Greg Hogan
Subject: [bug#43562] [PATCH] gnu: python-mpmath: Update to 1.1.0.
Date: Tue, 22 Sep 2020 10:46:51 -0400

From 8527ba555c07bf6fc720c23187f0a8dcd44af1ab Mon Sep 17 00:00:00 2001
From: Greg Hogan <code@greghogan.com>
Date: Tue, 22 Sep 2020 14:24:35 +0000
Subject: [PATCH] gnu: python-mpmath: Update to 1.1.0.

* gnu/packages/python-xyz.scm (python-mpmath): Update to 1.1.0.
[source]: Download from pypi.
[inputs]: Add pytest.
---
 gnu/packages/python-xyz.scm | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 085d88da57..9e72e8bba0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7525,15 +7525,17 @@ and statistical routines from scipy and statsmodels.")
 (define-public python-mpmath
   (package
   (name "python-mpmath")
-  (version "0.19")
+  (version "1.1.0")
   (source (origin
             (method url-fetch)
-            (uri (string-append "http://mpmath.org/files/mpmath-";
-                                version ".tar.gz"))
+            (uri (pypi-uri "mpmath" version))
+            (file-name (git-file-name name version))
             (sha256
              (base32
-              "08ijsr4ifrqv3cjc26mkw0dbvyygsa99in376hr4b96ddm1gdpb8"))))
+              "1xlrcja213jpfhw25q1jl5pl10w1a2cc68x1c4mkicxsbzhan5zw"))))
   (build-system python-build-system)
+  (inputs
+   `(("python-pytest" ,python-pytest)))
   (arguments
    '(#:phases
      (modify-phases %standard-phases
-- 
2.28.0





reply via email to

[Prev in Thread] Current Thread [Next in Thread]