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