From cec03c2db4f81392acdb7b5fa25efe140a9e961f Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Sat, 7 Dec 2019 15:38:56 -0600 Subject: [PATCH] Add new py-python-subunit package (#14028) --- .../packages/py-python-subunit/package.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-python-subunit/package.py diff --git a/var/spack/repos/builtin/packages/py-python-subunit/package.py b/var/spack/repos/builtin/packages/py-python-subunit/package.py new file mode 100644 index 00000000000..412e1f8aa20 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-python-subunit/package.py @@ -0,0 +1,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 PyPythonSubunit(PythonPackage): + """Python implementation of subunit test streaming protocol.""" + + homepage = "https://launchpad.net/subunit" + url = "https://pypi.io/packages/source/p/python-subunit/python-subunit-1.3.0.tar.gz" + + version('1.3.0', sha256='9607edbee4c1e5a30ff88549ce8d9feb0b9bcbcb5e55033a9d76e86075465cbb') + + depends_on('py-setuptools', type='build') + depends_on('py-extras', type=('build', 'run')) + depends_on('py-testtools@0.9.34:', type=('build', 'run'))