2021-01-02 15:10:28 +08:00
|
|
|
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
|
2019-10-23 22:36:45 +08:00
|
|
|
# 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"
|
2020-12-30 08:44:04 +08:00
|
|
|
pypi = "codecov/codecov-2.0.15.tar.gz"
|
2019-10-23 22:36:45 +08:00
|
|
|
|
|
|
|
version('2.0.15', sha256='8ed8b7c6791010d359baed66f84f061bba5bd41174bf324c31311e8737602788')
|
|
|
|
|
2020-09-15 14:30:59 +08:00
|
|
|
depends_on('py-setuptools', type=('build', 'run'))
|
2019-10-23 22:36:45 +08:00
|
|
|
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'))
|