summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorDesmond Orton <odesmond21@gmail.com>2020-12-11 03:26:01 -0600
committerGitHub <noreply@github.com>2020-12-11 10:26:01 +0100
commitea7d14af108b8ee7a58b7adc6b4a6d6e18d957fa (patch)
tree4a5b40124acd2e19ced8e5dfd7a2fea26b514e9f /var
parent9721e0fdec0502b50b89770229fa426ffc0c7835 (diff)
downloadspack-ea7d14af108b8ee7a58b7adc6b4a6d6e18d957fa.tar.gz
spack-ea7d14af108b8ee7a58b7adc6b4a6d6e18d957fa.tar.bz2
spack-ea7d14af108b8ee7a58b7adc6b4a6d6e18d957fa.tar.xz
spack-ea7d14af108b8ee7a58b7adc6b4a6d6e18d957fa.zip
py-dadi: added new package at v2020-12-02 (#20314)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-dadi/package.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-dadi/package.py b/var/spack/repos/builtin/packages/py-dadi/package.py
new file mode 100644
index 0000000000..2189ff4e4e
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-dadi/package.py
@@ -0,0 +1,27 @@
+# Copyright 2013-2020 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 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"
+ url = "https://files.pythonhosted.org/packages/ef/2d/b8636392a28b5d7fe2665a15ab9899651ed7e2af7264c8685e648371aa5c/dadi-2.1.0.tar.gz"
+
+ maintainers = ['dorton21']
+
+ version('2020-12-02', commit='047bac0')
+ 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'))