diff options
author | Jordan Ogas <jogas@lanl.gov> | 2019-08-13 18:37:58 -0600 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2019-08-13 19:37:58 -0500 |
commit | 4119886cbc7fe395d977e256f3376c0a53a841c2 (patch) | |
tree | d0a4cf116d996caf6f19dcee815e2b5a88df45dc | |
parent | 2c68b7f006185b393197217022b74cddb08302b0 (diff) | |
download | spack-4119886cbc7fe395d977e256f3376c0a53a841c2.tar.gz spack-4119886cbc7fe395d977e256f3376c0a53a841c2.tar.bz2 spack-4119886cbc7fe395d977e256f3376c0a53a841c2.tar.xz spack-4119886cbc7fe395d977e256f3376c0a53a841c2.zip |
add charliecloud master branch; add dependencies (#12327)
* add master and dependencies
* remove gcc and make
* add variants, make doc and ch-grow dependencies optional
* capitalize description sentence
* move dependencies and variants below version block
* fix typos
-rw-r--r-- | var/spack/repos/builtin/packages/charliecloud/package.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/charliecloud/package.py b/var/spack/repos/builtin/packages/charliecloud/package.py index 3f093566d4..b5935ea5a8 100644 --- a/var/spack/repos/builtin/packages/charliecloud/package.py +++ b/var/spack/repos/builtin/packages/charliecloud/package.py @@ -13,6 +13,7 @@ class Charliecloud(MakefilePackage): url = "https://github.com/hpc/charliecloud/releases/download/v0.9.10/charliecloud-0.9.10.tar.gz" git = "https://github.com/hpc/charliecloud.git" + version('master', branch='master') version('0.10', sha256='5cf00b170e7568750ca0b828c43c0857c39674860b480d757057450d69f1a21e') version('0.9.10', sha256='44e821b62f9c447749d3ed0d2b2e44d374153058814704a5543e83f42db2a45a') version('0.9.9', sha256='2624c5a0b19a01c9bca0acf873ceeaec401b9185a23e9108fadbcee0b9d74736') @@ -25,6 +26,18 @@ class Charliecloud(MakefilePackage): version('0.9.0', sha256='7e74cb16e31fd9d502198f7509bab14d1049ec68ba90b15e277e76f805db9458') version('0.2.4', 'b112de661c2c360174b42c99022c1967') + depends_on('python@3.4:', type=('build', 'run')) + + # experimental builder (ch-grow) + variant('builder', default=False, description='Bundle dependencies for unprivileged builder (ch-grow)') + depends_on('py-lark-parser', type='run', when='+builder') + + # man pages and html docs + variant('docs', default=False, description='Build man pages and html docs') + depends_on('rsync', type='build', when='+docs') + depends_on('py-sphinx', type='build', when='+docs') + depends_on('py-sphinx-rtd-theme', type='build', when='+docs') + def url_for_version(self, version): if version >= Version('0.9.8'): url = "https://github.com/hpc/charliecloud/releases/download/v{0}/charliecloud-{0}.tar.gz" |