dependency for py-torchmeta (#24595)

Co-authored-by: Sid Pendelberry <sid@rit.edu>
This commit is contained in:
Jen Herting 2021-06-29 20:58:21 -04:00 committed by GitHub
parent 55dd306790
commit 501f87fb22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,20 @@
# 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 PyOrderedSet(PythonPackage):
"""An OrderedSet is a mutable data structure that is a hybrid of a list and
a set. It remembers the order of its entries, and every entry has an index
number that can be looked up."""
homepage = "https://github.com/LuminosoInsight/ordered-set"
pypi = "ordered-set/ordered-set-4.0.2.tar.gz"
version('4.0.2', sha256='ba93b2df055bca202116ec44b9bead3df33ea63a7d5827ff8e16738b97f33a95')
depends_on('python@3.5:', type=('build', 'run'))
depends_on('py-setuptools', type='build')