From b8481d791395b5ecd5fb23f0e022d6db7fc33120 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Mon, 16 Sep 2019 13:04:50 -0500 Subject: Add py-sortedcontainers package (#12826) --- .../builtin/packages/py-sortedcontainers/package.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-sortedcontainers/package.py diff --git a/var/spack/repos/builtin/packages/py-sortedcontainers/package.py b/var/spack/repos/builtin/packages/py-sortedcontainers/package.py new file mode 100644 index 0000000000..57e3938849 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-sortedcontainers/package.py @@ -0,0 +1,18 @@ +# Copyright 2013-2019 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 PySortedcontainers(PythonPackage): + """Sorted Containers is an Apache2 licensed sorted collections library, + written in pure-Python, and fast as C-extensions.""" + + homepage = "http://www.grantjenks.com/docs/sortedcontainers/" + url = "https://pypi.io/packages/source/s/sortedcontainers/sortedcontainers-2.1.0.tar.gz" + + version('2.1.0', sha256='974e9a32f56b17c1bac2aebd9dcf197f3eb9cd30553c5852a3187ad162e1a03a') + + depends_on('py-setuptools', type='build') -- cgit v1.2.3-60-g2f50