summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorVivian Hafener <79525734+viv-codes@users.noreply.github.com>2022-03-05 15:03:41 -0500
committerGitHub <noreply@github.com>2022-03-05 14:03:41 -0600
commitaddf6f26865f6f0b238e8e296baa14e26914869d (patch)
treef511502b6b149b97f0c853898e56790f4f0a4bfd /var
parentce4b812b5224f1db8dd0f06ca468771d09d3ddc7 (diff)
downloadspack-addf6f26865f6f0b238e8e296baa14e26914869d.tar.gz
spack-addf6f26865f6f0b238e8e296baa14e26914869d.tar.bz2
spack-addf6f26865f6f0b238e8e296baa14e26914869d.tar.xz
spack-addf6f26865f6f0b238e8e296baa14e26914869d.zip
New package: py-ml-collections (#29325)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-ml-collections/package.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-ml-collections/package.py b/var/spack/repos/builtin/packages/py-ml-collections/package.py
new file mode 100644
index 0000000000..22019f2006
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-ml-collections/package.py
@@ -0,0 +1,24 @@
+# Copyright 2013-2022 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 PyMlCollections(PythonPackage):
+ """ML Collections is a library of Python collections designed for ML usecases."""
+
+ homepage = "https://https://github.com/google/ml_collections"
+ pypi = "ml_collections/ml_collections-0.1.0.tar.gz"
+
+ version('0.1.1', sha256='3fefcc72ec433aa1e5d32307a3e474bbb67f405be814ea52a2166bfc9dbe68cc')
+
+ depends_on('python@2.6:', type=('build', 'run'))
+ depends_on('py-setuptools', type=('build', 'run'))
+ depends_on('py-pyyaml', type=('build', 'run'))
+ depends_on('py-absl-py', type=('build', 'run'))
+ depends_on('py-six', type=('build', 'run'))
+ depends_on('py-contextlib2', type=('build', 'run'))
+ depends_on('py-dataclasses', type=('build', 'run'), when='python@:3.6')
+ depends_on('py-typing', type=('build', 'run'), when='python@:3.5')