diff options
author | Jen Herting <jen@herting.cc> | 2022-06-27 22:09:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-27 19:09:18 -0700 |
commit | c5fc16ddd7d6f0aa76da9159d8954eb9ec35ef80 (patch) | |
tree | db81796262ac9f655391c5da6a7fab2f46bb3d60 | |
parent | df44045fdb68e429bd1accdb7e7c9b947521d75c (diff) | |
download | spack-c5fc16ddd7d6f0aa76da9159d8954eb9ec35ef80.tar.gz spack-c5fc16ddd7d6f0aa76da9159d8954eb9ec35ef80.tar.bz2 spack-c5fc16ddd7d6f0aa76da9159d8954eb9ec35ef80.tar.xz spack-c5fc16ddd7d6f0aa76da9159d8954eb9ec35ef80.zip |
New package: py-aiocontextvars (#30815)
* [py-aiocontextvars] New package
* [py-aiocontextvars] Added types
* [py-aiocontextvars]
- removed test dependencies
- flake8
* [py-aiocontextvars] fixed dependency types
* [py-aiocontextvars] spack -> spack.package
* [py-aiocontextvars] depends on setuptools
Co-authored-by: James A Zilberman <jazrc@rit.edu>
-rw-r--r-- | var/spack/repos/builtin/packages/py-aiocontextvars/package.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-aiocontextvars/package.py b/var/spack/repos/builtin/packages/py-aiocontextvars/package.py new file mode 100644 index 0000000000..3b46d494de --- /dev/null +++ b/var/spack/repos/builtin/packages/py-aiocontextvars/package.py @@ -0,0 +1,21 @@ +# 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 PyAiocontextvars(PythonPackage): + """This library experimentally provides the missing asyncio support for + the contextvars backport library.""" + + homepage = "https://github.com/fantix/aiocontextvars" + pypi = "aiocontextvars/aiocontextvars-0.2.2.tar.gz" + + version('0.2.2', sha256='f027372dc48641f683c559f247bd84962becaacdc9ba711d583c3871fb5652aa') + + depends_on('python@3.5:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-contextvars@2.4', when='^python@:3.6', type=('build', 'run')) + depends_on('py-pytest-runner', type='build') |