diff options
author | Joe Koning <koning@users.noreply.github.com> | 2019-11-23 00:20:24 -0800 |
---|---|---|
committer | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2019-11-23 09:20:24 +0100 |
commit | 99650d6cafcbbea49aa16fc6370fb27bae79363a (patch) | |
tree | 4d13e96d4cae50f09824459d89d25c84e1af99ef | |
parent | b95961d26bd68385505fc763bdd5c521ee340b0d (diff) | |
download | spack-99650d6cafcbbea49aa16fc6370fb27bae79363a.tar.gz spack-99650d6cafcbbea49aa16fc6370fb27bae79363a.tar.bz2 spack-99650d6cafcbbea49aa16fc6370fb27bae79363a.tar.xz spack-99650d6cafcbbea49aa16fc6370fb27bae79363a.zip |
py-cached-property: added new package at v 1.5.1 (#13850)
-rw-r--r-- | var/spack/repos/builtin/packages/py-cached-property/package.py | 17 |
1 files changed, 17 insertions, 0 deletions
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') |