summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSinan <sbulutw@gmail.com>2019-08-27 18:18:14 -0700
committerPeter Scheibel <scheibel1@llnl.gov>2019-08-27 18:18:14 -0700
commit1ccd7e5a89809bff48d57b709bf94388a811b479 (patch)
treef093428798c49b523e615ce77990bf0051165af2
parent56fd9bc7b68e7ad224d1b0006bcbe8a3705be082 (diff)
downloadspack-1ccd7e5a89809bff48d57b709bf94388a811b479.tar.gz
spack-1ccd7e5a89809bff48d57b709bf94388a811b479.tar.bz2
spack-1ccd7e5a89809bff48d57b709bf94388a811b479.tar.xz
spack-1ccd7e5a89809bff48d57b709bf94388a811b479.zip
New package: py-nose2 (#12522)
-rw-r--r--var/spack/repos/builtin/packages/py-nose2/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-nose2/package.py b/var/spack/repos/builtin/packages/py-nose2/package.py
new file mode 100644
index 0000000000..880d1fe42f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-nose2/package.py
@@ -0,0 +1,22 @@
+# 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 PyNose2(PythonPackage):
+ """unittest2 with plugins, the succesor to nose"""
+
+ homepage = "https://github.com/nose-devs/nose2"
+ url = "https://pypi.io/packages/source/n/nose2/nose2-0.9.1.tar.gz"
+
+ version('0.9.1', sha256='0ede156fd7974fa40893edeca0b709f402c0ccacd7b81b22e76f73c116d1b999')
+ version('0.6.0', sha256='daa633e92a52e0db60ade7e105a2ba5cad7ac819f3608740dcfc6140b9fd0a94')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-six@1.7:', type=('build', 'run'))
+ depends_on('py-cov-core@1.12:', type=('build', 'run'), when='@0.6.0:0.6.5')
+ depends_on('py-coverage@4.4.1:', type=('build', 'run'), when='@0.7.0:')
+ depends_on('py-mock@2.0.0:', type=('build', 'run'), when='^python@2.7:3.5.99')