summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2021-12-20 21:10:52 -0500
committerGitHub <noreply@github.com>2021-12-20 18:10:52 -0800
commit9869a2d0da5661ca18fbb02741524a19e05bb490 (patch)
tree5afc3387bacd347b4f4827d34c9f798380c81d0b
parent024c2b690ad0894fe6ff2da7a6582758baf7b65f (diff)
downloadspack-9869a2d0da5661ca18fbb02741524a19e05bb490.tar.gz
spack-9869a2d0da5661ca18fbb02741524a19e05bb490.tar.bz2
spack-9869a2d0da5661ca18fbb02741524a19e05bb490.tar.xz
spack-9869a2d0da5661ca18fbb02741524a19e05bb490.zip
New package: py-rdt (#28048)
Co-authored-by: Sid Pendelberry <sid@rit.edu>
-rw-r--r--var/spack/repos/builtin/packages/py-rdt/package.py25
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'))