summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-heapdict/package.py
blob: 7333f24c7a90a3a2837592e67899688b44d0f07e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright 2013-2020 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 PyHeapdict(PythonPackage):
    """A heap with decrease-key and increase-key operations"""

    homepage = "http://stutzbachenterprises.com/"
    url      = "https://pypi.io/packages/source/H/HeapDict/HeapDict-1.0.1.tar.gz"

    version('1.0.1', sha256='8495f57b3e03d8e46d5f1b2cc62ca881aca392fd5cc048dc0aa2e1a6d23ecdb6')

    depends_on('python@2.6:', type=('build', 'run'))
    depends_on('py-setuptools', type='build')