diff options
author | Shahzeb Siddiqui <shahzebmsiddiqui@gmail.com> | 2020-10-08 18:52:42 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-08 17:52:42 -0500 |
commit | 796561ed822d64be6fd2ef299093711a8534d0e9 (patch) | |
tree | ce8a1558fd21e55dce4343313f99bec84def268e | |
parent | 47a7cd6a934eb736e1c9221a50c33642a151cbee (diff) | |
download | spack-796561ed822d64be6fd2ef299093711a8534d0e9.tar.gz spack-796561ed822d64be6fd2ef299093711a8534d0e9.tar.bz2 spack-796561ed822d64be6fd2ef299093711a8534d0e9.tar.xz spack-796561ed822d64be6fd2ef299093711a8534d0e9.zip |
add package py-lmodule version 0.1.0 (#18856)
* add package py-lmodule version 0.1.0
Lmodule is tested with lmod >= 7.x. Lmod 6 has different json
structure in spider which is not supported by lmodule
-rw-r--r-- | var/spack/repos/builtin/packages/py-lmodule/package.py | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-lmodule/package.py b/var/spack/repos/builtin/packages/py-lmodule/package.py new file mode 100644 index 0000000000..13574e88d6 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-lmodule/package.py @@ -0,0 +1,25 @@ +# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class PyLmodule(PythonPackage): + """Lmodule is a Python API for Lmod module system. It's primary purpose is + to help automate module testing. Lmodule uses Lmod spider tool to query + all modules in-order to automate module testing. Lmodule can be used with + environment-modules to interact with module using the Module class.""" + + homepage = "https://lmodule.readthedocs.io/en/latest/" + url = "https://pypi.io/packages/source/l/lmodule/lmodule-0.1.0.tar.gz" + git = "https://github.com/buildtesters/lmodule" + + maintainers = ['shahzebsiddiqui'] + + version('0.1.0', sha256='cac8f3dad2df27b10e051b2c56ccbde1fcdd7044af594d13fd2e4144d3d46a29') + + depends_on('python@3.6.0:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('lmod@7.0:', type='run') |