summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-ordered-set/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-ordered-set/package.py b/var/spack/repos/builtin/packages/py-ordered-set/package.py
new file mode 100644
index 0000000000..da41af3de1
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-ordered-set/package.py
@@ -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')