diff options
author | Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> | 2021-07-21 03:37:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-20 20:37:09 -0500 |
commit | c543b86e81d3a6072cb4c6188d6b083e9342d758 (patch) | |
tree | 3201dafa5942fde83869fab8d71617f524c956ca | |
parent | 3be54d4aabbe8d5b1ad5f3a57bcc876c8b35f5d9 (diff) | |
download | spack-c543b86e81d3a6072cb4c6188d6b083e9342d758.tar.gz spack-c543b86e81d3a6072cb4c6188d6b083e9342d758.tar.bz2 spack-c543b86e81d3a6072cb4c6188d6b083e9342d758.tar.xz spack-c543b86e81d3a6072cb4c6188d6b083e9342d758.zip |
py-httpretty: add new package (#24977)
-rw-r--r-- | var/spack/repos/builtin/packages/py-httpretty/package.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-httpretty/package.py b/var/spack/repos/builtin/packages/py-httpretty/package.py new file mode 100644 index 0000000000..03980d7b23 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-httpretty/package.py @@ -0,0 +1,18 @@ +# 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 PyHttpretty(PythonPackage): + """HTTP client mock for Python.""" + + homepage = "https://httpretty.readthedocs.io/en/latest/" + pypi = "httpretty/httpretty-1.1.3.tar.gz" + + version('1.1.3', sha256='229ade39175ea4324e767f29dc24e5f846fbc72bf80e1a919b2547a6574ff601') + + depends_on('python@3:', type=('build', 'run')) + depends_on('py-setuptools', type='build') |