summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-iopath/package.py
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2023-02-20 02:12:20 -0700
committerGitHub <noreply@github.com>2023-02-20 10:12:20 +0100
commit0500a3cec05c353efc01e147d140901b2f638d51 (patch)
treedca4958dc97954dd22f90a807cee19d1cab60179 /var/spack/repos/builtin/packages/py-iopath/package.py
parent313797e3d437e060a47643c3687472b1f4a51e7b (diff)
downloadspack-0500a3cec05c353efc01e147d140901b2f638d51.tar.gz
spack-0500a3cec05c353efc01e147d140901b2f638d51.tar.bz2
spack-0500a3cec05c353efc01e147d140901b2f638d51.tar.xz
spack-0500a3cec05c353efc01e147d140901b2f638d51.zip
py-torchbenchmark: add new package (#35443)
Diffstat (limited to 'var/spack/repos/builtin/packages/py-iopath/package.py')
-rw-r--r--var/spack/repos/builtin/packages/py-iopath/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-iopath/package.py b/var/spack/repos/builtin/packages/py-iopath/package.py
new file mode 100644
index 0000000000..576454c6fa
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-iopath/package.py
@@ -0,0 +1,20 @@
+# Copyright 2013-2023 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.package import *
+
+
+class PyIopath(PythonPackage):
+ """A library for providing I/O abstraction."""
+
+ homepage = "https://github.com/facebookresearch/iopath"
+ pypi = "iopath/iopath-0.1.10.tar.gz"
+
+ version("0.1.10", sha256="3311c16a4d9137223e20f141655759933e1eda24f8bff166af834af3c645ef01")
+
+ depends_on("py-setuptools", type="build")
+ depends_on("py-tqdm", type=("build", "run"))
+ depends_on("py-typing-extensions", type=("build", "run"))
+ depends_on("py-portalocker", type=("build", "run"))