summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-repoze-lru/package.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-repoze-lru/package.py b/var/spack/repos/builtin/packages/py-repoze-lru/package.py
new file mode 100644
index 0000000000..bc28155e96
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-repoze-lru/package.py
@@ -0,0 +1,21 @@
+# 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 PyRepozeLru(PythonPackage):
+ """A tiny LRU cache implementation and decorator"""
+
+ homepage = "https://pypi.org/project/repoze.lru/"
+ url = "https://pypi.io/packages/source/r/repoze.lru/repoze.lru-0.7.tar.gz"
+
+ version('0.7', sha256='0429a75e19380e4ed50c0694e26ac8819b4ea7851ee1fc7583c8572db80aff77')
+
+ variant('docs', default=False, description='Build docs')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
+ depends_on('py-sphinx', type='build', when='+docs')