summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-sortedcollections/package.py
blob: 8de02f59764dd80b5fdd69bfe6c3b5516f76739f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright 2013-2022 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'))