summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAxel Huebl <axel.huebl@plasma.ninja>2024-04-30 15:26:35 -0700
committerGitHub <noreply@github.com>2024-04-30 15:26:35 -0700
commitde5b4840e96bb026bf9c0a2f0d4114b15c0697df (patch)
tree217bbdfc100c688f07b3c3ded62416d1cc953588 /var
parent20f9884445fc8fc23fdf6ea32f61f0a69f79121f (diff)
downloadspack-de5b4840e96bb026bf9c0a2f0d4114b15c0697df.tar.gz
spack-de5b4840e96bb026bf9c0a2f0d4114b15c0697df.tar.bz2
spack-de5b4840e96bb026bf9c0a2f0d4114b15c0697df.tar.xz
spack-de5b4840e96bb026bf9c0a2f0d4114b15c0697df.zip
Add quantiphy (#43894)
* Add quanitphy Add https://github.com/KenKundert/quantiphy . * Simplify Version Range
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-quantiphy/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-quantiphy/package.py b/var/spack/repos/builtin/packages/py-quantiphy/package.py
new file mode 100644
index 0000000000..528ce4dc5b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-quantiphy/package.py
@@ -0,0 +1,22 @@
+# Copyright 2013-2024 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 PyQuantiphy(PythonPackage):
+ """physical quantities (numbers with units)"""
+
+ homepage = "https://quantiphy.readthedocs.io"
+ pypi = "quantiphy/quantiphy-2.20.tar.gz"
+
+ maintainers("ax3l")
+
+ license("MIT", checked_by="ax3l")
+
+ version("2.20", sha256="ba5375ac55c3b90077a793588dd5a88aaf81b2c3b0fc9c9359513ac39f6ed84d")
+
+ depends_on("python@3.6:", type=("build", "run"))
+ depends_on("py-flit-core@2:3", type=("build"))