summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorDesmond Orton <odesmond21@gmail.com>2021-03-30 13:21:47 -0600
committerGitHub <noreply@github.com>2021-03-30 19:21:47 +0000
commit2e6cdd3ec1175c383554ef809737d594d84da290 (patch)
treed4fee6cd442f580be292a277b3877cce6f8a53c8 /var
parent1db6cd5d16a084bffbc319467d70942d0307cc9f (diff)
downloadspack-2e6cdd3ec1175c383554ef809737d594d84da290.tar.gz
spack-2e6cdd3ec1175c383554ef809737d594d84da290.tar.bz2
spack-2e6cdd3ec1175c383554ef809737d594d84da290.tar.xz
spack-2e6cdd3ec1175c383554ef809737d594d84da290.zip
New package py-iocapture (#22550)
* New package py-iocapture * Added the proper deps * Changed setuptools type
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-iocapture/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-iocapture/package.py b/var/spack/repos/builtin/packages/py-iocapture/package.py
new file mode 100644
index 0000000000..59e7ac23f7
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-iocapture/package.py
@@ -0,0 +1,20 @@
+# 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 PyIocapture(PythonPackage):
+ """Capture stdout, stderr easily."""
+
+ homepage = "https://github.com/oinume/iocapture"
+ pypi = "iocapture/iocapture-0.1.2.tar.gz"
+
+ maintainers = ['dorton21']
+
+ version('0.1.2', sha256='86670e1808bcdcd4f70112f43da72ae766f04cd8311d1071ce6e0e0a72e37ee8')
+
+ depends_on('python@2.4:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')