summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-ipywidgets/package.py
blob: 103b928e12918d74e0adf36d272b6d5e7dd438ae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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 PyIpywidgets(PythonPackage):
    """IPython widgets for the Jupyter Notebook"""

    homepage = "https://github.com/ipython/ipywidgets"
    url      = "https://github.com/ipython/ipywidgets/archive/5.2.2.tar.gz"

    version('5.2.2', '112f3daa4aa0f42f8dda831cea3649c8')

    depends_on('python@2.7:2.8,3.3:')
    depends_on('py-ipython@4.0.0:', type=('build', 'run'))
    depends_on('py-ipykernel@4.2.2:', type=('build', 'run'))
    depends_on('py-traitlets@4.2.1:', type=('build', 'run'))