summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2021-02-26 12:51:16 -0600
committerGitHub <noreply@github.com>2021-02-26 18:51:16 +0000
commita6396d61908342beb4d773cbeed4466cc8c90be1 (patch)
treeddedf1af5f0644a6097b0ea5e3dd2cee95b90f82
parent2484ed0281a09893711743517cf68479c6e6f1bc (diff)
downloadspack-a6396d61908342beb4d773cbeed4466cc8c90be1.tar.gz
spack-a6396d61908342beb4d773cbeed4466cc8c90be1.tar.bz2
spack-a6396d61908342beb4d773cbeed4466cc8c90be1.tar.xz
spack-a6396d61908342beb4d773cbeed4466cc8c90be1.zip
py-metpy: add new package (#21971)
-rw-r--r--var/spack/repos/builtin/packages/py-metpy/package.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-metpy/package.py b/var/spack/repos/builtin/packages/py-metpy/package.py
new file mode 100644
index 0000000000..f1ff65f4a6
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-metpy/package.py
@@ -0,0 +1,31 @@
+# Copyright 2013-2021 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 PyMetpy(PythonPackage):
+ """Collection of tools for reading, visualizing and performing calculations
+ with weather data."""
+
+ homepage = "https://github.com/Unidata/MetPy"
+ pypi = "MetPy/MetPy-1.0.tar.gz"
+
+ version('1.0', sha256='11b043aaa4e3d35db319e96bb9967eb9f73da653e155bca2d62f838108b100dc')
+
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-setuptools-scm', type='build')
+ depends_on('py-importlib-metadata@1.0.0:', when='^python@:3.7.999', type=('build', 'run'))
+ depends_on('py-importlib-resources@1.3.0:', when='^python@:3.8.999', type=('build', 'run'))
+ depends_on('py-matplotlib@2.1.0:', type=('build', 'run'))
+ depends_on('py-numpy@1.16.0:', type=('build', 'run'))
+ depends_on('py-pandas@0.22.0:', type=('build', 'run'))
+ depends_on('py-pint@0.10.1:', type=('build', 'run'))
+ depends_on('py-pooch@0.1:', type=('build', 'run'))
+ depends_on('py-pyproj@2.3.0:2.999', type=('build', 'run'))
+ depends_on('py-scipy@1.0:', type=('build', 'run'))
+ depends_on('py-traitlets@4.3.0:', type=('build', 'run'))
+ depends_on('py-xarray@0.14.1:', type=('build', 'run'))