Subject: bug#31616: closed (Re: [bug#31616] [PATCH] gnu: Add python-bigfloat.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 31 May 2018 16:00:02 +0000

Your bug report

#31616: [PATCH] gnu: Add python-bigfloat.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
31616: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=31616
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#31616] [PATCH] gnu: Add python-bigfloat.
From: [email-masked] (Ludovic Courtès)
To: Konrad Hinsen <[email-masked]>
Cc: [email-masked]
Date: Thu, 31 May 2018 17:59:40 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello Konrad,

Konrad Hinsen <[email-masked]> skribis:

> * gnu/packages/python.scm (python-bigfloat): new variable.
> * gnu/packages/python.scm (python2-bigfloat): new variable.

Apply with these changes, thanks!

Ludo’.

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 01df028cb..0cdf82594 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -5169,8 +5169,10 @@ more advanced mathematics.")
     (inputs
      `(("mpfr" ,mpfr)))
     (home-page "https://github.com/mdickinson/bigfloat")
-    (synopsis "Arbitrary precision floating-point arithmetic for Python based on MPFR")
-    (description "Python interface to the MPFR library for multiprecision arithmetic.")
+    (synopsis "Arbitrary precision floating-point arithmetic for Python")
+    (description
+     "This packages provides a Python interface to the MPFR library for
+multiprecision arithmetic.")
     (license license:lgpl3+)))
 
 (define-public python2-bigfloat

Subject: [PATCH] gnu: Add python-bigfloat.
From: Konrad Hinsen <[email-masked]>
To: [email-masked]
Date: Mon, 28 May 2018 10:30:38 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/python.scm (python-bigfloat): new variable.
* gnu/packages/python.scm (python2-bigfloat): new variable.
---
 gnu/packages/python.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 4cda7192f..bd6f1358a 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -5155,6 +5155,27 @@ more advanced mathematics.")
 (define-public python2-mpmath
   (package-with-python2 python-mpmath))
 
+(define-public python-bigfloat
+  (package
+    (name "python-bigfloat")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "bigfloat" version))
+       (sha256
+        (base32 "0xd7q4l7v0f463diznjv4k9wlaks80pn9drdqmfifi7zx8qvybi6"))))
+    (build-system python-build-system)
+    (inputs
+     `(("mpfr" ,mpfr)))
+    (home-page "https://github.com/mdickinson/bigfloat")
+    (synopsis "Arbitrary precision floating-point arithmetic for Python based on MPFR")
+    (description "Python interface to the MPFR library for multiprecision arithmetic.")
+    (license license:lgpl3+)))
+
+(define-public python2-bigfloat
+  (package-with-python2 python-bigfloat))
+
 (define-public python-sympy
   (package
     (name "python-sympy")
-- 
2.17.0