diff options
author | Jen Herting <jen@herting.cc> | 2022-11-19 14:10:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-19 12:10:14 -0700 |
commit | 632b36ab5dba2a0dfe780b1b6563be96fb04eba5 (patch) | |
tree | f35c4120f9194f7c81a0c13160c294a8ff0e52e3 /var | |
parent | 94c76c5823510a8d77f9bde59f93ac045d7b49d5 (diff) | |
download | spack-632b36ab5dba2a0dfe780b1b6563be96fb04eba5.tar.gz spack-632b36ab5dba2a0dfe780b1b6563be96fb04eba5.tar.bz2 spack-632b36ab5dba2a0dfe780b1b6563be96fb04eba5.tar.xz spack-632b36ab5dba2a0dfe780b1b6563be96fb04eba5.zip |
New package: py-ahpy (#34008)
* first build of ahpy
* updated to limit python to >4
* added from spack.package import * to >4
Co-authored-by: Sid Pendelberry <sid@rit.edu>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-ahpy/package.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-ahpy/package.py b/var/spack/repos/builtin/packages/py-ahpy/package.py new file mode 100644 index 0000000000..f772b5b3d4 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-ahpy/package.py @@ -0,0 +1,22 @@ +# Copyright 2013-2022 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.package import * + + +class PyAhpy(PythonPackage): + """AHPy is an implementation of the Analytic Hierarchy Process (AHP), a + method used to structure, synthesize and evaluate the elements of a + decision problem.""" + + homepage = "https://github.com/PhilipGriffith/AHPy" + pypi = "ahpy/ahpy-2.0.tar.gz" + + version("2.0", sha256="f0af7b81b51466a055778d84f64c98f5cc3e1ba34aaeaedc48ba0b91008e40e3") + + depends_on("python@3.7:3", type=("build", "run")) + depends_on("py-setuptools", type="build") + depends_on("py-numpy", type=("build", "run")) + depends_on("py-scipy", type=("build", "run")) |