Skip to content

Commit

Permalink
ISSM:
Browse files Browse the repository at this point in the history
- Change to git address. Added url_for_version function
- Add url_for_version function
- Add release version
  • Loading branch information
aidanheerdegen committed Nov 28, 2024
1 parent 512b0e0 commit 47ae691
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/issm/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ class Issm(AutotoolsPackage):
"""Ice-sheet and Sea-Level System Model"""

homepage = "https://issm.jpl.nasa.gov/"
svn = "https://issm.ess.uci.edu/svn/issm/issm/trunk"
git = "https://github.com/ISSMteam/ISSM.git"

version("develop")
version("4.24", sha256="0487bd025f37be4a39dfd48b047de6a6423e310dfe5281dbd9a52aa35b26151a")

depends_on("autoconf", type="build")
depends_on("automake", type="build")
Expand All @@ -25,6 +26,11 @@ class Issm(AutotoolsPackage):
depends_on("petsc+metis+mumps+scalapack")
depends_on("m1qn3")

def url_for_version(self, version):
url = "https://github.com/ISSMteam/ISSM/archive/refs/tags/v{0}.tar.gz".format(version)
return url


def autoreconf(self, spec, prefix):
autoreconf("--install", "--verbose", "--force")

Expand Down

0 comments on commit 47ae691

Please sign in to comment.