summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-junit-xml/package.py
blob: f9e4a8d0fa9ca19088489be688df7a27d2a3344d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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 PyJunitXml(PythonPackage):
    """Creates JUnit XML test result documents that can be read by tools
    such as Jenkins"""

    homepage = "https://github.com/kyrus/python-junit-xml"
    url      = "https://pypi.io/packages/source/j/junit-xml/junit-xml-1.7.tar.gz"

    version('1.7', '5e6a96edb8a1592f2832241cfd99983e')

    depends_on('py-setuptools', type='build')
    depends_on('py-six',        type=('build', 'run'))