summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2019-10-20 11:09:44 -0500
committerGitHub <noreply@github.com>2019-10-20 11:09:44 -0500
commit1dc99765e94a7f148af7c45d290e381f0ed3d458 (patch)
tree32fea4fa3c8b10397a646f104e61e77dd2112116 /var
parenta6bc0c7ee0575287fb2fd2da6546b3741b5814d8 (diff)
downloadspack-1dc99765e94a7f148af7c45d290e381f0ed3d458.tar.gz
spack-1dc99765e94a7f148af7c45d290e381f0ed3d458.tar.bz2
spack-1dc99765e94a7f148af7c45d290e381f0ed3d458.tar.xz
spack-1dc99765e94a7f148af7c45d290e381f0ed3d458.zip
Add py-raven package (#13280)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-raven/package.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-raven/package.py b/var/spack/repos/builtin/packages/py-raven/package.py
new file mode 100644
index 0000000000..9236d7a5f8
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-raven/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 PyRaven(PythonPackage):
+ """Raven is a client for Sentry."""
+
+ homepage = "https://github.com/getsentry/raven-python"
+ url = "https://pypi.io/packages/source/r/raven/raven-6.10.0.tar.gz"
+
+ version('6.10.0', sha256='3fa6de6efa2493a7c827472e984ce9b020797d0da16f1db67197bcc23c8fae54')
+
+ variant('flask', default=False, description='Build flask backend')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-flask@0.8:', when='+flask', type=('build', 'run'))
+ depends_on('py-blinker@1.1:', when='+flask', type=('build', 'run'))