summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-typesentry/package.py
blob: d02f615758e4a7b58599ff167209df5ddc291eb5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2013-2021 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 PyTypesentry(PythonPackage):
    """Python library for run-time type checking for type-annotated functions.
    """

    homepage = "https://github.com/h2oai/typesentry"
    git = "https://github.com/h2oai/typesentry.git"

    # See the git history of __version__.py for versioning information
    version('0.2.7', commit='0ca8ed0e62d15ffe430545e7648c9a9b2547b49c')

    depends_on('py-setuptools', type='build')
    depends_on('py-colorama@0.3.0:', type=('build', 'run'))