summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorChristopher Christofi <77968333+ChristopherChristofi@users.noreply.github.com>2023-12-01 13:29:30 +0000
committerGitHub <noreply@github.com>2023-12-01 07:29:30 -0600
commit6130fe8f5741ab7ec8a106da99ededa09980d502 (patch)
tree3ce4489dfd50aeffbc32961eea0ff562ca933d6d /var
parentd3aa7a620eca58abd854101daefdee23a88c782b (diff)
downloadspack-6130fe8f5741ab7ec8a106da99ededa09980d502.tar.gz
spack-6130fe8f5741ab7ec8a106da99ededa09980d502.tar.bz2
spack-6130fe8f5741ab7ec8a106da99ededa09980d502.tar.xz
spack-6130fe8f5741ab7ec8a106da99ededa09980d502.zip
py-beartype: new package with versions 0.15.0 and 0.16.2 (#39759)
* py-beartype: new package with version 0.15.0 * Update var/spack/repos/builtin/packages/py-beartype/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * py-beartype: depend on python 3.8 or higher * py-beartype: add new version 0.16.2 --------- Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-beartype/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-beartype/package.py b/var/spack/repos/builtin/packages/py-beartype/package.py
new file mode 100644
index 0000000000..beac11d20f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-beartype/package.py
@@ -0,0 +1,20 @@
+# 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 PyBeartype(PythonPackage):
+ """Unbearably fast near-real-time hybrid runtime-static type-checking in pure Python."""
+
+ homepage = "https://beartype.readthedocs.io/"
+ pypi = "beartype/beartype-0.15.0.tar.gz"
+
+ version("0.16.2", sha256="47ec1c8c3be3f999f4f9f829e8913f65926aa7e85b180d9ffd305dc78d3e7d7b")
+ version("0.15.0", sha256="2af6a8d8a7267ccf7d271e1a3bd908afbc025d2a09aa51123567d7d7b37438df")
+
+ # See PYTHON_VERSION_MIN in beartype/meta.py
+ depends_on("python@3.8:", type=("build", "run"))
+ depends_on("py-setuptools@:49,50.1:", type="build")