summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2019-10-23 09:36:45 -0500
committerGitHub <noreply@github.com>2019-10-23 09:36:45 -0500
commit79c28331d2fe61569b73b60464671a94bdb415cc (patch)
tree1550f3214bbbaea41fca9195073b2212c6a12d4c /var
parent6f41987500cf9bd4b9b28dd1f282326d0a3d7323 (diff)
downloadspack-79c28331d2fe61569b73b60464671a94bdb415cc.tar.gz
spack-79c28331d2fe61569b73b60464671a94bdb415cc.tar.bz2
spack-79c28331d2fe61569b73b60464671a94bdb415cc.tar.xz
spack-79c28331d2fe61569b73b60464671a94bdb415cc.zip
Add py-codecov package (#13383)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-codecov/package.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-codecov/package.py b/var/spack/repos/builtin/packages/py-codecov/package.py
new file mode 100644
index 0000000000..0415ceccae
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-codecov/package.py
@@ -0,0 +1,24 @@
+# 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 PyCodecov(PythonPackage):
+ """Hosted coverage reports for Github, Bitbucket and Gitlab."""
+
+ homepage = "https://github.com/codecov/codecov-python"
+ url = "https://pypi.io/packages/source/c/codecov/codecov-2.0.15.tar.gz"
+
+ import_modules = ['codecov']
+
+ version('2.0.15', sha256='8ed8b7c6791010d359baed66f84f061bba5bd41174bf324c31311e8737602788')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-requests@2.7.9:', type=('build', 'run'))
+ depends_on('py-coverage', type=('build', 'run'))
+ depends_on('py-argparse', when='^python@:2.6', type=('build', 'run'))
+ depends_on('py-unittest2', type='test')
+ depends_on('py-linecache2', type='test')