summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2020-03-28 00:30:50 -0500
committerGitHub <noreply@github.com>2020-03-28 00:30:50 -0500
commitdb67b78fb9133d45645d2fddcff4cbdc14f84917 (patch)
treecd2443d594d2df00f90ac08c0c3b300e6fd2c190
parent33b19e7bf033df198b3dbcae2b58d6e7e68605a1 (diff)
downloadspack-db67b78fb9133d45645d2fddcff4cbdc14f84917.tar.gz
spack-db67b78fb9133d45645d2fddcff4cbdc14f84917.tar.bz2
spack-db67b78fb9133d45645d2fddcff4cbdc14f84917.tar.xz
spack-db67b78fb9133d45645d2fddcff4cbdc14f84917.zip
py-petastorm: add new package (#15722)
-rw-r--r--var/spack/repos/builtin/packages/py-petastorm/package.py30
1 files changed, 30 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-petastorm/package.py b/var/spack/repos/builtin/packages/py-petastorm/package.py
new file mode 100644
index 0000000000..2c6cc5e34f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-petastorm/package.py
@@ -0,0 +1,30 @@
+# Copyright 2013-2020 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)
+
+
+class PyPetastorm(PythonPackage):
+ """Petastorm is a library enabling the use of Parquet storage from
+ Tensorflow, Pytorch, and other Python-based ML training frameworks."""
+
+ homepage = "https://github.com/uber/petastorm"
+ url = "https://pypi.io/packages/source/p/petastorm/petastorm-0.8.2.tar.gz"
+
+ maintainers = ['adamjstewart']
+
+ version('0.8.2', sha256='7782c315e1ee8d15c7741e3eea41e77b9efce661cf58aa0220a801db64f52f91')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-dill@0.2.1:', type=('build', 'run'))
+ depends_on('py-diskcache@3.0.0:', type=('build', 'run'))
+ depends_on('py-future@0.10.2:', type=('build', 'run'))
+ depends_on('py-futures@2.0:', type=('build', 'run'), when='^python@:2')
+ depends_on('py-numpy@1.13.3:', type=('build', 'run'))
+ depends_on('py-packaging@15.0:', type=('build', 'run'))
+ depends_on('py-pandas@0.19.0:', type=('build', 'run'))
+ depends_on('py-psutil@4.0.0:', type=('build', 'run'))
+ depends_on('py-pyspark@2.1.0:', type=('build', 'run'))
+ depends_on('py-pyzmq@14.0.0:', type=('build', 'run'))
+ depends_on('py-pyarrow@0.12.0:', type=('build', 'run'))
+ depends_on('py-six@1.5.0:', type=('build', 'run'))