Skip to content

Commit

Permalink
Add py-pyyaml to neptune-env, remove invalid Python variant from nept…
Browse files Browse the repository at this point in the history
…une-env and add esmf+python to neptune-python-env
  • Loading branch information
climbfuji committed Oct 16, 2024
1 parent e9a1462 commit d6641e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spack-ext/repos/spack-stack/packages/neptune-env/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ class NeptuneEnv(BundlePackage):
depends_on("ip@5:", type="run", when="%gcc")
depends_on("ip@5:", type="run", when="%intel")
depends_on("ip@5:", type="run", when="%oneapi")
depends_on("esmf +python", when="+python", type="run")
depends_on("esmf ~python", when="~python", type="run")
depends_on("esmf", type="run")
depends_on("nco", type="run")
depends_on("mct", type="run")

Expand All @@ -48,5 +47,6 @@ class NeptuneEnv(BundlePackage):
# Basic Python dependencies that are always needed
depends_on("py-f90nml", type="run")
depends_on("py-python-dateutil", type="run")
depends_on("py-pyyaml", type="run")

# There is no need for install() since there is no code.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ class NeptunePythonEnv(BundlePackage):
variant("xnrl", default=False, description="Build non-pulic XNRL")

depends_on("neptune-env", type="run")
# Enable the Python variant for ESMF
depends_on("esmf +python", type="run")

depends_on("py-h5py", type="run")
depends_on("py-netcdf4", type="run")
Expand Down

0 comments on commit d6641e4

Please sign in to comment.