diff options
author | snehring <7978778+snehring@users.noreply.github.com> | 2022-10-03 13:42:03 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-03 11:42:03 -0700 |
commit | 6e86daf470fb42d7933859f64f3b6a1798176798 (patch) | |
tree | 48b4ee0c137a103c22c9e07cd48394764fc6d0e7 | |
parent | 25c1ef1e576df930b275684b3c2a1b672df41338 (diff) | |
download | spack-6e86daf470fb42d7933859f64f3b6a1798176798.tar.gz spack-6e86daf470fb42d7933859f64f3b6a1798176798.tar.bz2 spack-6e86daf470fb42d7933859f64f3b6a1798176798.tar.xz spack-6e86daf470fb42d7933859f64f3b6a1798176798.zip |
casper: old domain fell off, adding github repo (#32928)
-rw-r--r-- | var/spack/repos/builtin/packages/casper/package.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/casper/package.py b/var/spack/repos/builtin/packages/casper/package.py index ec7f3889d7..1eb1b7f9e4 100644 --- a/var/spack/repos/builtin/packages/casper/package.py +++ b/var/spack/repos/builtin/packages/casper/package.py @@ -14,8 +14,14 @@ class Casper(MakefilePackage): homepage = "http://best.snu.ac.kr/casper/index.php?name=main" url = "http://best.snu.ac.kr/casper/program/casper_v0.8.2.tar.gz" + git = "https://github.com/skwonPNU/casper.git" - version("0.8.2", sha256="3005e165cebf8ce4e12815b7660a833e0733441b5c7e5ecbfdccef7414b0c914") + version("20220916", commit="08655cad5af7e801f05fdb9e643dcd859f823cba") + version( + "0.8.2", + sha256="3005e165cebf8ce4e12815b7660a833e0733441b5c7e5ecbfdccef7414b0c914", + deprecated=True, + ) depends_on("jellyfish@2.2.3:") depends_on("boost+exception") @@ -23,7 +29,7 @@ class Casper(MakefilePackage): conflicts("%gcc@7.1.0") def flag_handler(self, name, flags): - if name.lower() == "cxxflags": + if self.spec.satisfies("@:0.8.2") and name.lower() == "cxxflags": flags.append(self.compiler.cxx98_flag) return (flags, None, None) |