summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-typesentry/package.py
blob: 3a654c1935abdccbf3f97c5114a1c09698d3de14 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright 2013-2023 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 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"

    license("Apache-2.0")

    # 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"))