From 3455647011c58de38676c256ffa1782a573374a5 Mon Sep 17 00:00:00 2001 From: Bryan Herman Date: Tue, 26 Jan 2021 17:17:12 +0000 Subject: [PATCH] added package py-sortedcollections --- .../packages/py-sortedcollections/package.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-sortedcollections/package.py diff --git a/var/spack/repos/builtin/packages/py-sortedcollections/package.py b/var/spack/repos/builtin/packages/py-sortedcollections/package.py new file mode 100644 index 00000000000..1024d0d220c --- /dev/null +++ b/var/spack/repos/builtin/packages/py-sortedcollections/package.py @@ -0,0 +1,19 @@ +# 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 PySortedcollections(PythonPackage): + """Sorted Collections is an Apache2 licensed Python sorted collections library.""" + + homepage = "http://www.grantjenks.com/docs/sortedcollections/" + pypi = "sortedcollections/sortedcollections-1.2.1.tar.gz" + + version('1.2.1', sha256='58c31f35e3d052ada6a1fbfc235a408e9ec5e2cfc64a02731cf97cac4afd306a') + + depends_on('py-setuptools', type='build') + depends_on('py-sortedcontainers', type=('build', 'run'))