add sundials 3.1.0 (#6230)

This commit is contained in:
David Gardner 2017-11-09 05:04:03 -08:00 committed by Massimiliano Culpo
parent 24bb3c61de
commit d9fc26b2a5

View File

@ -39,6 +39,7 @@ class Sundials(CMakePackage):
# Versions # Versions
# ========================================================================== # ==========================================================================
version('3.1.0', '1a84ca41c7f71067e03d519ddbcd9dae')
version('3.0.0', '5163a44cedd7398bddda442ba00313b8') version('3.0.0', '5163a44cedd7398bddda442ba00313b8')
version('2.7.0', 'c304631b9bc82877d7b0e9f4d4fd94d3') version('2.7.0', 'c304631b9bc82877d7b0e9f4d4fd94d3')
version('2.6.2', '3deeb0ede9f514184c6bd83ecab77d95') version('2.6.2', '3deeb0ede9f514184c6bd83ecab77d95')
@ -355,11 +356,13 @@ def on_off(varstr):
def post_install(self): def post_install(self):
"""Run after install to fix install name of dynamic libraries """Run after install to fix install name of dynamic libraries
on Darwin to have full path and install the LICENSE file.""" on Darwin to have full path and install the LICENSE file."""
spec = self.spec
prefix = self.spec.prefix prefix = self.spec.prefix
if (sys.platform == 'darwin'): if (sys.platform == 'darwin'):
fix_darwin_install_name(prefix.lib) fix_darwin_install_name(prefix.lib)
if spec.satisfies('@:3.0.0'):
install('LICENSE', prefix) install('LICENSE', prefix)
@run_after('install') @run_after('install')