summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-typeguard/package.py
blob: b8765f4ec05de60b93e9cf5437ef36cd76debdbc (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
# Copyright 2013-2020 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)


class PyTypeguard(PythonPackage):
    """
    Run-time type checker for Python
    """

    homepage = "https://github.com/agronholm/typeguard"
    pypi     = "typeguard/typeguard-2.12.1.tar.gz"

    version('2.12.1', sha256='c2af8b9bdd7657f4bd27b45336e7930171aead796711bc4cfc99b4731bb9d051')

    depends_on('python@3.5.3:', type=('build', 'run'))
    depends_on('py-setuptools', type='build')
    depends_on('py-sphinx-rtd-theme', type='build')
    depends_on('py-sphinx-autodoc-typehints', type='build')
    depends_on('py-pytest', type=('test', 'run'))
    depends_on('py-typing-extensions', type=('test', 'run'))
    depends_on('py-mypy', type=('test', 'run'))