Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial package for dummygrib #84

Merged
merged 2 commits into from
Mar 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions packages/dummygrib/package.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# Copyright 2024 ACCESS-NRI
# Based on https://github.com/coecms/access-esm-build-gadi/blob/master/Makefile
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack.package import *


class Dummygrib(MakefilePackage):
"""
dummygrib is a Dummy GRIB library to use with the Met Office Unified Model.
"""

homepage = "https://github.com/coecms/dummygrib"
git = "https://github.com/coecms/dummygrib.git"

maintainers("penguian")

version("1.0", branch="master")


def install(self, spec, prefix):

# Install the library
mkdirp(prefix.lib)
install(
"libdummygrib.a",
join_path(prefix.lib, "libdummygrib.a"))

Loading