Add new py-requests-mock package (#14043)
This commit is contained in:
parent
99d2bcf64e
commit
aca67581e8
1 changed files with 19 additions and 0 deletions
19
var/spack/repos/builtin/packages/py-requests-mock/package.py
Normal file
19
var/spack/repos/builtin/packages/py-requests-mock/package.py
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# Copyright 2013-2019 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 PyRequestsMock(PythonPackage):
|
||||||
|
"""Mock out responses from the requests package."""
|
||||||
|
|
||||||
|
homepage = "https://requests-mock.readthedocs.io/"
|
||||||
|
url = "https://pypi.io/packages/source/r/requests-mock/requests-mock-1.7.0.tar.gz"
|
||||||
|
|
||||||
|
import_modules = ['requests_mock']
|
||||||
|
|
||||||
|
version('1.7.0', sha256='88d3402dd8b3c69a9e4f9d3a73ad11b15920c6efd36bc27bf1f701cf4a8e4646')
|
||||||
|
|
||||||
|
depends_on('py-setuptools', type='build')
|
Loading…
Reference in a new issue