diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-coverage/package.py | 3 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/py-pytest-cov/package.py | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-coverage/package.py b/var/spack/repos/builtin/packages/py-coverage/package.py index ac62512a3d..174edfe61a 100644 --- a/var/spack/repos/builtin/packages/py-coverage/package.py +++ b/var/spack/repos/builtin/packages/py-coverage/package.py @@ -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') diff --git a/var/spack/repos/builtin/packages/py-pytest-cov/package.py b/var/spack/repos/builtin/packages/py-pytest-cov/package.py index d0cd2f2fe3..b6bdbf8d8f 100644 --- a/var/spack/repos/builtin/packages/py-pytest-cov/package.py +++ b/var/spack/repos/builtin/packages/py-pytest-cov/package.py @@ -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:') |