summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-lru-dict/package.py
blob: eb342d6d39e0f88d1b2ca65b1726c1f42caa2f95 (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 PyLruDict(PythonPackage):
    """A fast LRU cache"""

    homepage = "https://github.com/amitdev/lru-dict"
    pypi = "lru-dict/lru-dict-1.1.6.tar.gz"

    version('1.1.6', sha256='365457660e3d05b76f1aba3e0f7fedbfcd6528e97c5115a351ddd0db488354cc')

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