New version: py-pytest-cov 3.0.0; add 'toml' variant to py-coverage (#27478)

* New version: py-pytest-cov 3.0.0; add 'toml' variant to py-coverage

* Update package.py
This commit is contained in:
iarspider 2021-11-17 01:16:59 +01:00 committed by GitHub
parent 85a98fc758
commit b4ac385d70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -20,6 +20,9 @@ class PyCoverage(PythonPackage):
version('4.3.4', sha256='eaaefe0f6aa33de5a65f48dd0040d7fe08cac9ac6c35a56d0a7db109c3e733df')
version('4.0a6', sha256='85c7f3efceb3724ab066a3fcccc05b9b89afcaefa5b669a7e2222d31eac4728d')
variant('toml', default=False, description='Enable pyproject.toml support')
depends_on('python@2.6:2.8,3.3:', type=('build', 'run'))
depends_on('python@2.7:2.8,3.5:', type=('build', 'run'), when="@5.0.0:")
depends_on('py-setuptools', type=('build', 'run'))
depends_on('py-toml', type=('build', 'run'), when='+toml')

View File

@ -12,12 +12,16 @@ class PyPytestCov(PythonPackage):
homepage = "https://github.com/pytest-dev/pytest-cov"
pypi = "pytest-cov/pytest-cov-2.8.1.tar.gz"
version('3.0.0', sha256='e7f0f5b1617d2210a2cabc266dfe2f4c75a8d32fb89eafb7ad9d06f6d076d470')
version('2.8.1', sha256='cc6742d8bac45070217169f5f72ceee1e0e55b0221f54bcf24845972d3a47f2b')
version('2.3.1', sha256='fa0a212283cdf52e2eecc24dd6459bb7687cc29adb60cb84258fab73be8dda0f')
extends('python', ignore=r'bin/*')
depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
depends_on('python@3.6:', type=('build', 'run'), when='@3.0.0:')
depends_on('py-setuptools', type='build')
depends_on('py-pytest@3.6:', type=('build', 'run'))
depends_on('py-pytest@4.6:', type=('build', 'run'), when='@3.0.0:')
depends_on('py-coverage@4.4:', type=('build', 'run'))
depends_on('py-coverage@5.2.1: +toml', type=('build', 'run'), when='@3.0.0:')