summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorErik Heeren <erik.heeren@epfl.ch>2023-03-08 13:13:30 +0100
committerGitHub <noreply@github.com>2023-03-08 07:13:30 -0500
commit0d4f9b26b86a16ad3d39e212c6bcff8c904602ec (patch)
tree133d843b28843543bf7d45f9afeb73d5b103ecf5 /var
parent87c21a58d185edfdbadb2f5aad342149687a71c8 (diff)
downloadspack-0d4f9b26b86a16ad3d39e212c6bcff8c904602ec.tar.gz
spack-0d4f9b26b86a16ad3d39e212c6bcff8c904602ec.tar.bz2
spack-0d4f9b26b86a16ad3d39e212c6bcff8c904602ec.tar.xz
spack-0d4f9b26b86a16ad3d39e212c6bcff8c904602ec.zip
py-parse-type: new package (#35909)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-parse-type/package.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-parse-type/package.py b/var/spack/repos/builtin/packages/py-parse-type/package.py
new file mode 100644
index 0000000000..5a48037ba7
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-parse-type/package.py
@@ -0,0 +1,18 @@
+# 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 PyParseType(PythonPackage):
+ """parse_type extends the parse module (opposite of string.format())."""
+
+ homepage = "https://github.com/jenisys/parse_type"
+ pypi = "parse-type/parse_type-0.6.0.tar.gz"
+
+ version("0.6.0", sha256="20b43c660e48ed47f433bce5873a2a3d4b9b6a7ba47bd7f7d2a7cec4bec5551f")
+
+ depends_on("py-setuptools", type="build")
+ depends_on("py-parse@1.18.0:", type=("build", "run"))
+ depends_on("py-six@1.11:", type=("build", "run"))