summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2024-10-28 09:05:16 +0100
committerGitHub <noreply@github.com>2024-10-28 09:05:16 +0100
commite855bb011d5aa0b7dafc641382157c146b316bfd (patch)
tree8931dd4cf801c6e4b9f06e9e8db0cc5362b0bd85
parentdbab4828edbc31158605a2bbc3cc8fe25fb0973d (diff)
downloadspack-e855bb011d5aa0b7dafc641382157c146b316bfd.tar.gz
spack-e855bb011d5aa0b7dafc641382157c146b316bfd.tar.bz2
spack-e855bb011d5aa0b7dafc641382157c146b316bfd.tar.xz
spack-e855bb011d5aa0b7dafc641382157c146b316bfd.zip
py-hatchet: add v1.4.0 (#47222)
-rw-r--r--var/spack/repos/builtin/packages/py-arpeggio/package.py19
-rw-r--r--var/spack/repos/builtin/packages/py-caliper-reader/package.py19
-rw-r--r--var/spack/repos/builtin/packages/py-hatchet/package.py10
-rw-r--r--var/spack/repos/builtin/packages/py-pycubexr/package.py20
-rw-r--r--var/spack/repos/builtin/packages/py-textx/package.py23
5 files changed, 89 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-arpeggio/package.py b/var/spack/repos/builtin/packages/py-arpeggio/package.py
new file mode 100644
index 0000000000..ade277aac2
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-arpeggio/package.py
@@ -0,0 +1,19 @@
+# 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 PyArpeggio(PythonPackage):
+ """Packrat parser interpreter."""
+
+ homepage = "https://github.com/textX/Arpeggio"
+ pypi = "Arpeggio/Arpeggio-2.0.2.tar.gz"
+
+ license("MIT")
+
+ version("2.0.2", sha256="c790b2b06e226d2dd468e4fbfb5b7f506cec66416031fde1441cf1de2a0ba700")
+
+ depends_on("py-setuptools", type="build")
diff --git a/var/spack/repos/builtin/packages/py-caliper-reader/package.py b/var/spack/repos/builtin/packages/py-caliper-reader/package.py
new file mode 100644
index 0000000000..018736812a
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-caliper-reader/package.py
@@ -0,0 +1,19 @@
+# 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 PyCaliperReader(PythonPackage):
+ """A Python library for reading Caliper .cali files."""
+
+ homepage = "https://github.com/LLNL/Caliper"
+ pypi = "caliper-reader/caliper-reader-0.4.0.tar.gz"
+
+ license("BSD-3-Clause")
+
+ version("0.4.0", sha256="00c2c0165a0665dbae58579a1477cb785b3f11350f060e95a6e5ce42f02d5c37")
+
+ depends_on("py-setuptools", type="build")
diff --git a/var/spack/repos/builtin/packages/py-hatchet/package.py b/var/spack/repos/builtin/packages/py-hatchet/package.py
index d9ce43e806..3360a7b439 100644
--- a/var/spack/repos/builtin/packages/py-hatchet/package.py
+++ b/var/spack/repos/builtin/packages/py-hatchet/package.py
@@ -18,6 +18,7 @@ class PyHatchet(PythonPackage):
license("MIT")
+ version("1.4.0", sha256="9f934f128666703d30818e9a091493df1bf1819bf7445ffb35a0f46871501b55")
version("1.3.0", sha256="d77d071fc37863fdc9abc3fd9ea1088904cd98c6980a014a31e44595d2deac5e")
version("1.2.0", sha256="1d5f80abfa69d1a379dff7263908c5c915023f18f26d50b639556e2f43ac755e")
version("1.1.0", sha256="71bfa2881ef295294e5b4493acb8cce98d14c354e9ae59b42fb56a76d8ec7056")
@@ -30,9 +31,14 @@ class PyHatchet(PythonPackage):
depends_on("python@2.7:3.8", when="@:1.3.0", type=("build", "run"))
depends_on("python@2.7:", when="@1.3.1:", type=("build", "run"))
+ depends_on("py-cython", when="@1.4:", type="build")
depends_on("py-setuptools", type="build")
+ depends_on("py-pydot", type=("build", "run"))
+ depends_on("py-pyyaml", type=("build", "run"))
depends_on("py-matplotlib", type=("build", "run"))
depends_on("py-numpy", type=("build", "run"))
depends_on("py-pandas", type=("build", "run"))
- depends_on("py-pydot", type=("build", "run"))
- depends_on("py-pyyaml", type=("build", "run"))
+ depends_on("py-textx", when="@1.4:", type=("build", "run"))
+ depends_on("py-multiprocess", when="@1.4:", type=("build", "run"))
+ depends_on("py-caliper-reader", when="@1.4:", type=("build", "run"))
+ depends_on("py-pycubexr", when="@1.4:", type=("build", "run"))
diff --git a/var/spack/repos/builtin/packages/py-pycubexr/package.py b/var/spack/repos/builtin/packages/py-pycubexr/package.py
new file mode 100644
index 0000000000..63edbb2a70
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pycubexr/package.py
@@ -0,0 +1,20 @@
+# 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 PyPycubexr(PythonPackage):
+ """pyCubexR is a Python package for reading the Cube4 file format."""
+
+ homepage = "https://github.com/extra-p/pycubexr"
+ pypi = "pycubexr/pycubexr-2.0.0.tar.gz"
+
+ license("BSD-3-Clause")
+
+ version("2.0.0", sha256="03504fbbc9cbd514943e8aeb57919ad49731fe264bdbab86711bf10851276924")
+
+ depends_on("py-setuptools", type="build")
+ depends_on("py-numpy@1.18:1", type=("build", "run"))
diff --git a/var/spack/repos/builtin/packages/py-textx/package.py b/var/spack/repos/builtin/packages/py-textx/package.py
new file mode 100644
index 0000000000..03911b530e
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-textx/package.py
@@ -0,0 +1,23 @@
+# 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 PyTextx(PythonPackage):
+ """Meta-language for DSL implementation inspired by Xtext."""
+
+ homepage = "https://textx.github.io/textX/"
+ pypi = "textx/textx-4.0.1.tar.gz"
+
+ license("MIT")
+
+ version("4.0.1", sha256="84aff5c95fd2c947402fcbe83eeeddc23aabcfed3464ab84184ef193c52d831a")
+
+ depends_on("c", type="build")
+ depends_on("py-flit-core@3.8:3", type="build")
+ depends_on("python@3.8:3.12", type=("build", "run"))
+ depends_on("py-arpeggio@2:", type=("build", "run"))
+ depends_on("py-importlib-metadata", when="^python@:3.9", type=("build", "run"))