summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-dadi/package.py
blob: 0b360b23af83235e4673f770f381d52e7892936e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 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"))