* [PATCH 0/2] python-sympy: Update to 1.0.
@ 2016-12-15 18:14 Marius Bakke
2016-12-15 18:14 ` [PATCH 1/2] gnu: Add python-mpmath Marius Bakke
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Marius Bakke @ 2016-12-15 18:14 UTC (permalink / raw)
To: guix-devel; +Cc: Marius Bakke
Fixes test failure..
Marius Bakke (2):
gnu: Add python-mpmath.
gnu: python-sympy: Update to 1.0.
gnu/packages/python.scm | 36 ++++++++++++++++++++++++++++++++++--
1 file changed, 34 insertions(+), 2 deletions(-)
--
2.11.0
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/2] gnu: Add python-mpmath.
2016-12-15 18:14 [PATCH 0/2] python-sympy: Update to 1.0 Marius Bakke
@ 2016-12-15 18:14 ` Marius Bakke
2017-01-12 15:35 ` Ludovic Courtès
2016-12-15 18:14 ` [PATCH 2/2] gnu: python-sympy: Update to 1.0 Marius Bakke
2016-12-16 10:25 ` [PATCH 0/2] " Hartmut Goebel
2 siblings, 1 reply; 7+ messages in thread
From: Marius Bakke @ 2016-12-15 18:14 UTC (permalink / raw)
To: guix-devel; +Cc: Marius Bakke
* gnu/packages/python.scm (python-mpmath, python2-mpmath): New variables.
---
gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 789e199f5..7f16a9620 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -5309,6 +5309,36 @@ and statistical routines from scipy and statsmodels.")
(propagated-inputs `(("python2-pytz" ,python2-pytz)
,@(package-propagated-inputs base))))))
+(define-public python-mpmath
+ (package
+ (name "python-mpmath")
+ (version "0.19")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://mpmath.org/files/mpmath-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "08ijsr4ifrqv3cjc26mkw0dbvyygsa99in376hr4b96ddm1gdpb8"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (zero?
+ (system* "python" "mpmath/tests/runtests.py" "-local")))))))
+ (home-page "http://mpmath.org")
+ (synopsis "Arbitrary-precision floating-point arithmetic in python")
+ (description
+ "@code{mpmath} can be used as an arbitrary-precision substitute for
+Python's float/complex types and math/cmath modules, but also does much
+more advanced mathematics.")
+ (license license:bsd-3)))
+
+(define-public python2-mpmath
+ (package-with-python2 python-mpmath))
+
(define-public python-sympy
(package
(name "python-sympy")
--
2.11.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/2] gnu: python-sympy: Update to 1.0.
2016-12-15 18:14 [PATCH 0/2] python-sympy: Update to 1.0 Marius Bakke
2016-12-15 18:14 ` [PATCH 1/2] gnu: Add python-mpmath Marius Bakke
@ 2016-12-15 18:14 ` Marius Bakke
2017-01-12 15:35 ` Ludovic Courtès
2016-12-16 10:25 ` [PATCH 0/2] " Hartmut Goebel
2 siblings, 1 reply; 7+ messages in thread
From: Marius Bakke @ 2016-12-15 18:14 UTC (permalink / raw)
To: guix-devel; +Cc: Marius Bakke
* gnu/packages/python.scm (python-sympy, python2-sympy): Update to 1.0.
[propagated-inputs]: Add python-mpmath.
---
gnu/packages/python.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 7f16a9620..3e3c032ad 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -5342,7 +5342,7 @@ more advanced mathematics.")
(define-public python-sympy
(package
(name "python-sympy")
- (version "0.7.6")
+ (version "1.0")
(source
(origin
(method url-fetch)
@@ -5350,8 +5350,10 @@ more advanced mathematics.")
"https://github.com/sympy/sympy/releases/download/sympy-"
version "/sympy-" version ".tar.gz"))
(sha256
- (base32 "19yp0gy4i7p4g6l3b8vaqkj9qj7yqb5kqy0qgbdagpzgkdz958yz"))))
+ (base32 "1bpzjwr9hrr7w88v4vgnj9lr6vxcldc94si13n8xpr1rv08d5b1y"))))
(build-system python-build-system)
+ (propagated-inputs
+ `(("python-mpmath" ,python-mpmath)))
(home-page "http://www.sympy.org/")
(synopsis "Python library for symbolic mathematics")
(description
--
2.11.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 0/2] python-sympy: Update to 1.0.
2016-12-15 18:14 [PATCH 0/2] python-sympy: Update to 1.0 Marius Bakke
2016-12-15 18:14 ` [PATCH 1/2] gnu: Add python-mpmath Marius Bakke
2016-12-15 18:14 ` [PATCH 2/2] gnu: python-sympy: Update to 1.0 Marius Bakke
@ 2016-12-16 10:25 ` Hartmut Goebel
2 siblings, 0 replies; 7+ messages in thread
From: Hartmut Goebel @ 2016-12-16 10:25 UTC (permalink / raw)
To: guix-devel@gnu.org >> guix-devel
Am 15.12.2016 um 19:14 schrieb Marius Bakke:
> gnu: Add python-mpmath.
> gnu: python-sympy: Update to 1.0.
Both LGTM.
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel@crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] gnu: Add python-mpmath.
2016-12-15 18:14 ` [PATCH 1/2] gnu: Add python-mpmath Marius Bakke
@ 2017-01-12 15:35 ` Ludovic Courtès
2017-01-12 17:29 ` Marius Bakke
0 siblings, 1 reply; 7+ messages in thread
From: Ludovic Courtès @ 2017-01-12 15:35 UTC (permalink / raw)
To: Marius Bakke; +Cc: guix-devel
Marius Bakke <mbakke@fastmail.com> skribis:
> * gnu/packages/python.scm (python-mpmath, python2-mpmath): New variables.
LGTM!
BTW, as noted in ‘HACKING’, feel free to push such non-controversial
changes once people have been given enough time to speak up.
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] gnu: python-sympy: Update to 1.0.
2016-12-15 18:14 ` [PATCH 2/2] gnu: python-sympy: Update to 1.0 Marius Bakke
@ 2017-01-12 15:35 ` Ludovic Courtès
0 siblings, 0 replies; 7+ messages in thread
From: Ludovic Courtès @ 2017-01-12 15:35 UTC (permalink / raw)
To: Marius Bakke; +Cc: guix-devel
Marius Bakke <mbakke@fastmail.com> skribis:
> * gnu/packages/python.scm (python-sympy, python2-sympy): Update to 1.0.
> [propagated-inputs]: Add python-mpmath.
LGTM!
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] gnu: Add python-mpmath.
2017-01-12 15:35 ` Ludovic Courtès
@ 2017-01-12 17:29 ` Marius Bakke
0 siblings, 0 replies; 7+ messages in thread
From: Marius Bakke @ 2017-01-12 17:29 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 497 bytes --]
Ludovic Courtès <ludo@gnu.org> writes:
> Marius Bakke <mbakke@fastmail.com> skribis:
>
>> * gnu/packages/python.scm (python-mpmath, python2-mpmath): New variables.
>
> LGTM!
>
> BTW, as noted in ‘HACKING’, feel free to push such non-controversial
> changes once people have been given enough time to speak up.
Ok, thanks for the reminder! This was needed for the 'python-tests'
branch and have already been pushed there ;-)
I'll start working on that again ASAP, promise!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2017-01-12 17:29 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-15 18:14 [PATCH 0/2] python-sympy: Update to 1.0 Marius Bakke
2016-12-15 18:14 ` [PATCH 1/2] gnu: Add python-mpmath Marius Bakke
2017-01-12 15:35 ` Ludovic Courtès
2017-01-12 17:29 ` Marius Bakke
2016-12-15 18:14 ` [PATCH 2/2] gnu: python-sympy: Update to 1.0 Marius Bakke
2017-01-12 15:35 ` Ludovic Courtès
2016-12-16 10:25 ` [PATCH 0/2] " Hartmut Goebel
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.