blob: c6e7f3a21f38ed59f2d4fe864153f475b606a403 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# Copyright 2013-2020 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 PyXmlrunner(PythonPackage):
"""PyUnit-based test runner with JUnit like XML reporting."""
homepage = "https://github.com/pycontribs/xmlrunner"
url = "https://pypi.io/packages/source/x/xmlrunner/xmlrunner-1.7.7.tar.gz"
version('1.7.7', sha256='5a6113d049eca7646111ee657266966e5bbfb0b5ceb2e83ee0772e16d7110f39')
depends_on('py-setuptools', type='build')
depends_on('py-unittest2', type=('build', 'run'), when='^python@:2.8')
|