diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-rdt/package.py | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-rdt/package.py b/var/spack/repos/builtin/packages/py-rdt/package.py new file mode 100644 index 0000000000..0f634a8b77 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-rdt/package.py @@ -0,0 +1,25 @@ +# Copyright 2013-2021 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 PyRdt(PythonPackage): + """RDT is a Python library used to transform data for data + science libraries and preserve the transformations in order + to revert them as needed.""" + + homepage = "https://github.com/sdv-dev/RDT" + pypi = "rdt/rdt-0.6.1.tar.gz" + + version('0.6.1', sha256='ee2ac0d3479b254f99f35a709a24ffd5f2c899de6ea71f1ee844c6113febba71') + + depends_on('python@3.6:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-numpy@1.18:1.19', type=('build', 'run'), when='^python@3.6') + depends_on('py-numpy@1.20:1', type=('build', 'run'), when='^python@3.7:') + depends_on('py-pandas@1.1.3:1.1.4', type=('build', 'run')) + depends_on('py-scipy@1.5.4:1', type=('build', 'run')) + depends_on('py-psutil@5.7:5', type=('build', 'run')) |