File indexing completed on 2026-03-30 07:48:31
0001
0002
0003
0004
0005
0006 from spack.package import *
0007 from spack_repo.builtin.build_systems.python import PythonPackage
0008
0009 try:
0010 import spack.llnl.class='include' href="/lxr/source/include/gsl/util/">util.tty as tty
0011 except ImportError:
0012 import llnl.class='include' href="/lxr/source/include/gsl/util/">util.tty as tty
0013
0014 class Pyrobird(PythonPackage):
0015 """Phoenix based event display."""
0016
0017 homepage = "https://eic.github.io/firebird/"
0018 pypi = "pyrobird/pyrobird-0.1.23.tar.gz"
0019 git = "https://github.com/eic/firebird.git"
0020
0021 maintainers("wdconinc")
0022
0023 license("LGPL-3.0-or-later", checked_by="wdconinc")
0024
0025 version("0.2.6", sha256="aecdfbdcf21260cfa3db3b1350a08277a83097508a9d5f406aff61a0748c97ff")
0026 version("0.2.4", sha256="e75a4d20e4c35f30d6a60ce70a64872ade8cccddf7930cb5cca771b1d8f6da1d")
0027 version("0.2.3", sha256="94115a4180a46fc0c4660c7d74c138bac32b217ebafdbff5941311d038a7e98d")
0028 version("0.2.2", sha256="b1cf4ed69da590e42466c07ea815166fecb88951166b9015c981487de236c69d")
0029 version("0.2.1", sha256="b292217eb93d03b82128eebb066dc4520ccdf30fd8f8a4bf013c6d5cc1050869")
0030 version("0.2.0", sha256="d93508812c963627c5c153ebb58c45d29eca9646b644bab138d5b79c68729536")
0031 version("0.1.27", sha256="cd359b7bb795a533aee9369a46579cb753004654883d3892c2fd76c9d4c35343")
0032 version("0.1.24", sha256="f6ab7197aacc6615024bb644b21dc8a35f9a6fb39688a59745f0ad360f82e1ce")
0033 version("0.1.23", sha256="ebc122af0b574e6f1a10831c9577084335c6674ca9c5b6fcb58b4ed26ea72c59")
0034
0035 variant("test", default=False, description="Enable test functionality")
0036 variant("batch", default=False, description="Enable batch functionality")
0037 variant("xrootd", default=False, description="Enable XRootD functionality")
0038
0039 with when("@0.2:"):
0040 depends_on("py-setuptools@61:", type="build")
0041 depends_on("py-wheel", type="build")
0042 with when("@0.1"):
0043 depends_on("py-hatchling", type="build")
0044
0045 depends_on("py-click", type=("build", "run"))
0046 depends_on("py-rich", type=("build", "run"))
0047 depends_on("py-pyyaml", type=("build", "run"))
0048 depends_on("py-flask", type=("build", "run"))
0049 depends_on("py-flask-cors", type=("build", "run"))
0050 depends_on("py-flask-compress@1.8:", type=("build", "run"))
0051 depends_on("py-json5", type=("build", "run"))
0052 depends_on("py-uproot", type=("build", "run"))
0053 depends_on("py-pytest", type=("build", "run"), when="+test")
0054 depends_on("py-pyppeteer", type=("build", "run"), when="+batch")
0055 depends_on("py-fsspec-xrootd", type=("build", "run"), when="+xrootd")
0056 depends_on("xrootd +python", type=("build", "run"), when="+xrootd")
0057
0058 @when("@:0.1.23")
0059 @run_before("install")
0060 def fix_link(self):
0061 symlink(self.build_directory, join_path(self.build_directory, "src"))