diff options
author | Massimiliano Culpo <massimiliano.culpo@googlemail.com> | 2017-01-10 18:14:16 +0100 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2017-01-10 09:14:16 -0800 |
commit | a7a77b5b412df774af5862b540df05ee1a2215c0 (patch) | |
tree | a396fc466806584cb22cf8385a6c25f4550a9605 | |
parent | 1ece25bdc288136a0039a8dd2c5b9ddeb544797d (diff) | |
download | spack-a7a77b5b412df774af5862b540df05ee1a2215c0.tar.gz spack-a7a77b5b412df774af5862b540df05ee1a2215c0.tar.bz2 spack-a7a77b5b412df774af5862b540df05ee1a2215c0.tar.xz spack-a7a77b5b412df774af5862b540df05ee1a2215c0.zip |
openjpeg: fixes url (#2790)
-rw-r--r-- | var/spack/repos/builtin/packages/openjpeg/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/openjpeg/package.py b/var/spack/repos/builtin/packages/openjpeg/package.py index b22de4452a..9790c52e7d 100644 --- a/var/spack/repos/builtin/packages/openjpeg/package.py +++ b/var/spack/repos/builtin/packages/openjpeg/package.py @@ -43,3 +43,7 @@ class Openjpeg(CMakePackage): version('2.0', 'cdf266530fee8af87454f15feb619609') version('1.5.2', '545f98923430369a6b046ef3632ef95c') version('1.5.1', 'd774e4b5a0db5f0f171c4fc0aabfa14e') + + def url_for_version(self, version): + fmt = 'https://github.com/uclouvain/openjpeg/archive/version.{0}.tar.gz' + return fmt.format(version.dotted) |