summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2019-10-20 11:18:04 -0500
committerGitHub <noreply@github.com>2019-10-20 11:18:04 -0500
commit4d7226e56128637041bcd35e27b147d6559c59be (patch)
treee6b64333aeefb50834dae53a7cf5f455a3f52d8e
parent63dd97f84ecb7a84c54575e4a67125d7aa5e9139 (diff)
downloadspack-4d7226e56128637041bcd35e27b147d6559c59be.tar.gz
spack-4d7226e56128637041bcd35e27b147d6559c59be.tar.bz2
spack-4d7226e56128637041bcd35e27b147d6559c59be.tar.xz
spack-4d7226e56128637041bcd35e27b147d6559c59be.zip
Add latest version of py-pytest-httpbin (#13301)
-rw-r--r--var/spack/repos/builtin/packages/py-pytest-httpbin/package.py13
1 files changed, 8 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/py-pytest-httpbin/package.py b/var/spack/repos/builtin/packages/py-pytest-httpbin/package.py
index 02fdaeddd3..8d5cf50250 100644
--- a/var/spack/repos/builtin/packages/py-pytest-httpbin/package.py
+++ b/var/spack/repos/builtin/packages/py-pytest-httpbin/package.py
@@ -10,14 +10,17 @@ class PyPytestHttpbin(PythonPackage):
"""Easily test your HTTP library against a local copy of httpbin"""
homepage = "https://github.com/kevin1024/pytest-httpbin"
- url = "https://pypi.io/packages/source/p/pytest-httpbin/pytest-httpbin-0.2.3.tar.gz"
+ url = "https://pypi.io/packages/source/p/pytest-httpbin/pytest-httpbin-1.0.0.tar.gz"
+ version('1.0.0', sha256='d8ce547f42423026550ed7765f6c6d50c033b43025e8592270a7abf970e19b72')
version('0.2.3', sha256='c5b698dfa474ffc9caebcb35e34346b753eb226aea5c2e1b69fefedbcf161bf8')
+ version('0.0.7', sha256='03af8a7055c8bbcb68b14d9a14c103c82c97aeb86a8f1b29cd63d83644c2f021')
extends('python', ignore=r'bin/flask')
depends_on('py-setuptools', type='build')
- depends_on('py-flask', type=('build', 'run'))
- depends_on('py-decorator', type=('build', 'run'))
- depends_on('py-httpbin', type=('build', 'run'))
- depends_on('py-six', type=('build', 'run'))
+ depends_on('py-flask', when='@:0.2', type=('build', 'run'))
+ depends_on('py-decorator', when='@:0.2', type=('build', 'run'))
+ depends_on('py-httpbin', type=('build', 'run'))
+ depends_on('py-six', type=('build', 'run'))
+ depends_on('py-pytest', type='test')