summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSangu Mbekelu <60823467+sm2939@users.noreply.github.com>2023-02-09 22:57:42 -0500
committerGitHub <noreply@github.com>2023-02-09 19:57:42 -0800
commit4fbbb239338ded9a6e2c1834765e8393281a3f40 (patch)
treee469b22a299d12fc87190bbbff5d11237dc140fd
parentb35af7d9e7c6aa3aee30e6d55366c5a6689e8e5f (diff)
downloadspack-4fbbb239338ded9a6e2c1834765e8393281a3f40.tar.gz
spack-4fbbb239338ded9a6e2c1834765e8393281a3f40.tar.bz2
spack-4fbbb239338ded9a6e2c1834765e8393281a3f40.tar.xz
spack-4fbbb239338ded9a6e2c1834765e8393281a3f40.zip
new ampltools package (#35357)
* new ampltools package * [@spackbot] updating style on behalf of sm2939 * Update and rename var/spack/repos/builtin/py-ampltools/package.py to var/spack/repos/builtin/packages/py-ampltools/package.py Edited file to change copyright year/dependencies and edited directory --------- Co-authored-by: Sangu Mbekelu <s.mbekelu9@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/py-ampltools/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-ampltools/package.py b/var/spack/repos/builtin/packages/py-ampltools/package.py
new file mode 100644
index 0000000000..6174f78605
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-ampltools/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2023 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 PyAmpltools(PythonPackage):
+ """This package includes tools to use with AMPL and amplpy."""
+
+ homepage = "https://ampl.com/"
+ pypi = "ampltools/ampltools-0.4.6.tar.gz"
+
+ version("0.4.6", sha256="d54b399c1d78d02e3f4023aa2335b57832deb7d31cdefe4e219e4f2a2bb19a83")
+
+ depends_on("py-requests", type=("build", "run"))
+ depends_on("py-setuptools", type="build")