* [bug#31616] [PATCH] gnu: Add python-bigfloat.
@ 2018-05-28 8:30 Konrad Hinsen
2018-05-31 15:59 ` bug#31616: " Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Konrad Hinsen @ 2018-05-28 8:30 UTC (permalink / raw)
To: 31616
* 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#31616: [PATCH] gnu: Add python-bigfloat.
2018-05-28 8:30 [bug#31616] [PATCH] gnu: Add python-bigfloat Konrad Hinsen
@ 2018-05-31 15:59 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2018-05-31 15:59 UTC (permalink / raw)
To: Konrad Hinsen; +Cc: 31616-done
[-- Attachment #1: Type: text/plain, Size: 248 bytes --]
Hello Konrad,
Konrad Hinsen <konrad.hinsen@fastmail.net> skribis:
> * gnu/packages/python.scm (python-bigfloat): new variable.
> * gnu/packages/python.scm (python2-bigfloat): new variable.
Apply with these changes, thanks!
Ludo’.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 746 bytes --]
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-05-31 16:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-28 8:30 [bug#31616] [PATCH] gnu: Add python-bigfloat Konrad Hinsen
2018-05-31 15:59 ` bug#31616: " Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).