summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSinan <sbulutw@gmail.com>2019-08-23 15:54:50 -0700
committerPeter Scheibel <scheibel1@llnl.gov>2019-08-23 15:54:50 -0700
commitc7c8f60617ad35a9848568690067c34c9b1ed630 (patch)
tree863e2b5b0324a8cc78b59a2bbbf6707ac423e0b2
parent15c64d93b75928f93fa392773a94ba44de6b94ed (diff)
downloadspack-c7c8f60617ad35a9848568690067c34c9b1ed630.tar.gz
spack-c7c8f60617ad35a9848568690067c34c9b1ed630.tar.bz2
spack-c7c8f60617ad35a9848568690067c34c9b1ed630.tar.xz
spack-c7c8f60617ad35a9848568690067c34c9b1ed630.zip
New package: py-fastcache (#12451)
-rw-r--r--var/spack/repos/builtin/packages/py-fastcache/package.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-fastcache/package.py b/var/spack/repos/builtin/packages/py-fastcache/package.py
new file mode 100644
index 0000000000..95883a4044
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-fastcache/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 PyFastcache(PythonPackage):
+ """C implementation of Python 3 functools.lru_cache"""
+
+ homepage = "https://github.com/pbrady/fastcache"
+ url = "https://pypi.io/packages/source/f/fastcache/fastcache-1.1.0.tar.gz"
+
+ version('1.1.0', sha256='6de1b16e70335b7bde266707eb401a3aaec220fb66c5d13b02abf0eab8be782b')
+
+ depends_on('py-setuptools', type='build')