From 4d7226e56128637041bcd35e27b147d6559c59be Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Sun, 20 Oct 2019 11:18:04 -0500 Subject: Add latest version of py-pytest-httpbin (#13301) --- .../repos/builtin/packages/py-pytest-httpbin/package.py | 13 ++++++++----- 1 file 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') -- cgit v1.2.3-70-g09d2