Skip to content

Commit

Permalink
Remove boilerplate and rename class
Browse files Browse the repository at this point in the history
  • Loading branch information
aidanheerdegen committed Jan 30, 2023
1 parent 27a971f commit c709287
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions packages/mom5/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,12 @@
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

# ----------------------------------------------------------------------------
# If you submit this package back to Spack as a pull request,
# please first remove this boilerplate and all FIXME comments.
#
# This is a template package file for Spack. We've put "FIXME"
# next to all the things you'll want to change. Once you've handled
# them, you can save this file and test your package like this:
#
# spack install mom5-git
#
# You can edit this file again by typing:
#
# spack edit mom5-git
#
# See the Spack documentation for more information on packaging.
# ----------------------------------------------------------------------------

from spack.package import *
from spack.util.executable import which

class Mom5Git(CMakePackage):
class Mom5(CMakePackage):
"""FIXME: Put a proper description of your package here."""

# FIXME: Add a proper url for your package's homepage here.
homepage = "https://mom-ocean.github.io"
git = "https://github.com/ACCESS-NRI/MOM5.git"

Expand All @@ -36,7 +18,6 @@ class Mom5Git(CMakePackage):

variant("netcdf", default=True, description="enable netcdf interface")

# FIXME: Add dependencies if required.
depends_on("mpi")
depends_on("netcdf-c", type="link", when="+netcdf")
depends_on("netcdf-fortran", type="link", when="+netcdf")
Expand Down

0 comments on commit c709287

Please sign in to comment.