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.
This commit is contained in:
Sam Gutiérrez 2018-08-22 22:17:15 -06:00 committed by Adam J. Stewart
parent a6826a7a2d
commit 8c89e67669

View File

@ -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 [