py-hatchet: add v1.4.0 (#47222)

This commit is contained in:
Adam J. Stewart 2024-10-28 09:05:16 +01:00 committed by GitHub
parent dbab4828ed
commit e855bb011d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 89 additions and 2 deletions

View File

@ -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")

View File

@ -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")

View File

@ -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"))

View File

@ -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"))

View File

@ -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"))