summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-typesentry/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-typesentry/package.py b/var/spack/repos/builtin/packages/py-typesentry/package.py
new file mode 100644
index 0000000000..5e17a26188
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-typesentry/package.py
@@ -0,0 +1,20 @@
+# Copyright 2013-2019 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-colorama@0.3.0:', type=('build', 'run'))