summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-nbmake/package.py
blob: e34b2b9d3ca02f222dd6383e7e26345c07c55e83 (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
# 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 import *


class PyNbmake(PythonPackage):
    """Pytest plugin for testing notebooks."""

    homepage = "https://github.com/treebeardtech/nbmake"
    pypi     = "nbmake/nbmake-0.5.tar.gz"

    version('0.5', sha256='da9bf1bbc377c9d1d697f99952834017c39b4983e7e482a038dec705955a8ae9')

    depends_on('python@3.6.1:3', type=('build', 'run'))
    depends_on('py-setuptools', type='build')
    depends_on('py-poetry-core@1:', type='build')
    depends_on('py-pygments@2.7.3:2', type=('build', 'run'))
    depends_on('py-ipykernel@5.4.0:5', type=('build', 'run'))
    depends_on('py-nbclient@0.3:0', type=('build', 'run'))
    depends_on('py-nbformat@5.0.8:5', type=('build', 'run'))
    depends_on('py-pathlib@1.0.1:1', when='^python@:3.3', type=('build', 'run'))
    depends_on('py-pydantic@1.7.2:1', type=('build', 'run'))
    depends_on('py-pytest@6.1.2:6', type=('build', 'run'))