summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hudson <shudson@anl.gov>2020-11-11 10:45:16 -0600
committerGitHub <noreply@github.com>2020-11-11 10:45:16 -0600
commit56df3fcbaaf916c3157186fd2b2a5efb3e1531e5 (patch)
treebdca5c5d4fe020fe8b0c990d2a13135d87e8f27a
parent8edd245bb3c365745ca6fcdf9e7d6499d9083926 (diff)
downloadspack-56df3fcbaaf916c3157186fd2b2a5efb3e1531e5.tar.gz
spack-56df3fcbaaf916c3157186fd2b2a5efb3e1531e5.tar.bz2
spack-56df3fcbaaf916c3157186fd2b2a5efb3e1531e5.tar.xz
spack-56df3fcbaaf916c3157186fd2b2a5efb3e1531e5.zip
Add optional deps mpmath and deap to py-libensemble (#19852)
-rw-r--r--var/spack/repos/builtin/packages/py-libensemble/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-libensemble/package.py b/var/spack/repos/builtin/packages/py-libensemble/package.py
index e689072699..55e7b46e59 100644
--- a/var/spack/repos/builtin/packages/py-libensemble/package.py
+++ b/var/spack/repos/builtin/packages/py-libensemble/package.py
@@ -31,6 +31,8 @@ class PyLibensemble(PythonPackage):
variant('scipy', default=False, description='Install with scipy')
variant('petsc4py', default=False, description='Install with petsc4py')
variant('nlopt', default=False, description='Install with nlopt')
+ variant('mpmath', default=False, description='Install with mpmath')
+ variant('deap', default=False, description='Install with DEAP')
# depends_on('python@2.7:2.8,3.3:', when='@:0.4.1')
# depends_on('python@3.5:', when='@0.5.0:')
@@ -46,4 +48,6 @@ class PyLibensemble(PythonPackage):
depends_on('py-petsc4py', type=('build', 'run'), when='+petsc4py')
depends_on('py-petsc4py@develop', type=('build', 'run'), when='@develop+petsc4py')
depends_on('nlopt', type=('build', 'run'), when='+nlopt')
+ depends_on('py-mpmath', type=('build', 'run'), when='+mpmath')
+ depends_on('py-deap', type=('build', 'run'), when='+deap')
conflicts('~mpi', when='@:0.4.1')