From 99650d6cafcbbea49aa16fc6370fb27bae79363a Mon Sep 17 00:00:00 2001 From: Joe Koning Date: Sat, 23 Nov 2019 00:20:24 -0800 Subject: [PATCH] py-cached-property: added new package at v 1.5.1 (#13850) --- .../packages/py-cached-property/package.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-cached-property/package.py diff --git a/var/spack/repos/builtin/packages/py-cached-property/package.py b/var/spack/repos/builtin/packages/py-cached-property/package.py new file mode 100644 index 0000000000..c68ef62570 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-cached-property/package.py @@ -0,0 +1,17 @@ +# Copyright 2013-2019 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.""" + + homepage = "https://pypi.org/project/cached-property/" + url = "https://pypi.io/packages/source/c/cached-property/cached-property-1.5.1.tar.gz" + + version('1.5.1', sha256="9217a59f14a5682da7c4b8829deadbfc194ac22e9908ccf7c8820234e80a1504") + + depends_on('py-setuptools', type='build')