From f19a214a192de5fb9c5244b2e7e00b0cc63ccedb Mon Sep 17 00:00:00 2001 From: Justin Stanley Date: Tue, 5 Mar 2019 07:02:52 -0600 Subject: [PATCH] libbeagle: add 3.1.2 (#10789) --- var/spack/repos/builtin/packages/libbeagle/package.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/var/spack/repos/builtin/packages/libbeagle/package.py b/var/spack/repos/builtin/packages/libbeagle/package.py index 6e5d99a7e5..32233a7748 100644 --- a/var/spack/repos/builtin/packages/libbeagle/package.py +++ b/var/spack/repos/builtin/packages/libbeagle/package.py @@ -11,9 +11,11 @@ class Libbeagle(AutotoolsPackage, CudaPackage): ungenotyped markers, and identity-by-descent segment detection.""" homepage = "https://github.com/beagle-dev/beagle-lib" - url = "https://github.com/beagle-dev/beagle-lib/archive/beagle_release_2_1_2.tar.gz" + url = "https://github.com/beagle-dev/beagle-lib/archive/v3.1.2.tar.gz" - version('2.1.2', '1107614e86f652f8ee45c1c92f2af3d4') + version('3.1.2', sha256='dd872b484a3a9f0bce369465e60ccf4e4c0cd7bd5ce41499415366019f236275') + version('2.1.2', '1107614e86f652f8ee45c1c92f2af3d4', + url='https://github.com/beagle-dev/beagle-lib/archive/beagle_release_2_1_2.tar.gz') depends_on('autoconf', type='build') depends_on('automake', type='build') @@ -51,10 +53,6 @@ def configure_args(self): return args - def url_for_version(self, version): - url = "https://github.com/beagle-dev/beagle-lib/archive/beagle_release_{0}.tar.gz" - return url.format(version.underscored) - def setup_environment(self, spack_env, run_env): prefix = self.prefix run_env.prepend_path('BEAST_LIB', prefix.lib)