From a7a77b5b412df774af5862b540df05ee1a2215c0 Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Tue, 10 Jan 2017 18:14:16 +0100 Subject: openjpeg: fixes url (#2790) --- var/spack/repos/builtin/packages/openjpeg/package.py | 4 ++++ 1 file changed, 4 insertions(+) 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) -- cgit v1.2.3-70-g09d2