gnu: Remove python2-ipykernel.

* gnu/packages/python-xyz.scm (python2-ipykernel): Remove variable.
(python-ipykernel)[properties]: Remove python2-variant.
This commit is contained in:
Ricardo Wurmus 2021-04-13 08:45:04 +02:00
parent 89f1a4a415
commit 5ce53a4d1c
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -7301,38 +7301,6 @@ (define-public python-ipykernel
("python-pytest" ,python-pytest))) ("python-pytest" ,python-pytest)))
(home-page "https://ipython.org") (home-page "https://ipython.org")
(synopsis "IPython Kernel for Jupyter") (synopsis "IPython Kernel for Jupyter")
(description
"This package provides the IPython kernel for Jupyter.")
(properties `((python2-variant . ,(delay python2-ipykernel))))
(license license:bsd-3)))
;; Version 5.x and above no longer support Python 2.
(define-public python2-ipykernel
(package
(name "python2-ipykernel")
(version "4.10.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "ipykernel" version))
(sha256
(base32 "1yzmdiy1djsszqp54jzd8ym8h4hpl67zjq83j2kxbkp0rwmlpdzf"))))
(build-system python-build-system)
(arguments
`(#:python ,python-2))
(propagated-inputs
`(("python2-ipython" ,python2-ipython)
;; imported at runtime during connect
("python2-jupyter-client" ,python2-jupyter-client)
("python2-tornado" ,python2-tornado)
("python2-traitlets" ,python2-traitlets)))
(native-inputs
`(("python2-mock" ,python2-mock)
("python2-nose" ,python2-nose)
("python2-pytest" ,python2-pytest)
("python2-pytest-cov" ,python2-pytest-cov)))
(home-page "https://ipython.org")
(synopsis "IPython Kernel for Jupyter")
(description (description
"This package provides the IPython kernel for Jupyter.") "This package provides the IPython kernel for Jupyter.")
(license license:bsd-3))) (license license:bsd-3)))