Add py-sortedcontainers package (#12826)

This commit is contained in:
Adam J. Stewart 2019-09-16 13:04:50 -05:00 committed by GitHub
parent 09e3d6514b
commit b8481d7913
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')