diff options
author | Justin S <3630356+codeandkey@users.noreply.github.com> | 2019-07-26 10:38:25 -0500 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2019-07-26 10:38:25 -0500 |
commit | e2d16429aef1263b1ec112232f3cc4fdf045d304 (patch) | |
tree | bc022ea1360338cffe7c43e8e91afad860738ec1 | |
parent | 9caba3e0720064aff30525c322fa7a88ad6c6904 (diff) | |
download | spack-e2d16429aef1263b1ec112232f3cc4fdf045d304.tar.gz spack-e2d16429aef1263b1ec112232f3cc4fdf045d304.tar.bz2 spack-e2d16429aef1263b1ec112232f3cc4fdf045d304.tar.xz spack-e2d16429aef1263b1ec112232f3cc4fdf045d304.zip |
py-pyomo: new package at 5.6.6 (#12134)
* py-pyomo: new package at 5.6.6
* py-pyomo: add missing deps, python constraint
-rw-r--r-- | var/spack/repos/builtin/packages/py-pyomo/package.py | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pyomo/package.py b/var/spack/repos/builtin/packages/py-pyomo/package.py new file mode 100644 index 0000000000..c39491f633 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pyomo/package.py @@ -0,0 +1,27 @@ +# 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 PyPyomo(PythonPackage): + """Pyomo is a Python-based open-source software package that supports a + diverse set of optimization capabilities for formulating and analyzing + optimization models.""" + + homepage = "https://github.com/Pyomo/pyomo" + url = "https://github.com/Pyomo/pyomo/archive/5.6.6.tar.gz" + + version('5.6.6', sha256='9330956b9fb244351ce76aaaf88688b5bdd03eebb122020cbee7b46e198a4110') + + depends_on('python@2.7:2.9,3.4:', type=('build', 'run')) + + depends_on('py-setuptools', type='build') + depends_on('py-cython', type='build') + + depends_on('py-appdirs', type=('build', 'run')) + depends_on('py-pyutilib@5.7.1:', type=('build', 'run')) + depends_on('py-ply', type=('build', 'run')) + depends_on('py-six@1.4:', type=('build', 'run')) |