New package: py-ml-collections (#29325)

This commit is contained in:
Vivian Hafener 2022-03-05 15:03:41 -05:00 committed by GitHub
parent ce4b812b52
commit addf6f2686
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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