summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2019-08-02 20:47:46 -0500
committerGitHub <noreply@github.com>2019-08-02 20:47:46 -0500
commit0de42519cf227d2ad2a2ad2594d86d6e9171abf0 (patch)
tree0f288ee3b410336d7281fafcc7a00a81f5c06bd1 /var
parenteb528f89a7d200978c9da1e9277b1f3d06e37111 (diff)
downloadspack-0de42519cf227d2ad2a2ad2594d86d6e9171abf0.tar.gz
spack-0de42519cf227d2ad2a2ad2594d86d6e9171abf0.tar.bz2
spack-0de42519cf227d2ad2a2ad2594d86d6e9171abf0.tar.xz
spack-0de42519cf227d2ad2a2ad2594d86d6e9171abf0.zip
Add py-cachetools package (#12252)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/tutorial/packages/py-cachetools/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/tutorial/packages/py-cachetools/package.py b/var/spack/repos/tutorial/packages/py-cachetools/package.py
new file mode 100644
index 0000000000..1a2db35d23
--- /dev/null
+++ b/var/spack/repos/tutorial/packages/py-cachetools/package.py
@@ -0,0 +1,19 @@
+# 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 PyCachetools(PythonPackage):
+ """This module provides various memoizing collections and decorators,
+ including variants of the Python 3 Standard Library @lru_cache function
+ decorator."""
+
+ homepage = "https://github.com/tkem/cachetools"
+ url = "https://pypi.io/packages/source/c/cachetools/cachetools-3.1.1.tar.gz"
+
+ version('3.1.1', sha256='8ea2d3ce97850f31e4a08b0e2b5e6c34997d7216a9d2c98e0f3978630d4da69a')
+
+ depends_on('py-setuptools', type='build')