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


class PyFastcache(PythonPackage):
    """C implementation of Python 3 functools.lru_cache"""

    homepage = "https://github.com/pbrady/fastcache"
    pypi = "fastcache/fastcache-1.1.0.tar.gz"

    license("MIT")

    version("1.1.0", sha256="6de1b16e70335b7bde266707eb401a3aaec220fb66c5d13b02abf0eab8be782b")

    depends_on("py-setuptools", type="build")