summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-nbdime/package.py
blob: 40dfb56fd492cad2118685d55a60fe8b4036418f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 2013-2022 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.package import *


class PyNbdime(PythonPackage):
    """Diff and merge of Jupyter Notebooks"""

    homepage = "https://nbdime.readthedocs.io/"
    pypi     = "nbdime/nbdime-3.1.1.tar.gz"

    version('3.1.1', sha256='67767320e971374f701a175aa59abd3a554723039d39fae908e72d16330d648b')

    depends_on('python@3.6:',        type=('build', 'run'))
    depends_on('py-setuptools@40.8.0:',            type='build')
    depends_on('py-nbformat',        type=('build', 'run'))
    depends_on('py-colorama',        type=('build', 'run'))
    depends_on('py-pygments',        type=('build', 'run'))
    depends_on('py-tornado',         type=('build', 'run'))
    depends_on('py-requests',        type=('build', 'run'))
    depends_on('py-gitpython@:2.1.3,2.1.7:',       type=('build', 'run'))
    depends_on('py-jupyter-server',  type=('build', 'run'))
    depends_on('py-jupyter-server-mathjax@0.2.2:', type=('build', 'run'))
    depends_on('py-jinja2@2.9:',     type=('build', 'run'))
    # From pyproject.toml
    depends_on('py-jupyterlab@3.0:3', type=('build', 'run'))
    depends_on('py-wheel',            type='build')