diff options
author | Desmond Orton <odesmond21@gmail.com> | 2021-06-02 22:43:20 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-02 21:43:20 -0600 |
commit | 038bd61e14888ec6213b67c17960d0135adc32c1 (patch) | |
tree | de659458b745a3e7c3f8ef7c33a02e5d8a5ba61a /var | |
parent | b4e347d2efe70a8c9200630809a8ea4e89884f6e (diff) | |
download | spack-038bd61e14888ec6213b67c17960d0135adc32c1.tar.gz spack-038bd61e14888ec6213b67c17960d0135adc32c1.tar.bz2 spack-038bd61e14888ec6213b67c17960d0135adc32c1.tar.xz spack-038bd61e14888ec6213b67c17960d0135adc32c1.zip |
New Package:py-responses (#23972)
* New Package:py-responses
* fixed deps
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-responses/package.py | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-responses/package.py b/var/spack/repos/builtin/packages/py-responses/package.py new file mode 100644 index 0000000000..25cb4b337b --- /dev/null +++ b/var/spack/repos/builtin/packages/py-responses/package.py @@ -0,0 +1,25 @@ +# 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 PyResponses(PythonPackage): + """A utility library for mocking out the `requests` Python library.""" + + homepage = "https://github.com/getsentry/responses" + pypi = "responses/responses-0.13.3.tar.gz" + + maintainers = ['dorton21'] + + version('0.13.3', sha256='18a5b88eb24143adbf2b4100f328a2f5bfa72fbdacf12d97d41f07c26c45553d') + + depends_on('python@2.7:2.8,3.5:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-mock', when='^python@:3.2.999', type=('build', 'run')) + depends_on('py-cookies', when='^python@:3.3.999', type=('build', 'run')) + depends_on('py-requests@2.0:', type=('build', 'run')) + depends_on('py-urllib3@1.25.10:', type=('build', 'run')) + depends_on('py-six', type=('build', 'run')) |