Add py-raven package (#13280)
This commit is contained in:
parent
a6bc0c7ee0
commit
1dc99765e9
21
var/spack/repos/builtin/packages/py-raven/package.py
Normal file
21
var/spack/repos/builtin/packages/py-raven/package.py
Normal file
@ -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'))
|
Loading…
Reference in New Issue
Block a user