diff options
author | Vicente Bolea <vicente.bolea@kitware.com> | 2022-09-14 20:05:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-14 17:05:02 -0700 |
commit | dde5867d15a1a286e3f9b867c11b32416293be7e (patch) | |
tree | 7e883b087f20fa28d5695599bc72480205510dd2 | |
parent | deca34676ff7ea272bb299589b5ae4b499999b32 (diff) | |
download | spack-dde5867d15a1a286e3f9b867c11b32416293be7e.tar.gz spack-dde5867d15a1a286e3f9b867c11b32416293be7e.tar.bz2 spack-dde5867d15a1a286e3f9b867c11b32416293be7e.tar.xz spack-dde5867d15a1a286e3f9b867c11b32416293be7e.zip |
libcatalyst: use git instead of fixed urls (#32642)
The issue is that we are not not able to install (Fetch URL error) any
version of catalyst other than the specified in the spack package.py.
This very version is accessible only because it is cached by Spack. The
real URL does not exist anymore, I believe the reason is that there used
to be a tag in catalyst that does not exist anymore.
-rw-r--r-- | var/spack/repos/builtin/packages/libcatalyst/package.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/var/spack/repos/builtin/packages/libcatalyst/package.py b/var/spack/repos/builtin/packages/libcatalyst/package.py index 7a25ec816a..5bf1fe4f8f 100644 --- a/var/spack/repos/builtin/packages/libcatalyst/package.py +++ b/var/spack/repos/builtin/packages/libcatalyst/package.py @@ -11,14 +11,12 @@ class Libcatalyst(CMakePackage): scientific data producers) to analyze and visualize data in situ.""" homepage = "https://gitlab.kitware.com/paraview/catalyst" - url = "https://gitlab.kitware.com/paraview/catalyst/-/archive/{0}/catalyst-{0}.tar.bz2" + git = "https://gitlab.kitware.com/paraview/catalyst.git" maintainers = ["mathstuf"] # master as of 2021-05-12 - version( - "2021-05-12", sha256="5a01f12b271d9d9e9b89f31d45a5f4b8426904483639d38754893adfd3547bab" - ) + version("2021-05-12", commit="8456ccd6015142b5a7705f79471361d4f5644fa7") variant("mpi", default=False, description="Enable MPI support") variant("python3", default=False, description="Enable Python3 support") @@ -28,10 +26,6 @@ class Libcatalyst(CMakePackage): # TODO: catalyst doesn't support an external conduit # depends_on('conduit') - def url_for_version(self, version): - _urlfmt = self.url - return _urlfmt.format(version) - def cmake_args(self): """Populate cmake arguments for libcatalyst.""" args = [ |