From 89ea5bdd61869dc8afc2a0f1b1d7451d35991497 Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Sat, 29 Apr 2017 14:44:55 +0200 Subject: A few updates to packages (mostly version updates) (#4049) --- var/spack/repos/builtin/packages/gdb/package.py | 1 + var/spack/repos/builtin/packages/git/package.py | 8 +++++++- var/spack/repos/builtin/packages/glpk/package.py | 26 ++++++++++++------------ var/spack/repos/builtin/packages/lmod/package.py | 1 + var/spack/repos/builtin/packages/tmux/package.py | 10 +++++---- 5 files changed, 28 insertions(+), 18 deletions(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/gdb/package.py b/var/spack/repos/builtin/packages/gdb/package.py index f90e4e7ff0..d502d2449d 100644 --- a/var/spack/repos/builtin/packages/gdb/package.py +++ b/var/spack/repos/builtin/packages/gdb/package.py @@ -34,6 +34,7 @@ class Gdb(Package): homepage = "https://www.gnu.org/software/gdb" url = "http://ftp.gnu.org/gnu/gdb/gdb-7.10.tar.gz" + version('7.12.1', '06c8f40521ed65fe36ebc2be29b56942') version('7.11', 'f585059252836a981ea5db9a5f8ce97f') version('7.10.1', 'b93a2721393e5fa226375b42d567d90b') version('7.10', 'fa6827ad0fd2be1daa418abb11a54d86') diff --git a/var/spack/repos/builtin/packages/git/package.py b/var/spack/repos/builtin/packages/git/package.py index 24657e54dc..dfa4e08643 100644 --- a/var/spack/repos/builtin/packages/git/package.py +++ b/var/spack/repos/builtin/packages/git/package.py @@ -30,7 +30,8 @@ from distutils.dir_util import copy_tree class Git(AutotoolsPackage): """Git is a free and open source distributed version control system designed to handle everything from small to very large - projects with speed and efficiency.""" + projects with speed and efficiency. + """ homepage = "http://git-scm.com" url = "https://github.com/git/git/archive/v2.12.0.tar.gz" @@ -42,6 +43,11 @@ class Git(AutotoolsPackage): # https://www.kernel.org/pub/software/scm/git/git-manpages-{version}.tar.xz releases = [ + { + 'version': '2.12.2', + 'md5': 'f1a50c09ce8b5dd197f3c6c6d5ea8e75', + 'md5_manpages': '9358777e9a67e57427b03884c82311bd', + }, { 'version': '2.12.1', 'md5': 'a05c614c80ecd41e50699f1562e1130c', diff --git a/var/spack/repos/builtin/packages/glpk/package.py b/var/spack/repos/builtin/packages/glpk/package.py index 1b52643e59..da3ccdeef1 100644 --- a/var/spack/repos/builtin/packages/glpk/package.py +++ b/var/spack/repos/builtin/packages/glpk/package.py @@ -25,30 +25,30 @@ from spack import * -class Glpk(Package): +class Glpk(AutotoolsPackage): """The GLPK (GNU Linear Programming Kit) package is intended for solving - large-scale linear programming (LP), mixed integer programming - (MIP), and other related problems. It is a set of routines written - in ANSI C and organized in the form of a callable library - + large-scale linear programming (LP), mixed integer programming + (MIP), and other related problems. It is a set of routines written + in ANSI C and organized in the form of a callable library. """ + homepage = "https://www.gnu.org/software/glpk" url = "http://ftp.gnu.org/gnu/glpk/glpk-4.57.tar.gz" + version('4.61', '3ce3e224a8b6e75a1a0b378445830f21') version('4.57', '237531a54f73155842f8defe51aedb0f') - variant('gmp', default=False, - description='Activates support for GMP library') + variant( + 'gmp', default=False, description='Activates support for GMP library' + ) depends_on('gmp', when='+gmp') - def install(self, spec, prefix): + def configure_args(self): - options = ['--prefix=%s' % prefix] + options = [] - if '+gmp' in spec: + if '+gmp' in self.spec: options.append('--with-gmp') - configure(*options) - make() - make("install") + return options diff --git a/var/spack/repos/builtin/packages/lmod/package.py b/var/spack/repos/builtin/packages/lmod/package.py index 38529aa52c..625a044572 100644 --- a/var/spack/repos/builtin/packages/lmod/package.py +++ b/var/spack/repos/builtin/packages/lmod/package.py @@ -38,6 +38,7 @@ class Lmod(AutotoolsPackage): homepage = 'https://www.tacc.utexas.edu/research-development/tacc-projects/lmod' url = 'https://github.com/TACC/Lmod/archive/7.3.tar.gz' + version('7.4.8', '3b22932437cc29ce546ec887885355e7') version('7.4.5', 'fc34029c60dd9782c3d011c2b93fd266') version('7.4.1', '59b2558ee50877f2cf49ed37d7b09fea') version('7.3', '70180ec2ea1fae53aa83350523f6b2b3') diff --git a/var/spack/repos/builtin/packages/tmux/package.py b/var/spack/repos/builtin/packages/tmux/package.py index 89c9751486..76778d1f5e 100644 --- a/var/spack/repos/builtin/packages/tmux/package.py +++ b/var/spack/repos/builtin/packages/tmux/package.py @@ -26,15 +26,17 @@ from spack import * class Tmux(Package): - """tmux is a terminal multiplexer. What is a terminal multiplexer? It lets - you switch easily between several programs in one terminal, detach them - (they keep running in the background) and reattach them to a different - terminal. And do a lot more. + """Tmux is a terminal multiplexer. + + What is a terminal multiplexer? It lets you switch easily between several + programs in one terminal, detach them (they keep running in the + background) and reattach them to a different terminal. And do a lot more. """ homepage = "http://tmux.github.io" url = "https://github.com/tmux/tmux/releases/download/2.2/tmux-2.2.tar.gz" + version('2.4', '6165d3aca811a3225ef8afbd1afcf1c5') version('2.3', 'fcfd1611d705d8b31df3c26ebc93bd3e') version('2.2', 'bd95ee7205e489c62c616bb7af040099') version('2.1', '74a2855695bccb51b6e301383ad4818c') -- cgit v1.2.3-60-g2f50