diff options
author | Sinan <sbulutw@gmail.com> | 2019-10-28 20:55:08 -0700 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2019-10-28 22:55:08 -0500 |
commit | bc930f310f0511955956b497bf96689b5f4f0ebe (patch) | |
tree | d501edaa26b34c36a04b4b769dd7a87961a242f3 | |
parent | 95e0d118be127e8a513ea82e5451750cd34bbd81 (diff) | |
download | spack-bc930f310f0511955956b497bf96689b5f4f0ebe.tar.gz spack-bc930f310f0511955956b497bf96689b5f4f0ebe.tar.bz2 spack-bc930f310f0511955956b497bf96689b5f4f0ebe.tar.xz spack-bc930f310f0511955956b497bf96689b5f4f0ebe.zip |
new package: py-cvxpy (#13478)
* new package: py-cvxpy
* improve dependency specs
-rw-r--r-- | var/spack/repos/builtin/packages/py-cvxpy/package.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-cvxpy/package.py b/var/spack/repos/builtin/packages/py-cvxpy/package.py new file mode 100644 index 0000000000..8fc146c331 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-cvxpy/package.py @@ -0,0 +1,28 @@ +# Copyright 2013-2019 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 PyCvxpy(PythonPackage): + """Convex optimization, for everyone.""" + + homepage = "https://www.cvxpy.org/index.html" + url = "https://www.pypi.io/packages/source/c/cvxpy/cvxpy-1.0.25.tar.gz" + + version('1.0.25', sha256='8535529ddb807067b0d59661dce1d9a6ddb2a218398a38ea7772328ad8a6ea13') + + depends_on('py-setuptools', type='build') + depends_on('py-nose', type='test') + + depends_on('py-numpy@1.15:', type=('build', 'run')) + depends_on('py-scipy@1.1.0:', type=('build', 'run')) + depends_on('py-ecos@2:', type=('build', 'run')) + depends_on('py-scs@1.1.3:', type=('build', 'run')) + depends_on('py-osqp@0.4.1', type=('build', 'run')) + + depends_on('py-multiprocess', type=('build', 'run')) + depends_on('py-six', type=('build', 'run')) |