summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-pyomo/package.py27
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'))