Skip to content

Instantly share code, notes, and snippets.

@jonas-eschle
Created July 28, 2023 17:49
Show Gist options
  • Save jonas-eschle/745f4e8aa84396da56a52e2d22e3f6cb to your computer and use it in GitHub Desktop.
Save jonas-eschle/745f4e8aa84396da56a52e2d22e3f6cb to your computer and use it in GitHub Desktop.
zfit for spack
# Copyright 2013-2023 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)
# ----------------------------------------------------------------------------
# If you submit this package back to Spack as a pull request,
# please first remove this boilerplate and all FIXME comments.
#
# This is a template package file for Spack. We've put "FIXME"
# next to all the things you'll want to change. Once you've handled
# them, you can save this file and test your package like this:
#
# spack install py-zfit
#
# You can edit this file again by typing:
#
# spack edit py-zfit
#
# See the Spack documentation for more information on packaging.
# ----------------------------------------------------------------------------
from spack.package import *
class PyZfit(PythonPackage):
"""Likelihood fitting library with extended model building capabilities."""
maintainers("jonas-eschle")
homepage = "https://github.com/zfit/zfit"
pypi = "zfit/zfi-0.15.5.tar.gz"
version("0.15.5", sha256="00a1138429e8a7f830c9e229b9c0bcd6071b95dadd8c87eb81191079fb679225", expand=False)
depends_on("python@3.8:", type=("build", "run"))
depends_on("py-setuptools@42:", type=("build", "run"))
depends_on("py-setuptools-scm@3.4:+toml", type="build")
depends_on("py-colorama", when="platform=windows", type=("build", "run"))
depends_on("py-attrs", type="run")
depends_on("py-boost-histogram", type="run")
depends_on("py-colorama", type="run")
depends_on("py-colored", type="run")
depends_on("py-colorlog", type="run")
depends_on("py-deprecated", type="run")
depends_on("py-dill", type="run")
depends_on("py-dotmap", type="run")
depends_on("py-frozendict", type="run")
depends_on("py-hist", type="run")
depends_on("py-iminuit@2.3:", type="run")
depends_on("py-jacobi", type="run")
depends_on("py-numdifftools", type="run")
depends_on("py-numpy@1.16:", type="run")
depends_on("py-ordered-set", type="run")
depends_on("py-pandas", type="run")
depends_on("py-pydantic@1.0:1", type="run")
depends_on("py-pyyaml", type="run")
depends_on("py-scipy@1.2:", type="run")
depends_on("py-tabulate", type="run")
depends_on("py-tensorflow@2.13:2.14", type="run")
depends_on("py-tensorflow_probability@0.20:0.22", type="run")
depends_on("py-texttable", type="run")
depends_on("py-typing_extensions", type="run")
depends_on("py-uhi", type="run")
depends_on("py-uproot@4:5", type="run")
depends_on("py-xxhash", type="run")
depends_on("py-zfit-interface", type="run")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment