summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSinan <sbulutw@gmail.com>2020-08-31 02:30:22 -0700
committerGitHub <noreply@github.com>2020-08-31 11:30:22 +0200
commit3a0d273dae117fcdd56161c85972500d35962c9a (patch)
tree465919b43e07afceccea6f0d0cce414002487d0f
parent55f490b0937edc9b8fc52d82608643f5a908cc1b (diff)
downloadspack-3a0d273dae117fcdd56161c85972500d35962c9a.tar.gz
spack-3a0d273dae117fcdd56161c85972500d35962c9a.tar.bz2
spack-3a0d273dae117fcdd56161c85972500d35962c9a.tar.xz
spack-3a0d273dae117fcdd56161c85972500d35962c9a.zip
py-py6s: added new package at v1.8.0 (#18407)
Co-authored-by: Sinan81 <Sinan81@earth>
-rw-r--r--var/spack/repos/builtin/packages/py-py6s/package.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-py6s/package.py b/var/spack/repos/builtin/packages/py-py6s/package.py
new file mode 100644
index 0000000000..4afd65d000
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-py6s/package.py
@@ -0,0 +1,25 @@
+# Copyright 2013-2020 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 PyPy6s(PythonPackage):
+ """
+ A wrapper for the 6S Radiative Transfer Model to make it easy to run
+ simulations with a variety of input parameters, and to produce outputs in
+ an easily processable form.
+ """
+
+ homepage = "http://py6s.rtwilson.com/"
+ url = "https://pypi.io/packages/source/p/py6s/Py6S-1.8.0.tar.gz"
+
+ version('1.8.0', sha256='256162d2f1f558e601d4f79022c037a0051838ba307b9f4d1f5fcf0b46a0c277')
+
+ depends_on('python@3:', type=('build', 'run'), when='@1.8.0')
+ depends_on('py-setuptools', type='build')
+ depends_on('py-pysolar@0.6', type=('build', 'run'))
+ depends_on('py-matplotlib', type=('build', 'run'))
+ depends_on('py-scipy', type=('build', 'run'))