diff options
author | haralmha <47558670+haralmha@users.noreply.github.com> | 2022-03-08 20:58:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-08 12:58:46 -0700 |
commit | ddc5b4422dc8e2f645cd23eae38d8aea4955633f (patch) | |
tree | 55e74a91a34c87c6c50b2449e9109b0c3852cee3 | |
parent | b2a02861bbbe8c989d24b8c7fbd202e31abc6bd0 (diff) | |
download | spack-ddc5b4422dc8e2f645cd23eae38d8aea4955633f.tar.gz spack-ddc5b4422dc8e2f645cd23eae38d8aea4955633f.tar.bz2 spack-ddc5b4422dc8e2f645cd23eae38d8aea4955633f.tar.xz spack-ddc5b4422dc8e2f645cd23eae38d8aea4955633f.zip |
py-param: add new package (#29384)
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
-rw-r--r-- | var/spack/repos/builtin/packages/py-param/package.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-param/package.py b/var/spack/repos/builtin/packages/py-param/package.py new file mode 100644 index 0000000000..6766f805b9 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-param/package.py @@ -0,0 +1,23 @@ +# Copyright 2013-2022 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 PyParam(PythonPackage): + """Param is a library providing Parameters: Python attributes extended to have + features such as type and range checking, dynamically generated values, + documentation strings, default values, etc., each of which is inherited from + parent classes if not specified in a subclass.""" + + homepage = "https://param.holoviz.org/" + pypi = "param/param-1.12.0.tar.gz" + + maintainers = ['haralmha'] + + version('1.12.0', sha256='35d0281c8e3beb6dd469f46ff0b917752a54bed94d1b0c567346c76d0ff59c4a') + + depends_on('python@2.7:', type=('build', 'run')) + depends_on('py-setuptools', type='build') |