spack/var/spack/repos/builtin/packages/py-jupyter-notebook/package.py
ajw1980 40121eddd9 Py-jupyter package: dependency fixes (#10966)
* py-prompt-toolkit: Add newer version for required for newer
  py-ipython versions
* py-ipykernel:
  * Add newer py-ipykernel version
  * Depend on py-setuptools so a python egg isn't attempted to be
    built
  * Update dependency for newer py-ipykernel versions
* py-jupyter-console: Remove py-prompt-toolkit dependency since it is
  picked up in py-ipython
* py-ipython:
  * Add missing py-backcall dependency
  * Adjust py-prompt-toolkit dependencies for newer versions of
    ipython
* py-jupyter-notebook: Require newer version of py-ipykernel since
  jupyter is broken with previous versions
2019-03-26 15:05:39 -05:00

44 lines
1.9 KiB
Python

# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class PyJupyterNotebook(PythonPackage):
"""Jupyter Interactive Notebook"""
homepage = "https://github.com/jupyter/notebook"
url = "https://github.com/jupyter/notebook/archive/4.2.3.tar.gz"
version('4.2.3', '5c6b0b1303adacd8972c4db21eda3e98')
version('4.2.2', '7f9717ae4fed930d187a44c0707b6379')
version('4.2.1', '4286f1eaf608257bd69cad4042c7c2fe')
version('4.2.0', '136be6b72fe9db7f0269dc7fa5652a62')
version('4.1.0', '763ab54b3fc69f6225b9659b6994e756')
version('4.0.6', 'd70d8a6d01893f4b64df9edbc0e13b52')
version('4.0.5', '2681a70e4c62aafe7ce69f1da5799ac8')
version('4.0.4', 'ab72f28f6af8107d71241a4110e92c05')
version('4.0.3', '119beea793865ee4b1673a50043ead2a')
version('4.0.2', '77f371e9a23a840d14d8a60fee7ba1b7')
variant('terminal', default=False, description="Enable terminal functionality")
depends_on('python@2.7:2.8,3.3:')
depends_on('npm', type='build')
depends_on('node-js', type=('build', 'run'))
depends_on('py-jinja2', type=('build', 'run'))
depends_on('py-tornado@4:', type=('build', 'run'))
depends_on('py-ipython-genutils', type=('build', 'run'))
depends_on('py-traitlets', type=('build', 'run'))
depends_on('py-jupyter-core', type=('build', 'run'))
depends_on('py-jupyter-client', type=('build', 'run'))
depends_on('py-jupyter-console', type=('build', 'run'))
depends_on('py-nbformat', type=('build', 'run'))
depends_on('py-nbconvert', type=('build', 'run'))
depends_on('py-ipykernel', type=('build', 'run'))
depends_on('py-ipykernel@5.1.0:', when='@4.2.0:', type=('build', 'run'))
depends_on('py-terminado@0.3.3:', when="+terminal", type=('build', 'run'))
depends_on('py-ipywidgets', when="+terminal", type=('build', 'run'))