aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2016-09-01 23:23:46 +0300
committerEfraim Flashner <efraim@flashner.co.il>2016-09-02 06:44:37 +0300
commit135ba811c6f55c22bfa8969143d83e7fdf166763 (patch)
treeec8c0740f37fc4be7c2188a0b290c9d488222bed /gnu/packages
parentfc1a170e65d721ed4cea35fdd4752678c21d5741 (diff)
downloadguix-135ba811c6f55c22bfa8969143d83e7fdf166763.tar
guix-135ba811c6f55c22bfa8969143d83e7fdf166763.tar.gz
gnu: python2-ipython: Use strip-python2-variant.
* gnu/packages/python.scm (python2-ipython): Inherit using strip-python2-variant. [propagated-inputs]: Remove work-around for python2-terminado. [inputs]: Remove work-around for python2-jsonschema, python2-matplotlib, python2-numpy, python2-requests. (python-inputs)[properties]: New field.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python.scm19
1 files changed, 5 insertions, 14 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 6e2c865f0e..8b52548065 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4387,29 +4387,20 @@ without using the configuration machinery.")
Powerful interactive shells, a browser-based notebook, support for interactive
data visualization, embeddable interpreters and tools for parallel
computing.")
- (license license:bsd-3)))
+ (license license:bsd-3)
+ (properties `((python2-variant . ,(delay python2-ipython))))))
(define-public python2-ipython
- (let ((ipython (package-with-python2 python-ipython)))
+ (let ((ipython (package-with-python2 (strip-python2-variant python-ipython))))
(package
(inherit ipython)
;; FIXME: some tests are failing
(arguments
`(#:tests? #f ,@(package-arguments ipython)))
- ;; Make sure we use custom python2-NAME packages.
;; FIXME: add pyreadline once available.
- (propagated-inputs
- `(("python2-terminado" ,python2-terminado)
- ,@(alist-delete "python-terminado"
- (package-propagated-inputs ipython))))
(inputs
- `(("python2-jsonschema" ,python2-jsonschema)
- ("python2-mock" ,python2-mock)
- ("python2-matplotlib" ,python2-matplotlib)
- ("python2-numpy" ,python2-numpy)
- ("python2-requests" ,python2-requests)
- ,@(fold alist-delete (package-inputs ipython)
- '("python-jsonschema" "python-matplotlib" "python-numpy" "python-requests")))))))
+ `(("python2-mock" ,python2-mock)
+ ,@(package-inputs ipython))))))
(define-public python-isodate
(package