summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorbryanherman <63422190+bryanherman@users.noreply.github.com>2021-01-28 11:59:35 -0500
committerGitHub <noreply@github.com>2021-01-28 10:59:35 -0600
commitff0a92e6a806de844489e3dbe618f70980713d4d (patch)
tree310e97ffca950249b4c9468ace1c7aeeab796589 /var
parentbf33fe48050bb3d5b0b4f25f034d013320e0db24 (diff)
downloadspack-ff0a92e6a806de844489e3dbe618f70980713d4d.tar.gz
spack-ff0a92e6a806de844489e3dbe618f70980713d4d.tar.bz2
spack-ff0a92e6a806de844489e3dbe618f70980713d4d.tar.xz
spack-ff0a92e6a806de844489e3dbe618f70980713d4d.zip
New package: py-pytest-openfiles (#21339)
* added package py-pytest-openfiles * remove wheel dep
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-pytest-openfiles/package.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pytest-openfiles/package.py b/var/spack/repos/builtin/packages/py-pytest-openfiles/package.py
new file mode 100644
index 0000000000..4707c3cd1a
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pytest-openfiles/package.py
@@ -0,0 +1,24 @@
+# Copyright 2013-2021 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 PyPytestOpenfiles(PythonPackage):
+ """A plugin for the pytest framework that allows developers to detect
+ whether any file handles or other file-like objects were inadvertently
+ left open at the end of a unit test"""
+
+ homepage = "https://github.com/astropy/pytest-openfiles"
+ pypi = "pytest-openfiles/pytest-openfiles-0.5.0.tar.gz"
+
+ version('0.5.0', sha256='179c2911d8aee3441fee051aba08e0d9b4dab61b829ae4811906d5c49a3b0a58')
+
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-setuptools@30.3.1:', type='build')
+ depends_on('py-setuptools-scm', type='build')
+ depends_on('py-pytest@4.6:', type=('build', 'run'))
+ depends_on('py-psutil', type=('build', 'run'))