File indexing completed on 2025-11-01 07:57:23
0001
0002
0003
0004
0005
0006 from spack.package import *
0007
0008 try:
0009 import spack.llnl.class='include' href="/lxr/source/include/gsl/util/">util.tty as tty
0010 except:
0011 import llnl.class='include' href="/lxr/source/include/gsl/util/">util.tty as tty
0012
0013 class Pyrobird(PythonPackage):
0014 """Phoenix based event display."""
0015
0016 homepage = "https://eic.github.io/firebird/"
0017 pypi = "pyrobird/pyrobird-0.1.23.tar.gz"
0018 git = "https://github.com/eic/firebird.git"
0019
0020 maintainers("wdconinc")
0021
0022 license("LGPL-3.0-or-later", checked_by="wdconinc")
0023
0024 version("0.1.23", sha256="ebc122af0b574e6f1a10831c9577084335c6674ca9c5b6fcb58b4ed26ea72c59")
0025
0026 variant("test", default=False, description="Enable test functionality")
0027 variant("batch", default=False, description="Enable batch functionality")
0028 variant("xrootd", default=False, description="Enable XRootD functionality")
0029
0030 depends_on("py-hatchling", type="build")
0031 depends_on("py-click", type=("build", "run"))
0032 depends_on("py-rich", type=("build", "run"))
0033 depends_on("py-pyyaml", type=("build", "run"))
0034 depends_on("py-flask", type=("build", "run"))
0035 depends_on("py-flask-cors", type=("build", "run"))
0036 depends_on("py-flask-compress@1.8:", type=("build", "run"))
0037 depends_on("py-json5", type=("build", "run"))
0038 depends_on("py-uproot", type=("build", "run"))
0039 depends_on("py-pytest", type=("build", "run"), when="+test")
0040 depends_on("py-pyppeteer", type=("build", "run"), when="+batch")
0041 depends_on("py-fsspec-xrootd", type=("build", "run"), when="+xrootd")
0042 depends_on("xrootd +python", type=("build", "run"), when="+xrootd")
0043
0044 @when("@:0.1.23")
0045 @run_before("install")
0046 def fix_link(self):
0047 symlink(self.build_directory, join_path(self.build_directory, "src"))