# 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) from spack.package import * class PyDadi(PythonPackage): """Fit population genetic models of demography and selection using diffusion approximations to the allele frequency spectrum""" homepage = "https://bitbucket.org/gutenkunstlab/dadi/src/master/" git = "https://bitbucket.org/gutenkunstlab/dadi.git" pypi = "dadi/dadi-2.1.0.tar.gz" maintainers("dorton21") license("BSD-3-Clause") version("2020-12-02", commit="047bac0db5245009d9c724e91a851149c34c9de0") version("2.1.0", sha256="97a15aa7ef501850cad4cff66b11b66ecb65d5d68acbf2ff713585c81c3a1038") depends_on("py-setuptools", type=("build")) depends_on("python@3:", type=("build", "run")) depends_on("py-scipy", type=("build", "run")) depends_on("py-numpy", type=("build", "run")) depends_on("py-matplotlib", type=("build", "run")) depends_on("nlopt", type=("build", "run"))