dependency for py-torchmeta (#24595)
Co-authored-by: Sid Pendelberry <sid@rit.edu>
This commit is contained in:
parent
55dd306790
commit
501f87fb22
1 changed files with 20 additions and 0 deletions
20
var/spack/repos/builtin/packages/py-ordered-set/package.py
Normal file
20
var/spack/repos/builtin/packages/py-ordered-set/package.py
Normal 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')
|
Loading…
Reference in a new issue