summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-cachy/package.py
blob: 752274c6684f8889414c8c89dd17abb98fd3302c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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 PyCachy(PythonPackage):
    """Cachy provides a simple yet effective caching library."""

    homepage = "https://github.com/sdispater/cachy"
    pypi = "cachy/cachy-0.3.0.tar.gz"

    license("MIT")

    version("0.3.0", sha256="186581f4ceb42a0bbe040c407da73c14092379b1e4c0e327fdb72ae4a9b269b1")

    depends_on("python@2.7,3.4:4", type=("build", "run"))
    # https://github.com/sdispater/cachy/issues/20
    depends_on("py-setuptools", type="build")