diff options
author | Sam GutiƩrrez <samuelkgutierrez@users.noreply.github.com> | 2018-08-22 22:17:15 -0600 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2018-08-22 23:17:15 -0500 |
commit | 8c89e676691244b4118c30415bd689120bcd307f (patch) | |
tree | aff9ebb7773ab2d19171f381b156eee7c5e8adc3 | |
parent | a6826a7a2d6e34c65447d0fecd77ce1ac4f2c747 (diff) | |
download | spack-8c89e676691244b4118c30415bd689120bcd307f.tar.gz spack-8c89e676691244b4118c30415bd689120bcd307f.tar.bz2 spack-8c89e676691244b4118c30415bd689120bcd307f.tar.xz spack-8c89e676691244b4118c30415bd689120bcd307f.zip |
libquo: Packaging updates. (#9076)
* libquo: Packaging updates.
This commit accomplishes a few things:
* Changes distribution fetch source
* Removes a deprecated version (1.2.9)
* Changes dependencies based on version type
* Adds a custom autoreconf stage when using the 'develop' version,
omitting this step when building from a distribution
* Reintroduce v1.2.9.
-rw-r--r-- | var/spack/repos/builtin/packages/libquo/package.py | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/libquo/package.py b/var/spack/repos/builtin/packages/libquo/package.py index fa454bfcdc..c25bdf56a6 100644 --- a/var/spack/repos/builtin/packages/libquo/package.py +++ b/var/spack/repos/builtin/packages/libquo/package.py @@ -32,17 +32,24 @@ class Libquo(AutotoolsPackage): single- and multi-threaded libraries.""" homepage = "https://github.com/lanl/libquo" - url = "https://github.com/lanl/libquo/archive/v1.2.9.tar.gz" + url = "http://lanl.github.io/libquo/dists/libquo-1.3.tar.gz" git = "https://github.com/lanl/libquo.git" version('develop', branch='master') - version('1.3', '3ff74162837425a15ecf695ca0201e4a') - version('1.2.9', 'ca82ab33f13e2b89983f81e7c02e98c2') + version('1.3', '1a1fb83d2c9e99ef5d5fcd71037ef8e8') + version('1.2.9', '85907cfbdb8b1e57fc5fcf3bced7cfa8') depends_on('mpi') - depends_on('autoconf', type='build') - depends_on('automake', type='build') - depends_on('libtool', type='build') + + depends_on('m4', when='@develop', type='build') + depends_on('autoconf', when='@develop', type='build') + depends_on('automake', when='@develop', type='build') + depends_on('libtool', when='@develop', type='build') + + @when('@develop') + def autoreconf(self, spec, prefix): + bash = which('bash') + bash('./autogen') def configure_args(self): return [ |