summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-cached-property/package.py
blob: 83ba4c7e419124331c2fbc0bce909f818d7ded59 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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 PyCachedProperty(PythonPackage):
    """A decorator for caching properties in classes."""

    pypi = "cached-property/cached-property-1.5.1.tar.gz"

    version('1.5.2', sha256="9fa5755838eecbb2d234c3aa390bd80fbd3ac6b6869109bfc1b499f7bd89a130")
    version('1.5.1', sha256="9217a59f14a5682da7c4b8829deadbfc194ac22e9908ccf7c8820234e80a1504")

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