summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorRyan Marcellino <67644978+myan-rarcellino-nnl@users.noreply.github.com>2022-06-08 14:31:31 -0400
committerGitHub <noreply@github.com>2022-06-08 11:31:31 -0700
commit26e6aae8d471ac10a95b37b36fe355206c07a94b (patch)
tree7a78e060b461d57aaf946a8ff12118046d5f5fe9 /var
parentd6fabd1533e436cebc94a74fd6d6716f152419fb (diff)
downloadspack-26e6aae8d471ac10a95b37b36fe355206c07a94b.tar.gz
spack-26e6aae8d471ac10a95b37b36fe355206c07a94b.tar.bz2
spack-26e6aae8d471ac10a95b37b36fe355206c07a94b.tar.xz
spack-26e6aae8d471ac10a95b37b36fe355206c07a94b.zip
new package: py-pytest-asyncio (#31040)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-pytest-asyncio/package.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pytest-asyncio/package.py b/var/spack/repos/builtin/packages/py-pytest-asyncio/package.py
new file mode 100644
index 0000000000..6a72230569
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pytest-asyncio/package.py
@@ -0,0 +1,27 @@
+# Copyright 2013-2022 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.package import *
+
+
+class PyPytestAsyncio(PythonPackage):
+ """pytest-asyncio is an Apache2 licensed library, written in Python,
+ for testing asyncio code with pytest."""
+
+ homepage = "https://github.com/pytest-dev/pytest-asyncio"
+ pypi = "pytest-asyncio/pytest-asyncio-0.18.3.tar.gz"
+
+ version('0.18.3', sha256='7659bdb0a9eb9c6e3ef992eef11a2b3e69697800ad02fb06374a210d85b29f91')
+ version('0.9.0', sha256='fbd92c067c16111174a1286bfb253660f1e564e5146b39eeed1133315cf2c2cf')
+
+ depends_on('python@3.7:', type=('build', 'run'), when='@0.18.3:')
+ depends_on('python@3.5:', type=('build', 'run'), when='@0.9.0:')
+ depends_on('py-setuptools@51.0:', type='build', when='@0.18.3:')
+ depends_on('py-setuptools', type='build', when='@0.9.0:')
+ depends_on('py-wheel@0.36:', type='build', when='@0.18.3:')
+ depends_on('py-setuptools-scm@6.2:+toml', type='build', when='@0.18.3:')
+ depends_on('py-pytest@6.1.0:', type=('build', 'run'), when='@0.18.3:')
+ depends_on('py-pytest@3.0.6:', type=('build', 'run'), when='@0.9.0:')
+ depends_on('py-typing-extensions@3.7.2:', type=('build', 'run'), when='@0.18.3:^python@:3.7')