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>
This commit is contained in:
Sangu Mbekelu 2023-02-09 22:57:42 -05:00 committed by GitHub
parent b35af7d9e7
commit 4fbbb23933
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")