summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2019-12-07 15:40:08 -0600
committerGitHub <noreply@github.com>2019-12-07 15:40:08 -0600
commit891ccbea3f0e991a240e03652fae9345ceb642a9 (patch)
tree28ad692ba2128f7edd0bec1d51ca661e192ac8dd
parentc1826d9d32168ced025f60d9914ebb6694c335e0 (diff)
downloadspack-891ccbea3f0e991a240e03652fae9345ceb642a9.tar.gz
spack-891ccbea3f0e991a240e03652fae9345ceb642a9.tar.bz2
spack-891ccbea3f0e991a240e03652fae9345ceb642a9.tar.xz
spack-891ccbea3f0e991a240e03652fae9345ceb642a9.zip
Add new py-stestr package (#14029)
-rw-r--r--var/spack/repos/builtin/packages/py-stestr/package.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-stestr/package.py b/var/spack/repos/builtin/packages/py-stestr/package.py
new file mode 100644
index 0000000000..e7c328d6ee
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-stestr/package.py
@@ -0,0 +1,18 @@
+# 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 PyStestr(PythonPackage):
+ """A parallel Python test runner built around subunit."""
+
+ homepage = "https://stestr.readthedocs.io/en/latest/"
+ url = "https://pypi.io/packages/source/s/stestr/stestr-2.5.1.tar.gz"
+
+ version('2.5.1', sha256='151479fdf2db9f5f492b5285f4696f2d38960639054835dbdcd4c0687122c0fd')
+
+ depends_on('python@2.7:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')