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.
This commit is contained in:
Efraim Flashner 2016-09-01 23:23:46 +03:00
parent fc1a170e65
commit 135ba811c6
No known key found for this signature in database
GPG Key ID: F4C1D3917EACEE93
1 changed files with 5 additions and 14 deletions

View File

@ -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