New package: py-rdt (#28048)

Co-authored-by: Sid Pendelberry <sid@rit.edu>
This commit is contained in:
Jen Herting 2021-12-20 21:10:52 -05:00 committed by GitHub
parent 024c2b690a
commit 9869a2d0da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'))