trilinos: update url (#32887)

This commit is contained in:
Paul Kuberry 2022-09-28 23:30:07 -06:00 committed by GitHub
parent d6d40919b2
commit 31d54da198
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ class Trilinos(CMakePackage, CudaPackage, ROCmPackage):
"""
homepage = "https://trilinos.org/"
url = "https://github.com/trilinos/Trilinos/archive/trilinos-release-12-12-1.tar.gz"
url = "https://github.com/trilinos/Trilinos/archive/refs/tags/trilinos-release-12-12-1.tar.gz"
git = "https://github.com/trilinos/Trilinos.git"
maintainers = ["keitat", "sethrj", "kuberry"]
@ -481,7 +481,7 @@ def flag_handler(self, name, flags):
return (flags, None, None)
def url_for_version(self, version):
url = "https://github.com/trilinos/Trilinos/archive/trilinos-release-{0}.tar.gz"
url = "https://github.com/trilinos/Trilinos/archive/refs/tags/trilinos-release-{0}.tar.gz"
return url.format(version.dashed)
def setup_dependent_run_environment(self, env, dependent_spec):