From ddc5b4422dc8e2f645cd23eae38d8aea4955633f Mon Sep 17 00:00:00 2001 From: haralmha <47558670+haralmha@users.noreply.github.com> Date: Tue, 8 Mar 2022 20:58:46 +0100 Subject: py-param: add new package (#29384) Co-authored-by: Massimiliano Culpo --- .../repos/builtin/packages/py-param/package.py | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-param/package.py (limited to 'var') 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') -- cgit v1.2.3-60-g2f50