diff options
author | Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> | 2021-07-21 03:34:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-20 20:34:25 -0500 |
commit | 3be54d4aabbe8d5b1ad5f3a57bcc876c8b35f5d9 (patch) | |
tree | 84c056e0d8b6305203e9e1e8370e27c3a11d44e3 | |
parent | 93b694f97386dd36f36b0a37c3d40bbeebf395b6 (diff) | |
download | spack-3be54d4aabbe8d5b1ad5f3a57bcc876c8b35f5d9.tar.gz spack-3be54d4aabbe8d5b1ad5f3a57bcc876c8b35f5d9.tar.bz2 spack-3be54d4aabbe8d5b1ad5f3a57bcc876c8b35f5d9.tar.xz spack-3be54d4aabbe8d5b1ad5f3a57bcc876c8b35f5d9.zip |
py-vcrpy: add new package (#24978)
-rw-r--r-- | var/spack/repos/builtin/packages/py-vcrpy/package.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-vcrpy/package.py b/var/spack/repos/builtin/packages/py-vcrpy/package.py new file mode 100644 index 0000000000..120e9b8767 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-vcrpy/package.py @@ -0,0 +1,23 @@ +# 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 PyVcrpy(PythonPackage): + """Automatically mock your HTTP interactions to simplify and speed up testing.""" + + homepage = "https://github.com/kevin1024/vcrpy" + pypi = "vcrpy/vcrpy-4.1.1.tar.gz" + + version('4.1.1', sha256='57095bf22fc0a2d99ee9674cdafebed0f3ba763018582450706f7d3a74fff599') + + depends_on('python@3.5:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-pyyaml', type=('build', 'run')) + depends_on('py-wrapt', type=('build', 'run')) + depends_on('py-six@1.5:', type=('build', 'run')) + depends_on('py-yarl', when='^python@3.6:', type=('build', 'run')) + depends_on('py-yarl@:1.3', when='^python@3.5', type=('build', 'run')) |